org.cid.distribution.core
Class MessageFlowController

java.lang.Object
  extended by org.cid.distribution.core.MessageFlowController

public final class MessageFlowController
extends java.lang.Object

The MessageFlowController manages the message flow through the different handlers and channels. It wires and communicates the different deployed components to make the distribution system work.

Version:
$Revision: 177 $

Constructor Summary
MessageFlowController(DistributionProcess process)
          Constructor
 
Method Summary
 void processMessage(DistributionMessage message, DistributionNode node)
          Process a message through a handler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageFlowController

public MessageFlowController(DistributionProcess process)
Constructor

Parameters:
handlerSet -
Method Detail

processMessage

public void processMessage(DistributionMessage message,
                           DistributionNode node)
                    throws DistributionProcessingException,
                           DistributionConfigurationException
Process a message through a handler. While a message is in going through this method, the handler can be considered busy.

Parameters:
message - The message to process.
Throws:
DistributionProcessingException
DistributionConfigurationException


Copyright © 2006 null. All Rights Reserved.