Packageorg.spicefactory.parsley.core.messaging
Interfacepublic interface Message
Implementors DefaultMessage

Represents a single message and all its relevant settings.



Public Properties
 PropertyDefined By
  instance : Object
[read-only] The actual message instance.
Message
  selector : *
[read-only] The selector to use to determine matching receivers.
Message
  senderContext : Context
[read-only] The Context the message was dispatched from.
Message
  type : ClassInfo
[read-only] The type of the message.
Message
Property Detail
instanceproperty
instance:Object  [read-only]

The actual message instance.


Implementation
    public function get instance():Object
selectorproperty 
selector:*  [read-only]

The selector to use to determine matching receivers.


Implementation
    public function get selector():*
senderContextproperty 
senderContext:Context  [read-only]

The Context the message was dispatched from. This value may be null. It is only set if the message was sent by an object managed by Parsley through one of the available options for dispatching a message (like ManagedEvents or MessageDispatchers). If the message was dispatched programmatically using the ScopeManager API, then the sender Context is unknown.


Implementation
    public function get senderContext():Context
typeproperty 
type:ClassInfo  [read-only]

The type of the message.


Implementation
    public function get type():ClassInfo