NetworkComms AppendGlobalIncomingPacketHandler incomingObjectType  Method (String, NetworkComms PacketHandlerCallBackDelegate incomingObjectType )NetworkComms.Net Help
Add an incoming packet handler using default SendReceiveOptions. Multiple handlers for the same packet type will be executed in the order they are added.

Namespace: NetworkCommsDotNet
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public static void AppendGlobalIncomingPacketHandler<incomingObjectType>(
	string packetTypeStr,
	NetworkComms..::..PacketHandlerCallBackDelegate<incomingObjectType> packetHandlerDelgatePointer
)

Parameters

packetTypeStr
Type: OnlineSystem String
The packet type for which this handler will be executed
packetHandlerDelgatePointer
Type: NetworkCommsDotNet NetworkComms PacketHandlerCallBackDelegate incomingObjectType 
The delegate to be executed when a packet of packetTypeStr is received
Type Parameters

incomingObjectType
The type of incoming object
See Also