ConfigurableAddressProvider Class |
<socket-address>
<address>...</address>
<port>...</port>
</socket-address>
Namespace: Tangosol.Net
public class ConfigurableAddressProvider : IAddressProvider
The ConfigurableAddressProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| ConfigurableAddressProvider(IXmlElement) |
Construct an instance of ConfigurableAddressProvider based on the
specified XML element.
| |
| ConfigurableAddressProvider(IXmlElement, Boolean) |
Construct an instance of ConfigurableAddressProvider based on the
specified XML element.
|
| Name | Description | |
|---|---|---|
| NextAddress |
Next available address to use.
| |
| RemoteHostAddress |
The host address of a remote server that client connected to.
| |
| RequestTimeout |
The maximum amount of time to wait.
|
| Name | Description | |
|---|---|---|
| Accept |
This method should be called by the client immediately after it
determines that it can successfully use an address returned by
the NextAddress.
| |
| Configure |
Configure this ConfigurableAddressProvider based on the specified XML.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Reject |
This method should be called by the client immediately after it
determines that an attempt to use an address returned by the
NextAddress has failed.
| |
| Reset |
Make all addresses iterable, starting at the first address.
| |
| Reset(Int32) |
Make all addresses iterable, starting at the index after the specified one.
| |
| ResolveAddress |
Resolve a host and port.
| |
| SortHolders |
Sort the holders in the order to be returned by the
NextAddress property. This implementation randomizes the holder
list for simple load balancing.
| |
| ToString |
Return a string representation of this
ConfigurableAddressProvider.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| f_listHolders |
A list of AddressHolder objects.
| |
| m_isSafe |
Specifies if the provider is only to return resolved addresses.
| |
| m_iterAddr |
An address iterator for the previously resolved address.
| |
| m_last |
Index of the last returned address.
|