public class TcpAddress extends Object
Constructor and Description |
---|
TcpAddress(boolean ssl,
String host,
int port)
Create an instance.
|
TcpAddress(String host,
int port)
Create an instance.
|
public TcpAddress(boolean ssl, String host, int port)
public TcpAddress(String host, int port)
This constructor is equivalent to
TcpAddress(false, host, port)
.
public boolean ssl()
public String host()
public int port()