org.almendra.janet.cas.events
Class ClusterEventHandlerEnvelope

java.lang.Object
  extended by org.almendra.janet.cas.events.AbstractEventHandlerEnvelope
      extended by org.almendra.janet.cas.events.ClusterEventHandlerEnvelope
All Implemented Interfaces:
java.io.Serializable, IEventHandler

public class ClusterEventHandlerEnvelope
extends AbstractEventHandlerEnvelope
implements IEventHandler, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.almendra.janet.cas.events.AbstractEventHandlerEnvelope
agentPath, handler
 
Constructor Summary
protected ClusterEventHandlerEnvelope()
          Creates a new ClusterEventHandlerEnvelope object.
  ClusterEventHandlerEnvelope(IEventHandler handler, AgentPath agentPath)
          Creates a new ClusterEventHandlerEnvelope object.
 
Method Summary
 void occured(Event event)
          Any object that wants to be notified about the occurrence of an event must implement this callback method.
 
Methods inherited from class org.almendra.janet.cas.events.AbstractEventHandlerEnvelope
getAgentPath, getHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterEventHandlerEnvelope

protected ClusterEventHandlerEnvelope()
Creates a new ClusterEventHandlerEnvelope object.


ClusterEventHandlerEnvelope

public ClusterEventHandlerEnvelope(IEventHandler handler,
                                   AgentPath agentPath)
Creates a new ClusterEventHandlerEnvelope object.

Method Detail

occured

public void occured(Event event)
Description copied from interface: IEventHandler
Any object that wants to be notified about the occurrence of an event must implement this callback method.

Specified by:
occured in interface IEventHandler