DispatchData Delegate
Delegate used for additional data dispath by a listener.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication.Listeners (in OddPrg.Communication.Listeners.dll) Version: 1.0.0.0 (1.0.0.0)
public delegate ByteBuffer DispatchData(
DispatchDataParams parameters,
out bool keepConnection,
CancellationToken cancelToken
)
- parameters DispatchDataParams
- keepConnection Boolean
- Returns flag if connection to the client should be kept or closed.
- cancelToken CancellationToken
ByteBufferPossible data that will be sent as reply.