#include <coherence/net/ConfigurableAddressProvider.hpp>
Public Types | |
| typedef spec::Handle | Handle | 
| AddressHolder Handle definition.  | |
| typedef spec::View | View | 
| AddressHolder View definition.  | |
| typedef spec::Holder | Holder | 
| AddressHolder Holder definition.  | |
Public Member Functions | |
| AddressHolder::Handle | validate () | 
| Throw IllegalArgumentException if any values are invalid.   | |
| virtual String::View | getHost () const | 
| Return the host name.   | |
| virtual uint16_t | getPort () const | 
| Return the port number.   | |
Protected Member Functions | |
| AddressHolder (String::View vsHost, int32_t nPort) | |
| Construct an AddressHolder for the specified InetSocketAddress.   | |
| AddressHolder () | |
| Create a new AddressHolder instance.  | |
| virtual bool | isPending () const | 
| Check whether or not the underlying address has been accepted.   | |
| virtual void | setPending (bool fPending) | 
| Set or clear the "pending" flag.   | |
| virtual bool | isReported () const | 
| Check whether or not the underlying address has been reported as unresolveable.   | |
| virtual void | setReported (bool fReported) | 
| Set of clear the "reported" flag.   | |
Protected Attributes | |
| FinalView< String > | f_vsHost | 
| The configured address, either hostname or IP address.  | |
| const uint16_t | m_nPort | 
| The configured port.  | |
| bool | m_fPending | 
| A flag indicating that the underlying address has been provided to a client, but has not yet been accepted.  | |
| bool | m_fReported | 
| Specifies if this address has already been reported as unresolved.  | |
| AddressHolder | ( | String::View | vsHost, | |
| int32_t | nPort | |||
| ) |  [protected] | 
        
Construct an AddressHolder for the specified InetSocketAddress.
| sHost | the hostname | |
| nPort | the port number | 
| AddressHolder::Handle validate | ( | ) | 
Throw IllegalArgumentException if any values are invalid.
| virtual bool isPending | ( | ) |  const [protected, virtual] | 
        
Check whether or not the underlying address has been accepted.
| virtual void setPending | ( | bool | fPending | ) |  [protected, virtual] | 
        
Set or clear the "pending" flag.
| fPending | the flag value | 
| virtual bool isReported | ( | ) |  const [protected, virtual] | 
        
Check whether or not the underlying address has been reported as unresolveable.
| virtual void setReported | ( | bool | fReported | ) |  [protected, virtual] | 
        
Set of clear the "reported" flag.
| fReported | the flag value | 
| virtual String::View getHost | ( | ) |  const [virtual] | 
        
Return the host name.
| virtual uint16_t getPort | ( | ) |  const [virtual] | 
        
Return the port number.