org.almendra.janet.cas.monitor.handlers
Class NodeShutdownHandler

java.lang.Object
  extended by org.almendra.janet.cas.monitor.handlers.NodeShutdownHandler
All Implemented Interfaces:
IEventHandler

public class NodeShutdownHandler
extends java.lang.Object
implements IEventHandler


Field Summary
protected  IAgentProxy consumerAgent
           
protected  AgentPath consumerAgentPath
           
protected  IAgentProxy localAgent
           
protected  java.lang.String nodeName
           
 
Constructor Summary
protected NodeShutdownHandler()
          Creates a new NodeShutdownHandler object.
  NodeShutdownHandler(java.lang.String nodeName, IAgentProxy localAgent, IAgentProxy consumerAgent, AgentPath consumerAgentPath)
          Creates a new NodeShutdownHandler 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeName

protected java.lang.String nodeName

consumerAgentPath

protected AgentPath consumerAgentPath

localAgent

protected IAgentProxy localAgent

consumerAgent

protected IAgentProxy consumerAgent
Constructor Detail

NodeShutdownHandler

protected NodeShutdownHandler()
Creates a new NodeShutdownHandler object.


NodeShutdownHandler

public NodeShutdownHandler(java.lang.String nodeName,
                           IAgentProxy localAgent,
                           IAgentProxy consumerAgent,
                           AgentPath consumerAgentPath)
Creates a new NodeShutdownHandler 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