NetworkComms PacketHandlerCallBackDelegate incomingObjectType  DelegateNetworkComms.Net Help
Delegate for handling incoming packets. See AppendGlobalIncomingPacketHandler members.

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

public delegate void PacketHandlerCallBackDelegate<incomingObjectType>(
	PacketHeader packetHeader,
	Connection connection,
	incomingObjectType incomingObject
)

Parameters

packetHeader
Type: NetworkCommsDotNet PacketHeader
The PacketHeader of the incoming packet
connection
Type: NetworkCommsDotNet.Connections Connection
The connection with which this packet was received
incomingObject
Type: incomingObjectType
The incoming object of specified type T
Type Parameters

incomingObjectType
The type of object which is expected for this handler
See Also