프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Client |
메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | System |
public RegisterEvent ( PacketType packetType, |
||
packetType | PacketType | Packet type to register the handler for |
eventHandler | Callback to be fired | |
리턴 | void |
public UnregisterEvent ( PacketType packetType, |
||
packetType | PacketType | Packet type to unregister the handler for |
eventHandler | Callback to be unregistered | |
리턴 | void |