ist.palcom.hgraph
Interface Invokator

All Known Implementing Classes:
AbstractInvokator, CompassInvokator, GenericInvokator, HgraphManagerInvokator

public interface Invokator

An Invokator is the Hgraph functional equivalent to a required method. Invokators invoke Handlers through the structure of the Hgraph. They invoke with a single parameter, an Hgraph event, holding the sender and recipient paths, a command string for the recipient handler to act upon and possibly a value. This value may be simple or complex Invokators can invoke multiple different commands


Method Summary
 java.lang.String getDescription()
           
 Value[] getLast(int numEvents)
           
 java.util.Iterator getLogIterator()
           
 java.lang.String getName()
           
 

Method Detail

getName

java.lang.String getName()
Returns:
The name of the invokator.

getDescription

java.lang.String getDescription()
Returns:
A description of the purpose of the invokator in prose. It should as a minimum describe the commands the invokator is able to invoke

getLogIterator

java.util.Iterator getLogIterator()

getLast

Value[] getLast(int numEvents)