|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.driver.ControllerInfo
Controller related information, namely the host name and the port on which the controller is running.
Field Summary | |
private java.lang.String |
hostname
|
private int |
port
|
Constructor Summary | |
ControllerInfo()
Creates a ControllerInfo object |
|
ControllerInfo(java.lang.String hostname,
int port)
Creates a new ControllerInfo object |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getHostname()
Get the hostname where the controller is running |
int |
getPort()
Get the port number on which the controller is listening. |
void |
setHostname(java.lang.String string)
Set the controller hostname. |
void |
setPort(int port)
Set the port number. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String hostname
private int port
Constructor Detail |
public ControllerInfo()
public ControllerInfo(java.lang.String hostname, int port)
ControllerInfo
object
hostname
- the controller host nameport
- the controller portMethod Detail |
public java.lang.String getHostname()
public int getPort()
public void setHostname(java.lang.String string)
string
- hostname to setpublic void setPort(int port)
port
- port numberpublic boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |