nenok.net.task
Class Combination
java.lang.Object
nenok.net.task.Combination
- All Implemented Interfaces:
- Serializable, Task
public final class Combination
- extends Object
- implements Task
Command design pattern class for the combination operation.
- Version:
- 1.2
- Author:
- Marc Pouly
- See Also:
- Serialized Form
Combination
protected Combination(Locator[] factors)
- Constructor:
- Parameters:
factors
- An array of factors to combine.
execute
public Envelope execute()
throws RemoteException
- Description copied from interface:
Task
- Execution method of the COMMAND design pattern.
- Specified by:
execute
in interface Task
- Returns:
- The envelope containing the task's result.
- Throws:
RemoteException
- Exception caused when remote processors are accessed.- See Also:
Task.execute()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()