Table of Contents

Interface IListener

Namespace
JobFlow.Core.Infrastructure.Transports
Assembly
JobFlow.Core.dll

Listener for a transport connection.

public interface IListener
Extension Methods

Methods

SetHandler<TMsg, TProc>()

Set the message processor and message type for the listener.

void SetHandler<TMsg, TProc>() where TProc : IMessageHandler<TMsg>

Type Parameters

TMsg
TProc

Remarks

Note: there is no guarantee that a listener is able to handle multiple message types or message processors. The JobFlow provided handles are unable to do so.

See also SetJobWorkRequestHandler<TMsg, TProc>(IListener).