public class HostAndPort extends Object
| Modifier and Type | Field and Description | 
|---|---|
InetAddress | 
host  | 
int | 
port  | 
| Constructor and Description | 
|---|
HostAndPort(InetAddress host,
           int port)
Construct a new instance with the specified host and port 
 | 
public InetAddress host
public int port
public HostAndPort(InetAddress host, int port)
host - - the InetAddress hostport - - the port numberCopyright © 2016. All rights reserved.