Packageorg.spicefactory.parsley.core.messaging.receiver
Interfacepublic interface CommandObserver extends MessageReceiver
Implementors CommandStatusFlag, DefaultCommandObserver

Represents a message receiver that gets invoked when an asnychronous command starts or finishes its execution.



Public Properties
 PropertyDefined By
  kind : MessageReceiverKind
[read-only] The status this observer is interested in.
CommandObserver
 Inheritedorder : int
[read-only] The execution order for this receiver.
MessageReceiver
 Inheritedselector : *
[read-only] An optional selector value to be used for selecting matching messages.
MessageReceiver
 Inheritedtype : Class
[read-only] The class or interface of the message.
MessageReceiver
Public Methods
 MethodDefined By
  
Invoked when a matching command starts or finishes its execution.
CommandObserver
Property Detail
kindproperty
kind:MessageReceiverKind  [read-only]

The status this observer is interested in.


Implementation
    public function get kind():MessageReceiverKind
Method Detail
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