drm.core
Interface Controller
- All Known Implementing Classes:
- Node
- public interface Controller
Defines functionality necessary to write the command database of a
collective.
Method Summary |
java.util.Set |
getCommands()
The controller has to return the new commands it intends to
execute in the collective. |
getCommands
public java.util.Set getCommands()
- The controller has to return the new commands it intends to
execute in the collective.
The type of the commands is collective-specific, but
command objects have to implement equals and also hashCode to
allow storage of commands in hashtables. It is also necessary
that every command is unique, ie it does not equal any
other command invoked at some other time (maybe by the same
user).