class Authenticate.HostPort
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.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(java.lang.String host,
int port)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost()
Returns the host associated with this object.
|
int |
getPort()
Returns the port associated with this object.
|
java.lang.String |
toString()
Returns the string version of this object.
|
private java.lang.String mHost
private int mPort
public HostPort(java.lang.String host, int port)
public java.lang.String getHost()
public int getPort()
public java.lang.String toString()
toString
in class java.lang.Object