Package | org.spicefactory.parsley.core.messaging |
Class | public class MessageReceiverKind |
Inheritance | MessageReceiverKind Object |
Property | Defined By | ||
---|---|---|---|
key : String [read-only]
The unique key representing this kind. | MessageReceiverKind |
Method | Defined By | ||
---|---|---|---|
[static]
Returns the constant corrsesponding to the specified command status. | MessageReceiverKind |
Constant | Defined By | ||
---|---|---|---|
COMMAND_CANCEL_BY_TRIGGER : MessageReceiverKind [static]
Constant for a command observer for the status CANCEL, matching by trigger message and selector. | MessageReceiverKind | ||
COMMAND_CANCEL_BY_TYPE : MessageReceiverKind [static]
Constant for a command observer for the status CANCEL, matching by command type and id. | MessageReceiverKind | ||
COMMAND_COMPLETE_BY_TRIGGER : MessageReceiverKind [static]
Constant for a command observer for the status COMPLETE, matching by trigger message and selector. | MessageReceiverKind | ||
COMMAND_COMPLETE_BY_TYPE : MessageReceiverKind [static]
Constant for a command observer for the status COMPLETE, matching by command type and id. | MessageReceiverKind | ||
COMMAND_ERROR_BY_TRIGGER : MessageReceiverKind [static]
Constant for a command observer for the status ERROR, matching by trigger message and selector. | MessageReceiverKind | ||
COMMAND_ERROR_BY_TYPE : MessageReceiverKind [static]
Constant for a command observer for the status ERROR, matching by command type and id. | MessageReceiverKind | ||
COMMAND_EXECUTE_BY_TRIGGER : MessageReceiverKind [static]
Constant for a command observer for the status EXECUTE, matching by trigger message and selector. | MessageReceiverKind | ||
COMMAND_EXECUTE_BY_TYPE : MessageReceiverKind [static]
Constant for a command observer for the status EXECUTE, matching by command type and id. | MessageReceiverKind | ||
ERROR_HANDLER : MessageReceiverKind [static]
Constant for an error handler. | MessageReceiverKind | ||
TARGET : MessageReceiverKind [static]
Constant for a regular message target (like MessageHandler or Command). | MessageReceiverKind |
key | property |
key:String
[read-only] The unique key representing this kind.
public function get key():String
forCommandStatus | () | method |
public static function forCommandStatus(status:CommandStatus, byTrigger:Boolean):MessageReceiverKind
Returns the constant corrsesponding to the specified command status.
Parameters
status:CommandStatus — the status to return the corresponding receiver kind for
| |
byTrigger:Boolean — whether the observer matches by trigger message and selector (true) or command type and id (false)
|
MessageReceiverKind — the constant corrsesponding to the specified command status
|
COMMAND_CANCEL_BY_TRIGGER | Constant |
public static const COMMAND_CANCEL_BY_TRIGGER:MessageReceiverKind
Constant for a command observer for the status CANCEL, matching by trigger message and selector.
COMMAND_CANCEL_BY_TYPE | Constant |
public static const COMMAND_CANCEL_BY_TYPE:MessageReceiverKind
Constant for a command observer for the status CANCEL, matching by command type and id.
COMMAND_COMPLETE_BY_TRIGGER | Constant |
public static const COMMAND_COMPLETE_BY_TRIGGER:MessageReceiverKind
Constant for a command observer for the status COMPLETE, matching by trigger message and selector.
COMMAND_COMPLETE_BY_TYPE | Constant |
public static const COMMAND_COMPLETE_BY_TYPE:MessageReceiverKind
Constant for a command observer for the status COMPLETE, matching by command type and id.
COMMAND_ERROR_BY_TRIGGER | Constant |
public static const COMMAND_ERROR_BY_TRIGGER:MessageReceiverKind
Constant for a command observer for the status ERROR, matching by trigger message and selector.
COMMAND_ERROR_BY_TYPE | Constant |
public static const COMMAND_ERROR_BY_TYPE:MessageReceiverKind
Constant for a command observer for the status ERROR, matching by command type and id.
COMMAND_EXECUTE_BY_TRIGGER | Constant |
public static const COMMAND_EXECUTE_BY_TRIGGER:MessageReceiverKind
Constant for a command observer for the status EXECUTE, matching by trigger message and selector.
COMMAND_EXECUTE_BY_TYPE | Constant |
public static const COMMAND_EXECUTE_BY_TYPE:MessageReceiverKind
Constant for a command observer for the status EXECUTE, matching by command type and id.
ERROR_HANDLER | Constant |
public static const ERROR_HANDLER:MessageReceiverKind
Constant for an error handler.
TARGET | Constant |
public static const TARGET:MessageReceiverKind
Constant for a regular message target (like MessageHandler or Command).