C# Class Yodiwo.YPChannel.Transport.Sockets.ServerChannel

Inheritance: CommonSocketChannel
Show file Open project: yodiwo/plegma Class Usage Examples

Public Properties

Property Type Description
Server Server

Public Methods

Method Description
ServerChannel ( Server Server, Protocol Protocols, ChannelSerializationMode SupportedChannelSerializationModes, ChannelSerializationMode PreferredChannelSerializationModes, StreamSocket _sock ) : System
SetupServerSocket ( ) : bool

Protected Methods

Method Description
onClose ( string Message ) : void

Private Methods

Method Description
_choosePacker ( ChannelSerializationMode modes ) : ChannelSerializationMode

Method Details

ServerChannel() public method

public ServerChannel ( Server Server, Protocol Protocols, ChannelSerializationMode SupportedChannelSerializationModes, ChannelSerializationMode PreferredChannelSerializationModes, StreamSocket _sock ) : System
Server Server
Protocols Protocol
SupportedChannelSerializationModes ChannelSerializationMode
PreferredChannelSerializationModes ChannelSerializationMode
_sock Windows.Networking.Sockets.StreamSocket
return System

SetupServerSocket() public method

public SetupServerSocket ( ) : bool
return bool

onClose() protected method

protected onClose ( string Message ) : void
Message string
return void

Property Details

Server public property

public Server Server
return Server