Свойство | Type | Description | |
---|---|---|---|
Client |
Méthode | Description | |
---|---|---|
PacketEventDictionary ( |
Default constructor
|
|
RegisterEvent ( PacketType packetType, |
Register an event handler Use PacketType.Default to fire this event on every incoming packet |
|
UnregisterEvent ( PacketType packetType, |
Unregister an event handler
|
Méthode | Description | |
---|---|---|
BeginRaiseEvent ( PacketType packetType, |
Fire the events registered for this packet type asynchronously
|
|
RaiseEvent ( PacketType packetType, |
Fire the events registered for this packet type synchronously
|
|
ThreadPoolDelegate ( Object state ) : void |
public PacketEventDictionary ( |
||
client | ||
Résultat | System |
public RegisterEvent ( PacketType packetType, |
||
packetType | PacketType | Packet type to register the handler for |
eventHandler | Callback to be fired | |
Résultat | void |
public UnregisterEvent ( PacketType packetType, |
||
packetType | PacketType | Packet type to unregister the handler for |
eventHandler | Callback to be unregistered | |
Résultat | void |