|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.client.dialogs.HostPort
A struct containing a hostname and a port.
Field Summary | |
String |
host
Description of the Field |
int |
port
Description of the Field |
Constructor Summary | |
HostPort()
Constructor for the HostPort object |
|
HostPort(HostPort hostPort)
Constructor for the HostPort object |
|
HostPort(String host,
int port)
Constructor for the HostPort object |
Method Summary | |
String |
getHost()
Gets the Host attribute of the HostPort object |
int |
getPort()
Gets the Port attribute of the HostPort object |
void |
setHost(String s)
Sets the Host attribute of the HostPort object |
void |
setPort(int i)
Sets the Port attribute of the HostPort object |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
|
Field Detail |
public String host
public int port
Constructor Detail |
public HostPort()
public HostPort(String host, int port)
host
- Description of Parameterport
- Description of Parameterpublic HostPort(HostPort hostPort)
hostPort
- Description of ParameterMethod Detail |
public void setHost(String s)
s
- The new Host valuepublic void setPort(int i)
i
- The new Port valuepublic String getHost()
public int getPort()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |