ist.palcom.hgraph.manager
Class HgraphManagerQueryHandler

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

public class HgraphManagerQueryHandler
extends AbstractHandler

Handler for the Hgraph Manager handling manage requests to the rest of the H-Graph. This is in principle only really important when adapting a multi process model with process separation


Field Summary
static java.lang.String CMD_MG_CD
           
static java.lang.String CMD_MG_DIR
           
static java.lang.String CMD_MG_DIRFULL
           
static java.lang.String CMD_MG_DIRFULLRECURSIVE
           
static java.lang.String CMD_MG_DIRRECURSIVE
           
static java.lang.String CMD_MG_NEWNODE
           
static java.lang.String CMD_MG_REMOVENODE
           
static java.lang.String CMD_MG_SETNAME
           
 
Fields inherited from class ist.palcom.hgraph.AbstractHandler
DEFAULT_NUM_LOGS
 
Constructor Summary
HgraphManagerQueryHandler(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_MG_CD

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

CMD_MG_DIR

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

CMD_MG_DIRFULL

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

CMD_MG_DIRRECURSIVE

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

CMD_MG_DIRFULLRECURSIVE

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

CMD_MG_NEWNODE

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

CMD_MG_REMOVENODE

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

CMD_MG_SETNAME

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

HgraphManagerQueryHandler

public HgraphManagerQueryHandler(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