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)

    Declaration
    public bool Equals(ServiceDiscovery.ResolvedTarget other)
    Parameters
    Type Name Description
    ServiceDiscovery.ResolvedTarget 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()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    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