ist.palcom.hgraph
Class FuncHandler
java.lang.Object
ist.palcom.hgraph.AbstractHandler
ist.palcom.hgraph.FuncHandler
- All Implemented Interfaces:
- Handler
public class FuncHandler
- extends AbstractHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
CMD_ADDLISTENER
public static final java.lang.String CMD_ADDLISTENER
- Command for adding a listener the node.
- See Also:
- Constant Field Values
CMD_ADDHANDLER
public static final java.lang.String CMD_ADDHANDLER
- Command for adding a listener the node.
- See Also:
- Constant Field Values
CMD_ADDINVOKATOR
public static final java.lang.String CMD_ADDINVOKATOR
- Command for adding a listener the node.
- See Also:
- Constant Field Values
CMD_REMOVEINVOKATOR
public static final java.lang.String CMD_REMOVEINVOKATOR
- See Also:
- Constant Field Values
CMD_REMOVELISTENER
public static final java.lang.String CMD_REMOVELISTENER
- See Also:
- Constant Field Values
CMD_REMOVEHANDLER
public static final java.lang.String CMD_REMOVEHANDLER
- See Also:
- Constant Field Values
FuncHandler
public FuncHandler(HgraphNode node)
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