Connection AppendIncomingPacketHandler incomingObjectType  Method (String, NetworkComms PacketHandlerCallBackDelegate incomingObjectType , SendReceiveOptions)NetworkComms.Net Help
Append a connection specific packet handler

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

public void AppendIncomingPacketHandler<incomingObjectType>(
	string packetTypeStr,
	NetworkComms..::..PacketHandlerCallBackDelegate<incomingObjectType> packetHandlerDelgatePointer,
	SendReceiveOptions options
)

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
options
Type: NetworkCommsDotNet SendReceiveOptions
The SendReceiveOptions to be used for the provided packet type
Type Parameters

incomingObjectType
The type of incoming object
See Also