C# Class amp.messaging.MessageProcessorChain

An IMessageProcessor implementation used to join multiple other IMessageProcessors in an ordered chain, so that the entire set can be treated as a single processor for referencing and processing purposes.
Use of this class eliminates the need to have chaining logic in more than one location and also permits the same chain to be declared once and used multiply.
Inheritance: IMessageProcessor
Exibir arquivo Open project: Berico-Technologies/AMP

Public Methods

Method Description
Dispose ( ) : void
MessageProcessorChain ( List processingChain ) : System
ProcessMessage ( MessageContext context, System.Action continueProcessing ) : void
ProcessMessage ( MessageContext context, List processingChain, System.Action continueProcessing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MessageProcessorChain() public method

public MessageProcessorChain ( List processingChain ) : System
processingChain List
return System

ProcessMessage() public method

public ProcessMessage ( MessageContext context, System.Action continueProcessing ) : void
context MessageContext
continueProcessing System.Action
return void

ProcessMessage() public method

public ProcessMessage ( MessageContext context, List processingChain, System.Action continueProcessing ) : void
context MessageContext
processingChain List
continueProcessing System.Action
return void