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

Inheritance: Channel, IDisposable
Afficher le fichier Open project: yodiwo/plegma

Méthodes publiques

Свойство Type Description
LocalHost string
LocalPort string
RemoteHost string
RemotePort string

Protected Properties

Свойство Type Description
_sock Windows.Networking.Sockets.StreamSocket
netstream Stream
streamIn StatisticsStream
streamOut StatisticsStream

Méthodes publiques

Méthode Description
CommonSocketChannel ( Protocol Protocols, ChannelRole ChannelRole, ChannelSerializationMode SupportedChannelSerializationModes, ChannelSerializationMode PreferredChannelSerializationModes ) : System
Dispose ( ) : void

Méthodes protégées

Méthode Description
SetupStream ( ) : void
SetupStream ( Stream baseStream ) : void
_flush ( int Timeout ) : void
_readPackedMessage ( ) : YPMessagePacked
_sendPackedMessage ( YPMessagePacked msg ) : bool
onClose ( string Message ) : void

Private Methods

Méthode Description
_reader ( byte buffer, int offset, int count ) : bool

Method Details

CommonSocketChannel() public méthode

public CommonSocketChannel ( Protocol Protocols, ChannelRole ChannelRole, ChannelSerializationMode SupportedChannelSerializationModes, ChannelSerializationMode PreferredChannelSerializationModes ) : System
Protocols Protocol
ChannelRole ChannelRole
SupportedChannelSerializationModes ChannelSerializationMode
PreferredChannelSerializationModes ChannelSerializationMode
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

SetupStream() protected méthode

protected SetupStream ( ) : void
Résultat void

SetupStream() protected méthode

protected SetupStream ( Stream baseStream ) : void
baseStream Stream
Résultat void

_flush() protected méthode

protected _flush ( int Timeout ) : void
Timeout int
Résultat void

_readPackedMessage() protected méthode

protected _readPackedMessage ( ) : YPMessagePacked
Résultat YPMessagePacked

_sendPackedMessage() protected méthode

protected _sendPackedMessage ( YPMessagePacked msg ) : bool
msg YPMessagePacked
Résultat bool

onClose() protected méthode

protected onClose ( string Message ) : void
Message string
Résultat void

Property Details

LocalHost public_oe property

public string LocalHost
Résultat string

LocalPort public_oe property

public string LocalPort
Résultat string

RemoteHost public_oe property

public string RemoteHost
Résultat string

RemotePort public_oe property

public string RemotePort
Résultat string

_sock protected_oe property

protected StreamSocket,Windows.Networking.Sockets _sock
Résultat Windows.Networking.Sockets.StreamSocket

netstream protected_oe property

protected Stream netstream
Résultat Stream

streamIn protected_oe property

protected StatisticsStream streamIn
Résultat StatisticsStream

streamOut protected_oe property

protected StatisticsStream streamOut
Résultat StatisticsStream