Search Results for

    Show / Hide Table of Contents

    Class ClusterClient

    This actor is intended to be used on an external node that is not member of the cluster. It acts like a gateway for sending messages to actors somewhere in the cluster. From the initial contact points it will establish a connection to a ClusterReceptionist somewhere in the cluster. It will monitor the connection to the receptionist and establish a new connection if the link goes down. When looking for a new receptionist it uses fresh contact points retrieved from previous establishment, or periodically refreshed contacts, i.e. not necessarily the initial contact points.

    Inheritance
    object
    ActorBase
    ClusterClient
    Implements
    IInternalActor
    Inherited Members
    ActorBase.AroundPreRestart(Exception, object)
    ActorBase.AroundPreStart()
    ActorBase.AroundPostRestart(Exception, object)
    ActorBase.AroundPostStop()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Tools.Client
    Assembly: Akka.Cluster.Tools.dll
    Syntax
    public sealed class ClusterClient : ActorBase, IInternalActor

    Constructors

    | Edit this page View Source

    ClusterClient(ClusterClientSettings)

    Initializes a new instance of the ClusterClient class.

    Declaration
    public ClusterClient(ClusterClientSettings settings)
    Parameters
    Type Name Description
    ClusterClientSettings settings

    The settings used to configure the client.

    Exceptions
    Type Condition
    ArgumentException

    This exception is thrown when the settings contains no initial contacts.

    Methods

    | Edit this page View Source

    PostStop()

    TBD

    Declaration
    protected override void PostStop()
    Overrides
    ActorBase.PostStop()
    | Edit this page View Source

    Props(ClusterClientSettings)

    Factory method for ClusterClient Props.

    Declaration
    public static Props Props(ClusterClientSettings settings)
    Parameters
    Type Name Description
    ClusterClientSettings settings

    TBD

    Returns
    Type Description
    Props

    TBD

    Exceptions
    Type Condition
    ArgumentNullException

    This exception is thrown when the specified settings is undefined.

    | Edit this page View Source

    Receive(object)

    TBD

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

    TBD

    Returns
    Type Description
    bool

    TBD

    Overrides
    ActorBase.Receive(object)

    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