Packageorg.spicefactory.parsley.messaging.receiver
Classpublic class AbstractMessageReceiver
InheritanceAbstractMessageReceiver Inheritance Object
Implements MessageReceiver
Subclasses AbstractObjectProviderReceiver, MappedCommandProxy

Abstract base class for all types of message receivers.



Public Properties
 PropertyDefined By
  order : int
[read-only] The execution order for this receiver.
AbstractMessageReceiver
  selector : *
[read-only] An optional selector value to be used for selecting matching messages.
AbstractMessageReceiver
  type : Class
[read-only] The class or interface of the message.
AbstractMessageReceiver
Protected Properties
 PropertyDefined By
  info : MessageReceiverInfo
[read-only] The receiver configuration in one (mutable) model object.
AbstractMessageReceiver
Public Methods
 MethodDefined By
  
Creates a new instance.
AbstractMessageReceiver
Property Detail
infoproperty
info:MessageReceiverInfo  [read-only]

The receiver configuration in one (mutable) model object.


Implementation
    protected function get info():MessageReceiverInfo
orderproperty 
order:int  [read-only]

The execution order for this receiver.

Will be processed in ascending order. The default is int.MAX_VALUE.


Implementation
    public function get order():int
selectorproperty 
selector:*  [read-only]

An optional selector value to be used for selecting matching messages.


Implementation
    public function get selector():*
typeproperty 
type:Class  [read-only]

The class or interface of the message. In case of a command observer this may also be interpreted as the type of the command, depending on the kind of receiver.


Implementation
    public function get type():Class
Constructor Detail
AbstractMessageReceiver()Constructor
public function AbstractMessageReceiver(info:MessageReceiverInfo)

Creates a new instance.

Parameters
info:MessageReceiverInfo — the mapping information for the receiver