org.almendra.janet.cas.events
Class EventHandlerEnvelope
java.lang.Object
org.almendra.janet.cas.events.AbstractEventHandlerEnvelope
org.almendra.janet.cas.events.EventHandlerEnvelope
- All Implemented Interfaces:
- java.io.Serializable, IEventHandler
public class EventHandlerEnvelope
- extends AbstractEventHandlerEnvelope
- implements IEventHandler, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
protected Node node
application
protected transient ApplicationAccessor application
EventHandlerEnvelope
protected EventHandlerEnvelope()
- Creates a new
EventHandlerEnvelope
object.
EventHandlerEnvelope
public EventHandlerEnvelope(IEventHandler handler,
AgentPath agentPath)
- Creates a new
EventHandlerEnvelope
object.
getApplication
public ApplicationAccessor getApplication()
- Returns:
- Returns the application.
setApplication
public void setApplication(ApplicationAccessor application)
- Parameters:
application
- The application to set.
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
getNode
public Node getNode()
- Returns:
- Returns the node.
setNode
public void setNode(Node node)
- Parameters:
node
- The node to set.