Class UntypedActor
Class UntypedActor.
Inheritance
UntypedActor
Implements
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public abstract class UntypedActor : ActorBase, IInternalActor
Properties
| Improve this Doc View SourceContext
TBD
Declaration
protected static IUntypedActorContext Context { get; }
Property Value
Type | Description |
---|---|
IUntypedActorContext |
Methods
| Improve this Doc View SourceBecome(UntypedReceive)
Changes the actor's behavior and replaces the current receive handler with the specified handler.
Declaration
protected void Become(UntypedReceive receive)
Parameters
Type | Name | Description |
---|---|---|
UntypedReceive | receive | The new message handler. |
BecomeStacked(UntypedReceive)
Changes the actor's behavior and replaces the current receive handler with the specified handler.
The current handler is stored on a stack, and you can revert to it by calling UnbecomeStacked()
Declaration
protected void BecomeStacked(UntypedReceive receive)
Parameters
Type | Name | Description |
---|---|---|
UntypedReceive | receive | The new message handler. |
OnReceive(Object)
To be implemented by concrete UntypedActor, this defines the behavior of the UntypedActor. This method is called for every message received by the actor.
Declaration
protected abstract void OnReceive(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | The message. |
Receive(Object)
TBD
Declaration
protected sealed override bool Receive(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
Overrides
| Improve this Doc View SourceRunTask(Action)
TBD
Declaration
protected void RunTask(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | TBD |
RunTask(Func<Task>)
TBD
Declaration
protected void RunTask(Func<Task> action)
Parameters
Type | Name | Description |
---|---|---|
Func<Task> | action | TBD |