ist.palcom.visualization.manager
Class HgraphBrowserOutHandler

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

public class HgraphBrowserOutHandler
extends AbstractHandler


Field Summary
static java.lang.String CMD_CONNECT
           
static java.lang.String CMD_DISCONNECT
           
static java.lang.String CMD_GETNODE
           
static java.lang.String CMD_SETLIVE
           
static java.lang.String CMD_UNSETLIVE
           
 
Fields inherited from class ist.palcom.hgraph.AbstractHandler
DEFAULT_NUM_LOGS
 
Constructor Summary
HgraphBrowserOutHandler(HgraphBrowserOutCallback browserOut)
           
 
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_GETNODE

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

CMD_SETLIVE

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

CMD_UNSETLIVE

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

CMD_CONNECT

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

CMD_DISCONNECT

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

HgraphBrowserOutHandler

public HgraphBrowserOutHandler(HgraphBrowserOutCallback browserOut)
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