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

Datei anzeigen Open project: SaladLab/Akka.Interfaced.SlimSocket Class Usage Examples

Public Methods

Method Description
Close ( int reason ) : void
CloseSend ( ) : void
Connect ( IPEndPoint remoteEp ) : void
SendPacket ( object packet ) : bool
TcpConnection ( IPacketSerializer serializer, ILog logger ) : System

Private Methods

Method Description
ConnectCallback ( IAsyncResult ar ) : void
ProcessRecv ( ) : void
ProcessRecvCallback ( IAsyncResult ar ) : void
ProcessSend ( ) : void
ProcessSendCallback ( IAsyncResult ar ) : void
StartCommunication ( ) : void

Method Details

Close() public method

public Close ( int reason ) : void
reason int
return void

CloseSend() public method

public CloseSend ( ) : void
return void

Connect() public method

public Connect ( IPEndPoint remoteEp ) : void
remoteEp System.Net.IPEndPoint
return void

SendPacket() public method

public SendPacket ( object packet ) : bool
packet object
return bool

TcpConnection() public method

public TcpConnection ( IPacketSerializer serializer, ILog logger ) : System
serializer IPacketSerializer
logger ILog
return System