Search Results for

    Show / Hide Table of Contents

    Class UntypedActor

    Class UntypedActor.

    Inheritance
    object
    ActorBase
    UntypedActor
    ReceiveActor
    UntypedActorWithStash
    UntypedActorWithUnboundedStash
    UntypedActorWithUnrestrictedStash
    MultiNodeClusterSpec.EndActor
    ClusterClientDiscovery
    TraceLogger
    RemoteWatcher
    ActorTransportAdapterManager
    EmptyActor
    Implements
    IInternalActor
    Inherited Members
    ActorBase.Sender
    ActorBase.Self
    ActorBase.AroundReceive(Receive, object)
    ActorBase.EmptyReceive
    ActorBase.Unhandled(object)
    ActorBase.Become(Receive)
    ActorBase.BecomeStacked(Receive)
    ActorBase.UnbecomeStacked()
    ActorBase.SetReceiveTimeout(TimeSpan?)
    ActorBase.AroundPreRestart(Exception, object)
    ActorBase.AroundPreStart()
    ActorBase.PreStart()
    ActorBase.AroundPostRestart(Exception, object)
    ActorBase.PreRestart(Exception, object)
    ActorBase.PostRestart(Exception)
    ActorBase.AroundPostStop()
    ActorBase.PostStop()
    ActorBase.SupervisorStrategy()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public abstract class UntypedActor : ActorBase, IInternalActor

    Properties

    | Edit this page View Source

    Context

    TBD

    Declaration
    protected static IUntypedActorContext Context { get; }
    Property Value
    Type Description
    IUntypedActorContext

    Methods

    | Edit this page View Source

    Become(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.

    | Edit this page View Source

    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() Please note, that in order to not leak memory, make sure every call to BecomeStacked(UntypedReceive) is matched with a call to UnbecomeStacked().

    Declaration
    protected void BecomeStacked(UntypedReceive receive)
    Parameters
    Type Name Description
    UntypedReceive receive

    The new message handler.

    | Edit this page View Source

    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.

    | Edit this page View Source

    Receive(object)

    TBD

    Declaration
    protected override sealed bool Receive(object message)
    Parameters
    Type Name Description
    object message

    TBD

    Returns
    Type Description
    bool

    TBD

    Overrides
    ActorBase.Receive(object)
    | Edit this page View Source

    RunTask(Action)

    TBD

    Declaration
    protected void RunTask(Action action)
    Parameters
    Type Name Description
    Action action

    TBD

    | Edit this page View Source

    RunTask(Func<Task>)

    TBD

    Declaration
    protected void RunTask(Func<Task> action)
    Parameters
    Type Name Description
    Func<Task> action

    TBD

    Implements

    IInternalActor

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET