ist.palcom.visualization.manager
Class HgraphBrowserInHandler

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

public class HgraphBrowserInHandler
extends AbstractHandler


Field Summary
static java.lang.String CMD_GOTCONNECT
           
static java.lang.String CMD_GOTDISCONNECT
           
static java.lang.String CMD_GOTLIVE
           
static java.lang.String CMD_GOTNODE
           
 
Fields inherited from class ist.palcom.hgraph.AbstractHandler
DEFAULT_NUM_LOGS
 
Constructor Summary
HgraphBrowserInHandler(HgraphBrowserInHandlerCallback callback)
           
 
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_GOTNODE

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

CMD_GOTLIVE

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

CMD_GOTDISCONNECT

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

CMD_GOTCONNECT

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

HgraphBrowserInHandler

public HgraphBrowserInHandler(HgraphBrowserInHandlerCallback callback)
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