ist.palcom.hgraph.manager
Class LiveViewHandler

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

public class LiveViewHandler
extends AbstractHandler


Field Summary
static java.lang.String CMD_LIVE_VIEW_EVENT
           
static java.lang.String description
           
static java.lang.String name
           
 
Fields inherited from class ist.palcom.hgraph.AbstractHandler
DEFAULT_NUM_LOGS
 
Constructor Summary
LiveViewHandler(LiveViewCallback 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_LIVE_VIEW_EVENT

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

name

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

description

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

LiveViewHandler

public LiveViewHandler(LiveViewCallback callback)
Method Detail

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

getSignatures

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