C# Class Akka.Interfaced.SlimSocket.Server.TcpConnection

Inheritance: IDisposable
显示文件 Open project: SaladLab/Akka.Interfaced.SlimSocket Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
FlushAndClose ( ) : void
Open ( ) : void
Send ( object packet ) : void
TcpConnection ( ILog logger, Socket socket ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
HandleSerializeError ( SerializeError error ) : void
HandleSocketError ( SocketError error ) : void
IssueReceive ( ) : void
IssueSend ( ) : void
OnReceiveComplete ( object sender, SocketAsyncEventArgs args ) : void
OnSendComplete ( object sender, SocketAsyncEventArgs args ) : void
ProcessClose ( ) : void
ProcessOpen ( ) : void
StartSend ( object packet ) : void
TryDeserializeLargePacket ( int len ) : bool
TryDeserializeNormalPacket ( int len ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FlushAndClose() public method

public FlushAndClose ( ) : void
return void

Open() public method

public Open ( ) : void
return void

Send() public method

public Send ( object packet ) : void
packet object
return void

TcpConnection() public method

public TcpConnection ( ILog logger, Socket socket ) : System
logger ILog
socket Socket
return System