Class ServiceDiscovery.ResolvedTarget
Inheritance
ServiceDiscovery.ResolvedTarget
Assembly: Akka.Discovery.dll
Syntax
public class ResolvedTarget : INoSerializationVerificationNeeded, IEquatable<ServiceDiscovery.ResolvedTarget>
Constructors
|
Improve this Doc
View Source
ResolvedTarget(String, Nullable<Int32>, 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.
|
Nullable<Int32> |
port |
Optional port number.
|
IPAddress |
address |
Optional IP address of the target. This is used during cluster bootstrap when available.
|
Properties
|
Improve this Doc
View Source
Address
Declaration
public IPAddress Address { get; }
Property Value
|
Improve this Doc
View Source
Host
Declaration
public string Host { get; }
Property Value
|
Improve this Doc
View Source
Port
Declaration
public int? Port { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(ServiceDiscovery.ResolvedTarget)
Declaration
public bool Equals(ServiceDiscovery.ResolvedTarget other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods