Delegate ConnectionPacketReadyDelegate
Represents a delegate to call when a packet is ready to be processed.
Namespace: Fibula.Communications.Contracts.Delegates
Assembly: Fibula.Communications.Contracts.dll
Syntax
public delegate IEnumerable<IOutboundPacket> ConnectionPacketReadyDelegate(IConnection connection, IIncomingPacket packet);
Parameters
| Type | Name | Description |
|---|---|---|
| IConnection | connection | The connection from which the packet is was read. |
| IIncomingPacket | packet | The packet ready to be processed. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<IOutboundPacket> | A collection of IOutboundPacket to respond with as a result of processing the IIncomingPacket. |