Package | org.spicefactory.parsley.core.messaging |
Interface | public interface MessageReceiverCache |
Implementors | DefaultMessageReceiverCache |
Method | Defined By | ||
---|---|---|---|
getReceivers(kind:MessageReceiverKind, selector:*):Array
Returns the receivers for the specified receiver kind and selector value. | MessageReceiverCache | ||
getSelectorValue(message:Object):*
Returns the value of the selector property of the specified message instance. | MessageReceiverCache |
getReceivers | () | method |
public function getReceivers(kind:MessageReceiverKind, selector:*):Array
Returns the receivers for the specified receiver kind and selector value.
Parameters
kind:MessageReceiverKind — the kind of receivers to return
| |
selector:* (default = NaN ) — the selector to use for finding matching receivers
|
Array — the receivers for the specified receiver kind and messag
|
getSelectorValue | () | method |
public function getSelectorValue(message:Object):*
Returns the value of the selector property of the specified message instance.
Parameters
message:Object — the message instance
|
* — the value of the selector property of the specified message instance
|