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

Inheritance: ChannelBase
Show file Open project: SaladLab/Akka.Interfaced.SlimSocket Class Usage Examples

Public Methods

Method Description
Close ( ) : void
ConnectAsync ( ) : Task
TcpChannel ( ILog logger, IPEndPoint remoteEndPoint, string token, IPacketSerializer packetSerializer ) : System

Protected Methods

Method Description
SendRequestPacket ( Packet packet ) : void

Private Methods

Method Description
OnClose ( object sender, int reason ) : void
OnConnect ( object sender ) : void
OnReceive ( object sender, object packet ) : void
SetConnected ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

ConnectAsync() public method

public ConnectAsync ( ) : Task
return Task

SendRequestPacket() protected method

protected SendRequestPacket ( Packet packet ) : void
packet Packet
return void

TcpChannel() public method

public TcpChannel ( ILog logger, IPEndPoint remoteEndPoint, string token, IPacketSerializer packetSerializer ) : System
logger ILog
remoteEndPoint System.Net.IPEndPoint
token string
packetSerializer IPacketSerializer
return System