Click or drag to resize
Akka.NETActReceive Method
Overload List
  NameDescription
Protected methodReceiveT(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.
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.
(Inherited from ReceiveActor.)
Protected methodReceive(Object)
TBD
(Inherited from UntypedActor.)
Public methodReceiveT(ActionT, IActorContext)
TBD
Protected methodReceiveT(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.
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.
(Inherited from ReceiveActor.)
Protected methodReceiveT(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.
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.
(Inherited from ReceiveActor.)
Protected methodReceive(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.
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.
(Inherited from ReceiveActor.)
Public methodReceiveT(PredicateT, ActionT, IActorContext)
TBD
Public methodReceiveT(ActionT, IActorContext, PredicateT)
TBD
Protected methodReceive(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.
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.
(Inherited from ReceiveActor.)
Protected methodReceive(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.
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.
(Inherited from ReceiveActor.)
Top
See Also