Search Results for

    Show / Hide Table of Contents

    Class ServiceDiscovery.ResolvedTarget

    Inheritance
    object
    ServiceDiscovery.ResolvedTarget
    Implements
    INoSerializationVerificationNeeded
    IEquatable<ServiceDiscovery.ResolvedTarget>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Discovery
    Assembly: Akka.Discovery.dll
    Syntax
    public class ServiceDiscovery.ResolvedTarget : INoSerializationVerificationNeeded, IEquatable<ServiceDiscovery.ResolvedTarget>

    Constructors

    | Edit this page View Source

    ResolvedTarget(string, int?, IPAddress)

    Resolved target host, with optional port and the IP address.

    Declaration
    public ResolvedTarget(string host, int? port = null, IPAddress address = null)
    Parameters
    Type Name Description
    string host

    The hostname or the IP address of the target.

    int? port

    Optional port number.

    IPAddress address

    Optional IP address of the target. This is used during cluster bootstrap when available.

    Properties

    | Edit this page View Source

    Address

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

    Host

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

    Port

    Declaration
    public int? Port { get; }
    Property Value
    Type Description
    int?

    Methods

    | Edit this page View Source

    Equals(ResolvedTarget)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ServiceDiscovery.ResolvedTarget other)
    Parameters
    Type Name Description
    ServiceDiscovery.ResolvedTarget other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Edit this page View Source

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Implements

    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