| java.net.InetSocketAddress org.continuent.sequoia.driver.ControllerInfo
ControllerInfo | public class ControllerInfo extends InetSocketAddress (Code) | | Controller related information, namely the host address and the port on which
the controller is running.
This class actually extends InetSocketAddress with similar
constructor from name and port, which catches name resolution issues to throw
an UnknownHostException.
A second constructor from InetSocketAddress is available to
create a ControllerInfo from (for example) a udp packet.
author: Emmanuel Cecchet author: version: 1.0 |
Constructor Summary | |
public | ControllerInfo(String hostname, int port) Creates a new ControllerInfo object from a hostname and a
port number by trying to resolve given hostname. | public | ControllerInfo(InetSocketAddress addr) Creates a new ControllerInfo object from a given
InetSocketAddress . |
|
|