Packageorg.spicefactory.lib.command.proxy
Interfacepublic interface CommandProxy extends CommandExecutor, SuspendableCommand, CancellableCommand
Implementors DefaultCommandProxy

Represents a proxy that executes a single command. A proxy is usually used to wrap additional functionality around a command, like timeout handling for example.



Public Properties
 PropertyDefined By
 Inheritedactive : Boolean
[read-only] Indicates whether this command is currently executing.
AsyncCommand
 Inheritedcancellable : Boolean
[read-only] Indicates whether this executor can be cancelled.
CommandExecutor
 Inheritedsuspendable : Boolean
[read-only] Indicates whether this executor can be suspended.
CommandExecutor
 Inheritedsuspended : Boolean
[read-only] Indicates whether this command is currently suspended.
SuspendableCommand
  target : Command
[read-only] The target command executed by this proxy.
CommandProxy
Public Methods
 MethodDefined By
 Inherited
cancel():void
Cancels the command.
CancellableCommand
 Inherited
prepare(lifecycle:CommandLifecycle, data:CommandData):void
Method that may be called by frameworks before executing this command to hook into the lifecycle and data handling of this executor.
CommandExecutor
 Inherited
resume():void
Resumes the command.
SuspendableCommand
 Inherited
suspend():void
Suspends the command.
SuspendableCommand
Property Detail
targetproperty
target:Command  [read-only]

The target command executed by this proxy.


Implementation
    public function get target():Command