Search Results for

    Show / Hide Table of Contents

    Interface IUntypedActorContext

    Interface IUntypedActorContext

    Inherited Members
    IActorContext.Self
    IActorContext.Props
    IActorContext.Dispatcher
    IActorContext.Sender
    IActorContext.System
    IActorContext.Parent
    IActorContext.Become(Receive)
    IActorContext.BecomeStacked(Receive)
    IActorContext.UnbecomeStacked()
    IActorContext.Child(string)
    IActorContext.GetChildren()
    IActorContext.SetReceiveTimeout(TimeSpan?)
    IActorContext.ReceiveTimeout
    IActorContext.Stop(IActorRef)
    IActorRefFactory.ActorOf(Props, string)
    IActorRefFactory.ActorSelection(ActorPath)
    IActorRefFactory.ActorSelection(string)
    ICanWatch.Watch(IActorRef)
    ICanWatch.WatchWith(IActorRef, object)
    ICanWatch.Unwatch(IActorRef)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public interface IUntypedActorContext : IActorContext, IActorRefFactory, ICanWatch

    Methods

    | Edit this page View Source

    Become(UntypedReceive)

    Changes the actor's behavior and replaces the current receive handler with the specified handler.

    Declaration
    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
    void BecomeStacked(UntypedReceive receive)
    Parameters
    Type Name Description
    UntypedReceive receive

    The new message handler.

    Extension Methods

    StashFactory.CreateStash(IActorContext, IActorStash)
    StashFactory.CreateStash(IActorContext, Type)
    StashFactory.CreateStash<T>(IActorContext)
    Logging.GetLogger(IActorContext, ILogMessageFormatter)
    ActorRefFactoryExtensions.ActorOf<TActor>(IActorRefFactory, string)
    ActorRefFactoryExtensions.ActorSelection(IActorRefFactory, IActorRef, string)
    ActExtensions.ActorOf(IActorRefFactory, Action<IActorDsl, IActorContext>, string)
    ActExtensions.ActorOf(IActorRefFactory, Action<IActorDsl>, string)
    ActorMaterializerExtensions.Materializer(IActorRefFactory, ActorMaterializerSettings, string)
    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