org.cid.distribution.plugins.common
Class PassthroughHandler

java.lang.Object
  extended by org.cid.distribution.base.MessageHandlerBase
      extended by org.cid.distribution.plugins.common.PassthroughHandler
All Implemented Interfaces:
DistributionContextAware, MessageHandler

public class PassthroughHandler
extends MessageHandlerBase

A handler that returns the same message that it received.

The nodes that do not have a handler defined are asigned a Passthrough handler automatically during the process startup phase.

Version:
$Revision:111 $

Constructor Summary
PassthroughHandler()
           
 
Method Summary
 MessageEnumeration process(DistributionMessage message)
          This handler process a message by returning it without altering.
 
Methods inherited from class org.cid.distribution.base.MessageHandlerBase
addRules, destroy, getId, init, setDistributionContext, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassthroughHandler

public PassthroughHandler()
Method Detail

process

public MessageEnumeration process(DistributionMessage message)
                           throws DistributionProcessingException
This handler process a message by returning it without altering.

Returns:
The result of the handle processing, usually indicating whether the processing of this message has succeeded or failed.
Throws:
DistributionProcessingException


Copyright © 2006 null. All Rights Reserved.