ist.palcom.services.location.compass
Class CompassHandler

java.lang.Object
  extended by ist.palcom.hgraph.AbstractHandler
      extended by ist.palcom.services.location.compass.CompassHandler
All Implemented Interfaces:
Handler

public class CompassHandler
extends AbstractHandler


Field Summary
static java.lang.String CMD_STARTCOMPASS
           
static java.lang.String CMD_STOPCOMPASS
           
 
Fields inherited from class ist.palcom.hgraph.AbstractHandler
DEFAULT_NUM_LOGS
 
Constructor Summary
CompassHandler(Compass node)
           
 
Method Summary
 Signature[] getSignatures()
           
 void handle(HgraphEvent event)
          The handle method is invoked by the HgraphNode in which the handler is installed.
 
Methods inherited from class ist.palcom.hgraph.AbstractHandler
getDescription, getLast, getLogIterator, getName, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD_STARTCOMPASS

public static final java.lang.String CMD_STARTCOMPASS
See Also:
Constant Field Values

CMD_STOPCOMPASS

public static final java.lang.String CMD_STOPCOMPASS
See Also:
Constant Field Values
Constructor Detail

CompassHandler

public CompassHandler(Compass node)
Method Detail

handle

public void handle(HgraphEvent event)
Description copied from interface: Handler
The handle method is invoked by the HgraphNode in which the handler is installed. This happens once the node receives an event for which it is the designatee. The handler may freely switch on the command string of the event and act accordingly

Specified by:
handle in interface Handler
Overrides:
handle in class AbstractHandler
See Also:
Handler

getSignatures

public Signature[] getSignatures()
Returns:
The signatures of the commands handled by the handler