DispatchData Delegate

Delegate used for additional data dispath by a listener.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication.Listeners (in OddPrg.Communication.Listeners.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public delegate ByteBuffer DispatchData(
	DispatchDataParams parameters,
	out bool keepConnection,
	CancellationToken cancelToken
)

Parameters

parameters  DispatchDataParams
keepConnection  Boolean
Returns flag if connection to the client should be kept or closed.
cancelToken  CancellationToken

Return Value

ByteBuffer
Possible data that will be sent as reply.

See Also