ist.palcom.hgraph
Class HgraphManagerReturnHandler

java.lang.Object
  extended by ist.palcom.hgraph.AbstractHandler
      extended by ist.palcom.hgraph.HgraphManagerReturnHandler
All Implemented Interfaces:
Handler

public class HgraphManagerReturnHandler
extends AbstractHandler


Field Summary
static java.lang.String CMD_RETURN_CD
           
static java.lang.String CMD_RETURN_DIR
           
static java.lang.String CMD_RETURN_NEWNODE
           
static java.lang.String CMD_RETURN_REMOVENODE
           
static java.lang.String CMD_RETURN_SETNAME
           
 
Constructor Summary
HgraphManagerReturnHandler(HgraphManager manager)
           
 
Method Summary
 HandlerSignature[] 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, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD_RETURN_CD

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

CMD_RETURN_DIR

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

CMD_RETURN_NEWNODE

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

CMD_RETURN_REMOVENODE

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

CMD_RETURN_SETNAME

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

HgraphManagerReturnHandler

public HgraphManagerReturnHandler(HgraphManager manager)
Method Detail

getSignatures

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

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
Specified by:
handle in class AbstractHandler
See Also:
Handler