Packagecom.asfusion.mate.actionLists
Classpublic class MessageScope
InheritanceMessageScope Inheritance Scope

MessageScope is an object created by the MessageHandlers.

It represents the running scope of a IActionList. The IActionList and its actions share this object to transfer data between them.



Public Properties
 PropertyDefined by
 InheritedcurrentEvent : Event
Current Event, different from the original event when a sub-action-list is running.
Scope
 InheritedcurrentTarget : Object
The current target that is using this scope.
Scope
 Inheriteddata : Object
Data Object (holder for custom data)
Scope
 Inheriteddispatcher : IEventDispatcher
Instance of the IEventDispatcher that will be used to dispatch events or to register to events.
Scope
 Inheritedevent : Event
Original Event that triggered the IActionList.
Scope
 InheritedeventMap : IEventMap
Instance of the EventMap where this scope lives.
Scope
 InheritedlastReturn : *
return from the last IAction run
Scope
  message : IMessage
A message received by the consumer.
MessageScope
 Inheritedowner : IActionList
The IActionList that created this scope.
Scope
 Inheritedrunning : Boolean = true
Flag that indicates whether IActionList is running or not.
Scope
Public Methods
 MethodDefined by
  
MessageScope(event:Event, active:Boolean, map:IEventMap, inheritScope:IScope = null)
Constructor
MessageScope
 Inherited
errorString():String
Retuns the default error string to be used by the debugger.
Scope
 Inherited
Returns the current target that is using this scope.
Scope
 Inherited
getDocument():Object
A reference to the document object associated with this ILoggerProvider.
Scope
 Inherited
Returns an IMateLogger used to log errors.
Scope
 Inherited
Returns an instance of IMateManager used to get the logger and dispatcher.
Scope
 Inherited
isRunning():Boolean
Returns a boolean indicating if the IActionList is running or not.
Scope
 Inherited
stopRunning():void
Stops the IActionList flow.
Scope
Property detail
messageproperty
public var message:IMessage

A message received by the consumer.

Constructor detail
MessageScope()constructor
public function MessageScope(event:Event, active:Boolean, map:IEventMap, inheritScope:IScope = null)

Constructor

Parameters
event:Event
 
active:Boolean
 
map:IEventMap
 
inheritScope:IScope (default = null)