C# Class wServer.NetworkHandler

Afficher le fichier Open project: C453/OryxKingdom Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public BeginHandling ( ) : void
Résultat void

NetworkHandler() public méthode

public NetworkHandler ( ClientProcessor parent, Socket skt ) : System
parent ClientProcessor
skt Socket
Résultat System

SendPacket() public méthode

public SendPacket ( wServer.Packet pkt ) : void
pkt wServer.Packet
Résultat void

SendPackets() public méthode

public SendPackets ( IEnumerable pkts ) : void
pkts IEnumerable
Résultat void