nenok.net.task
Interface Task
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- Combination, Inverse, Marginalization, Scale
public interface Task
- extends Serializable
Head interface of a COMMAND design pattern implementation. Tasks encapsulate valuation algebra operations. They are
transmitted over a network to be executed afterwards on a remote NENOK processor.
- Version:
- 1.1
- Author:
- Marc Pouly
Method Summary |
Envelope |
execute()
Execution method of the COMMAND design pattern. |
execute
Envelope execute()
throws RemoteException,
VAException
- Execution method of the COMMAND design pattern.
- Returns:
- The envelope containing the task's result.
- Throws:
RemoteException
- Exception caused when remote processors are accessed.
VAException
- Exception caused by illegal valuation algebra operations.