Various interfaces, and their implementations, of the Command pattern.
Interfaces
| | Interface | Description |
| | ASyncCommand |
An asynchronous command is a runnable command, which is not terminated
at the end of the execute call, for example a remoting request,
or a file loading. |
| | ASyncCommandListener |
Interface for objects which want to be notified of the end of execution
of an asynchronous command. |
| | ASyncCommandSequencerListener |
The ASyncCommandSequencerListener interface defines rules for
ASyncCommandSequencer listeners. |
| | Cancelable |
Cancelable defines rules for Runnable
implementations whose instances process could be cancelled. |
| | Command |
Encapsulate a request as an object, thereby letting you parameterize
clients with different requests, queue or log requests,
and support undoable operations. |
| | IterationCommand |
IterationCommands are used by a LoopCommand to perform
the concret iterations. |
| | LoopCommandListener |
Objects which want to listen to a LoopCommand
instance have to implement the LoopCommandListener
interface. |
| | MacroCommand |
A macro command wraps many commands execution in a single
execute call. |
| | Runnable |
The Runnable interface should be implemented by any
class whose instances are intended to be executed asynchronously. |
| | Suspendable |
Suspendable defines rules for Runnable
implementations whose instances process could be suspended. |
Classes
| | Class | Description |
| | AbstractCommand |
AbstractCommand provides a skeleton for commands which
might work within plugin's FrontController. |
| | AbstractIterationCommand |
AbstractIterationCommand provides a skeleton
for concret IterationCommand implementations. |
| | AbstractSyncCommand |
AbstractSyncCommand provides a skeleton to create
asynchronous stateless commands. |
| | ASyncBatch |
An asynchronous batch behave as a normal batch, but is designed to handle
asynchronous commands. |
| | ASyncCommandSequencer |
The AsyncCommandSequencer manage ASyncCommand execution list. |
| | ASyncQueue |
An asynchronous queue behave as the asynchronous batch, but use
the event dispatch by a sub-command to pass it in the execute method
of the next sub-command. |
| | Batch |
Batch object encapsulate a set of Commands
to execute at the same time. |
| | CommandFPS |
The CommandFPS class manages a Commands list to execute
on each frame (FPS). |
| | CommandManagerFPS |
The CommandManagerFPS class defines singleton access to
CommandFPS object. |
| | CommandManagerMS |
The CommandManagerMS class defines singleton access to
CommandMS object. |
| | CommandMS |
The CommandMS class manages a Commands list to execute
on using timer tick. |
| | Delegate |
The Delegate encapsulate a method call as an object. |
| | FrontController |
A base class for an application specific front controller,
that is able to dispatch control following particular events
to appropriate command classes. |
| | LoopCommand |
A LoopCommand wrap a loop statement within a command. |
| | ReversedBatch |
Extends Batch to process commands in the reversed order. |
LowRA API documentation 2008- 2009
Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1
mer. févr. 25 2009, 9:22 AM GMT+01:00