class Authenticate.HostPort extends Object
Modifier and Type | Field and Description |
---|---|
private String |
mHost
The host at which the server is running.
|
private int |
mPort
The port at which the server is running.
|
Constructor and Description |
---|
HostPort(String host,
int port)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Returns the host associated with this object.
|
int |
getPort()
Returns the port associated with this object.
|
String |
toString()
Returns the string version of this object.
|
private String mHost
private int mPort
public HostPort(String host, int port)
public String getHost()
public int getPort()