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

Inheritance: ChannelBase
Exibir arquivo Open project: SaladLab/Akka.Interfaced.SlimSocket Class Usage Examples

Public Methods

Method Description
Close ( ) : void
ConnectAsync ( ) : Task
UdpChannel ( ILog logger, IPEndPoint remoteEndPoint, string token, IPacketSerializer packetSerializer, Lidgren.Network.NetPeerConfiguration netConfig ) : System

Protected Methods

Method Description
SendRequestPacket ( Packet packet ) : void

Private Methods

Method Description
ClientThreadWork ( ) : void
OnClose ( string reason ) : void
OnConnect ( ) : void
OnReceive ( object packet ) : void
SendPacket ( Packet 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

UdpChannel() public method

public UdpChannel ( ILog logger, IPEndPoint remoteEndPoint, string token, IPacketSerializer packetSerializer, Lidgren.Network.NetPeerConfiguration netConfig ) : System
logger ILog
remoteEndPoint System.Net.IPEndPoint
token string
packetSerializer IPacketSerializer
netConfig Lidgren.Network.NetPeerConfiguration
return System