net.sf.seide.event
Interface EventHandler<T extends Message>

All Known Subinterfaces:
InterruptableEventHandler<T>, JoinEventHandler

public interface EventHandler<T extends Message>

EventHandler represents the unit of work behind the Stage.

Author:
german.kondolf
See Also:
Message}, RoutingOutcome}

Method Summary
 RoutingOutcome execute(T message)
          Execution of Stage EventHandler.
 

Method Detail

execute

RoutingOutcome execute(T message)
Execution of Stage EventHandler.

Parameters:
message - payload received.
Returns:
RoutingOutcome specifiying the next Stage and the Message passsed to it or them. Null return value is allowed, mainly to mark the end of a execution path.


Copyright © 2011. All Rights Reserved.