Method | Description | |
---|---|---|
Close ( ) : void | ||
ConnectAsync ( ) : Task |
||
TcpChannel ( ILog logger, |
Method | Description | |
---|---|---|
SendRequestPacket ( Packet packet ) : void |
Method | Description | |
---|---|---|
OnClose ( object sender, int reason ) : void | ||
OnConnect ( object sender ) : void | ||
OnReceive ( object sender, object packet ) : void | ||
SetConnected ( ) : void |
protected SendRequestPacket ( Packet packet ) : void | ||
packet | Packet | |
return | void |
public TcpChannel ( ILog logger, |
||
logger | ILog | |
remoteEndPoint | ||
token | string | |
packetSerializer | IPacketSerializer | |
return | System |