Show / Hide Table of Contents

Class ConfigurableAddressProvider.AddressHolder

A stateful holder for obtaining an IPEndPoint object.

Inheritance
object
ConfigurableAddressProvider.AddressHolder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
protected class ConfigurableAddressProvider.AddressHolder

Constructors

AddressHolder(string, int)

Construct an AddressHolder for the specified IPEndPoint.

Declaration
public AddressHolder(string host, int port)
Parameters
Type Name Description
string host

The host name or IP.

int port

The port number.

Fields

f_host

The configured address, either hostname or IP address.

Declaration
protected readonly string f_host
Field Value
Type Description
string

f_port

The configured port.

Declaration
protected readonly int f_port
Field Value
Type Description
int

Properties

Host

The host name.

Declaration
public virtual string Host { get; }
Property Value
Type Description
string

IsPending

Whether the underlying address has been accepted.

Declaration
public virtual bool IsPending { get; set; }
Property Value
Type Description
bool

true iff the underlying address has not yet been accepted.

IsReported

Whether this address has already been reported as unresolvable.

Declaration
public virtual bool IsReported { get; set; }
Property Value
Type Description
bool

true iff the underlying address has been reported.

Port

The port.

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

Methods

Validate()

Throw ArgumentException if any values are invalid.

Declaration
public ConfigurableAddressProvider.AddressHolder Validate()
Returns
Type Description
ConfigurableAddressProvider.AddressHolder

this

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.