Search Results for

    Show / Hide Table of Contents

    Class Watch

    Creates a deathwatch subscription between Watchee and Watcher.

    Watcher will be notified via a Terminated message when Watchee is stopped. In the case of a remote actor references, a Terminated may also be produced in the event that the association between the two remote actor systems fails.

    Inheritance
    object
    SystemMessage
    Watch
    Implements
    ISystemMessage
    INoSerializationVerificationNeeded
    Inherited Members
    SystemMessage.Unlink()
    SystemMessage.Unlinked
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Dispatch.SysMsg
    Assembly: Akka.dll
    Syntax
    public class Watch : SystemMessage, ISystemMessage, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    Watch(IInternalActorRef, IInternalActorRef)

    Initializes a new instance of the Watch class.

    Declaration
    public Watch(IInternalActorRef watchee, IInternalActorRef watcher)
    Parameters
    Type Name Description
    IInternalActorRef watchee

    The watchee.

    IInternalActorRef watcher

    The watcher.

    Properties

    | Edit this page View Source

    Watchee

    Gets the watchee.

    Declaration
    public IInternalActorRef Watchee { get; }
    Property Value
    Type Description
    IInternalActorRef

    The watchee.

    | Edit this page View Source

    Watcher

    Gets the watcher.

    Declaration
    public IInternalActorRef Watcher { get; }
    Property Value
    Type Description
    IInternalActorRef

    The watcher.

    Methods

    | Edit this page View Source

    Equals(Watch)

    Declaration
    protected bool Equals(Watch other)
    Parameters
    Type Name Description
    Watch 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()

    TBD

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    TBD

    Overrides
    object.ToString()

    Implements

    ISystemMessage
    INoSerializationVerificationNeeded

    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