Package | org.spicefactory.parsley.comobserver.receiver |
Class | public class CommandStatusFlag |
Inheritance | CommandStatusFlag ![]() ![]() ![]() ![]() |
Implements | CommandObserver |
Property | Defined By | ||
---|---|---|---|
kind : MessageReceiverKind [read-only]
The status this observer is interested in. | CommandStatusFlag | ||
![]() | order : int [read-only]
The execution order for this receiver. | AbstractMessageReceiver | |
![]() | provider : ObjectProvider [read-only]
The provider for the actual instance handling the message. | AbstractObjectProviderReceiver | |
![]() | selector : * [read-only]
An optional selector value to be used for selecting matching messages. | AbstractMessageReceiver | |
![]() | targetProperty : Property [read-only]
The property to process for matching messages. | AbstractPropertyReceiver | |
![]() | type : Class [read-only]
The class or interface of the message. | AbstractMessageReceiver |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | CommandStatusFlag | ||
![]() |
Initializes this receiver, passing the target object
provider and property. | AbstractPropertyReceiver | |
observeCommand(processor:CommandObserverProcessor):void
Invoked when a matching command starts or finishes its execution. | CommandStatusFlag | ||
![]() | toString():String | AbstractPropertyReceiver |
kind | property |
kind:MessageReceiverKind
[read-only] The status this observer is interested in.
public function get kind():MessageReceiverKind
CommandStatusFlag | () | Constructor |
public function CommandStatusFlag(info:MessageReceiverInfo, kind:MessageReceiverKind, manager:CommandManager)
Creates a new instance.
Parametersinfo:MessageReceiverInfo — the mapping information for this receiver
| |
kind:MessageReceiverKind — the phase of the command lifecycle this status flag reacts to
| |
manager:CommandManager — the command manager to look up matching active commands
|
observeCommand | () | method |
public function observeCommand(processor:CommandObserverProcessor):void
Invoked when a matching command starts or finishes its execution. The specified processor may be used to control the processing of remaining observers, like canceling or suspending the processor.
Parameters
processor:CommandObserverProcessor — the processor for the command observer
|