Search Results for

    Show / Hide Table of Contents

    Class InternalTestActorRef.TestActorCell

    TBD

    Inheritance
    object
    ActorCell
    InternalTestActorRef.TestActorCell
    Implements
    IUntypedActorContext
    IActorContext
    IActorRefFactory
    ICanWatch
    Inherited Members
    ActorCell.ChildrenContainer
    ActorCell.StopFunctionRefs()
    ActorCell.AttachChild(Props, bool, string)
    ActorCell.ActorOf(Props, string)
    ActorCell.Stop(IActorRef)
    ActorCell.ReserveChild(string)
    ActorCell.UnreserveChild(string)
    ActorCell.InitChild(IInternalActorRef)
    ActorCell.SetChildrenTerminationReason(SuspendReason)
    ActorCell.SetTerminated()
    ActorCell.IsNormal
    ActorCell.IsTerminating
    ActorCell.TryGetChildStatsByName(string, out IChildStats)
    ActorCell.TryGetChildStatsByRef(IActorRef, out ChildRestartStats)
    ActorCell.GetSingleChild(string)
    ActorCell.RemoveChildAndGetStateChange(IActorRef)
    ActorCell.UndefinedUid
    ActorCell.Stash(SystemMessage)
    ActorCell.CurrentMessage
    ActorCell.Mailbox
    ActorCell.Dispatcher
    ActorCell.IsLocal
    ActorCell.IsTerminated
    ActorCell.System
    ActorCell.SystemImpl
    ActorCell.Props
    ActorCell.Self
    ActorCell.Parent
    ActorCell.Sender
    ActorCell.HasMessages
    ActorCell.NumberOfMessages
    ActorCell.Init(bool, MailboxType)
    ActorCell.GetChildByName(string)
    ActorCell.ActorSelection(string)
    ActorCell.ActorSelection(ActorPath)
    ActorCell.GetChildren()
    ActorCell.Become(Receive)
    ActorCell.BecomeStacked(Receive)
    ActorCell.UnbecomeStacked()
    ActorCell.CreateNewActorInstance()
    ActorCell.UseThreadContext(Action)
    ActorCell.SendMessage(Envelope)
    ActorCell.SendMessage(IActorRef, object)
    ActorCell.ClearActorCell()
    ActorCell.ClearActor(ActorBase)
    ActorCell.PrepareForNewActor()
    ActorCell.SetActorFields(ActorBase)
    ActorCell.GetCurrentSelfOrNoSender()
    ActorCell.GetCurrentSenderOrNoSender()
    ActorCell.Watch(IActorRef)
    ActorCell.WatchWith(IActorRef, object)
    ActorCell.Unwatch(IActorRef)
    ActorCell.ReceivedTerminated(Terminated)
    ActorCell.WatchedActorTerminated(IActorRef, bool, bool)
    ActorCell.TerminatedQueuedFor(IActorRef, Option<object>)
    ActorCell.TellWatchersWeDied()
    ActorCell.UnwatchWatchedActors(ActorBase)
    ActorCell.AddWatcher(IActorRef, IActorRef)
    ActorCell.RemWatcher(IActorRef, IActorRef)
    ActorCell.AddressTerminated(Address)
    ActorCell.CurrentEnvelopeId
    ActorCell.Invoke(Envelope)
    ActorCell.ReceiveMessageForTest(Envelope)
    ActorCell.ReceiveMessage(object)
    ActorCell.Restart(Exception)
    ActorCell.CreateActorStartedEvent()
    ActorCell.CreateActorStoppedEvent()
    ActorCell.Start()
    ActorCell.PreStart()
    ActorCell.Resume(Exception)
    ActorCell.Stop()
    ActorCell.Suspend()
    ActorCell.SendSystemMessage(ISystemMessage)
    ActorCell.CreateActorRestartedEvent(Exception)
    ActorCell.SetReceiveTimeout(TimeSpan?)
    ActorCell.ReceiveTimeout
    ActorCell.CheckReceiveTimeout(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.TestKit.Internal
    Assembly: Akka.TestKit.dll
    Syntax
    protected class InternalTestActorRef.TestActorCell : ActorCell, IUntypedActorContext, IActorContext, IActorRefFactory, ICanWatch

    Constructors

    | Edit this page View Source

    TestActorCell(ActorSystemImpl, IInternalActorRef, Props, MessageDispatcher, IInternalActorRef)

    TBD

    Declaration
    public TestActorCell(ActorSystemImpl system, IInternalActorRef self, Props props, MessageDispatcher dispatcher, IInternalActorRef parent)
    Parameters
    Type Name Description
    ActorSystemImpl system

    TBD

    IInternalActorRef self

    TBD

    Props props

    TBD

    MessageDispatcher dispatcher

    TBD

    IInternalActorRef parent

    TBD

    Properties

    | Edit this page View Source

    Actor

    TBD

    Declaration
    public object Actor { get; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    TaskScheduler

    Used by this actor to schedule Task instances.

    Declaration
    public override ActorTaskScheduler TaskScheduler { get; }
    Property Value
    Type Description
    ActorTaskScheduler
    Overrides
    ActorCell.TaskScheduler

    Methods

    | Edit this page View Source

    AutoReceiveMessage(Envelope)

    TBD

    Declaration
    protected override void AutoReceiveMessage(Envelope envelope)
    Parameters
    Type Name Description
    Envelope envelope

    TBD

    Overrides
    ActorCell.AutoReceiveMessage(Envelope)
    | Edit this page View Source

    ReceiveMessageForTestAsync(Envelope)

    This is only intended to be called from TestKit's TestActorRef

    Declaration
    public Task ReceiveMessageForTestAsync(Envelope envelope)
    Parameters
    Type Name Description
    Envelope envelope

    TBD

    Returns
    Type Description
    Task
    | Edit this page View Source

    UseThreadContextAsync(Func<Task>)

    TBD

    Declaration
    public Task UseThreadContextAsync(Func<Task> actionAsync)
    Parameters
    Type Name Description
    Func<Task> actionAsync

    TBD

    Returns
    Type Description
    Task

    Implements

    IUntypedActorContext
    IActorContext
    IActorRefFactory
    ICanWatch

    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