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
Afficher le fichier Open project: Berico-Technologies/AMP

Méthodes publiques

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

MessageProcessorChain() public méthode

public MessageProcessorChain ( List processingChain ) : System
processingChain List
Résultat System

ProcessMessage() public méthode

public ProcessMessage ( MessageContext context, System.Action continueProcessing ) : void
context MessageContext
continueProcessing System.Action
Résultat void

ProcessMessage() public méthode

public ProcessMessage ( MessageContext context, List processingChain, System.Action continueProcessing ) : void
context MessageContext
processingChain List
continueProcessing System.Action
Résultat void