Search Results for

    Show / Hide Table of Contents

    Class Terminated

    When Death Watch is used, the watcher will receive a Terminated(watched) message when watched is terminated. Terminated message can't be forwarded to another actor, since that actor might not be watching the subject. Instead, if you need to forward Terminated to another actor you should send the information in your own message.

    Inheritance
    object
    Terminated
    Implements
    IAutoReceivedMessage
    IPossiblyHarmful
    IDeadLetterSuppression
    INoSerializationVerificationNeeded
    IEquatable<Terminated>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public sealed class Terminated : IAutoReceivedMessage, IPossiblyHarmful, IDeadLetterSuppression, INoSerializationVerificationNeeded, IEquatable<Terminated>

    Constructors

    | Edit this page View Source

    Terminated(IActorRef, bool, bool)

    Initializes a new instance of the Terminated class.

    Declaration
    public Terminated(IActorRef actorRef, bool existenceConfirmed, bool addressTerminated)
    Parameters
    Type Name Description
    IActorRef actorRef

    the watched actor that terminated

    bool existenceConfirmed

    is false when the Terminated message was not sent directly from the watched actor, but derived from another source, such as when watching a non-local ActorRef, which might not have been resolved

    bool addressTerminated

    the Terminated message was derived from that the remote node hosting the watched actor was detected as unreachable

    Properties

    | Edit this page View Source

    ActorRef

    The watched actor that terminated

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

    AddressTerminated

    Is false when the Terminated message was not sent directly from the watched actor, but derived from another source, such as when watching a non-local ActorRef, which might not have been resolved

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

    ExistenceConfirmed

    The Terminated message was derived from that the remote node hosting the watched actor was detected as unreachable

    Declaration
    public bool ExistenceConfirmed { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Equals(Terminated)

    Declaration
    public bool Equals(Terminated other)
    Parameters
    Type Name Description
    Terminated other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    object.ToString()

    Implements

    IAutoReceivedMessage
    IPossiblyHarmful
    IDeadLetterSuppression
    INoSerializationVerificationNeeded
    IEquatable<T>

    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