C# Class wServer.NetworkHandler

Exibir arquivo Open project: C453/OryxKingdom Class Usage Examples

Public Methods

Method Description
BeginHandling ( ) : void
NetworkHandler ( ClientProcessor parent, Socket skt ) : System
SendPacket ( wServer.Packet pkt ) : void
SendPackets ( IEnumerable pkts ) : void

Private Methods

Method Description
CanSendPacket ( SocketAsyncEventArgs e, bool ignoreSending ) : bool
IOCompleted ( object sender, SocketAsyncEventArgs e ) : void
OnError ( Exception ex ) : void
OnPacketReceived ( wServer.Packet pkt ) : bool
ProcessPolicyFile ( ) : void

Method Details

BeginHandling() public method

public BeginHandling ( ) : void
return void

NetworkHandler() public method

public NetworkHandler ( ClientProcessor parent, Socket skt ) : System
parent ClientProcessor
skt Socket
return System

SendPacket() public method

public SendPacket ( wServer.Packet pkt ) : void
pkt wServer.Packet
return void

SendPackets() public method

public SendPackets ( IEnumerable pkts ) : void
pkts IEnumerable
return void