ActReceive Method |
Name | Description | |
---|---|---|
ReceiveT(FuncT, Boolean) |
Registers a handler for incoming messages of the specified type T.
The handler should return true if it has handled the message.
If the handler returns true no more handlers will be tried; otherwise the next registered handler will be tried.
(Inherited from ReceiveActor.)Remarks This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action). Remarks Note that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked. | |
Receive(Object) |
TBD
(Inherited from UntypedActor.) | |
ReceiveT(ActionT, IActorContext) |
TBD
| |
ReceiveT(ActionT, PredicateT) |
Registers a handler for incoming messages of the specified type T.
If shouldHandle!=null then it must return true before a message is passed to handler.
(Inherited from ReceiveActor.)Remarks This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action). Remarks Note that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked. | |
ReceiveT(PredicateT, ActionT) |
Registers a handler for incoming messages of the specified type T.
If shouldHandle!=null then it must return true before a message is passed to handler.
(Inherited from ReceiveActor.)Remarks This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action). Remarks Note that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked. | |
Receive(Type, FuncObject, Boolean) |
Registers a handler for incoming messages of the specified messageType.
The handler should return true if it has handled the message.
If the handler returns true no more handlers will be tried; otherwise the next registered handler will be tried.
(Inherited from ReceiveActor.)Remarks This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action). Remarks Note that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked. | |
ReceiveT(PredicateT, ActionT, IActorContext) |
TBD
| |
ReceiveT(ActionT, IActorContext, PredicateT) |
TBD
| |
Receive(Type, ActionObject, PredicateObject) |
Registers a handler for incoming messages of the specified messageType.
If shouldHandle!=null then it must return true before a message is passed to handler.
(Inherited from ReceiveActor.)Remarks This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action). Remarks Note that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked. | |
Receive(Type, PredicateObject, ActionObject) |
Registers a handler for incoming messages of the specified messageType.
If shouldHandle!=null then it must return true before a message is passed to handler.
(Inherited from ReceiveActor.)Remarks This method may only be called when constructing the actor or from Become(Action) or BecomeStacked(Action). Remarks Note that handlers registered prior to this may have handled the message already.
In that case, this handler will not be invoked. |