ist.palcom.hgraph.manager
Class HgraphManagerReturnHandler

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

public class HgraphManagerReturnHandler
extends AbstractHandler

Handler for the Hgraph Manager handling return values for requests to the rest of the H-Graph


Field Summary
static java.lang.String CMD_LIVE
           
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
           
static java.lang.String CMD_SET_LIVE
           
static java.lang.String CMD_UNSET_LIVE
           
 
Fields inherited from class ist.palcom.hgraph.AbstractHandler
DEFAULT_NUM_LOGS
 
Constructor Summary
HgraphManagerReturnHandler(HgraphManager manager)
           
 
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_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

CMD_SET_LIVE

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

CMD_UNSET_LIVE

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

CMD_LIVE

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

HgraphManagerReturnHandler

public HgraphManagerReturnHandler(HgraphManager manager)
Method Detail

getSignatures

public Signature[] 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
Overrides:
handle in class AbstractHandler
See Also:
Handler