| Package | org.spicefactory.parsley.core.messaging.impl |
| Class | public class MessageDispatcher |
| Inheritance | MessageDispatcher Object |
| Method | Defined By | ||
|---|---|---|---|
MessageDispatcher(scopeManager:ScopeManager, scope:String = null, owner:Object = null)
Creates a new instance. | MessageDispatcher | ||
disable():void
Disables this dispatcher so that calls to dispatchMessage get ignored. | MessageDispatcher | ||
dispatchMessage(message:Object, selector:*):void
Dispatches the specified message through the ScopeManager associated with this reference. | MessageDispatcher | ||
| MessageDispatcher | () | Constructor |
public function MessageDispatcher(scopeManager:ScopeManager, scope:String = null, owner:Object = null)Creates a new instance.
ParametersscopeManager:ScopeManager — the scope manager the message should be dispatched through
| |
scope:String (default = null) — the scope the message should be dispatched to
| |
owner:Object (default = null) — the owner of this dispatcher
|
| disable | () | method |
public function disable():voidDisables this dispatcher so that calls to dispatchMessage get ignored.
| dispatchMessage | () | method |
public function dispatchMessage(message:Object, selector:*):voidDispatches the specified message through the ScopeManager associated with this reference.
Parameters
message:Object — the message to dispatch
| |
selector:* (default = NaN) — the selector to use if it cannot be determined from the message instance itself
|