|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.driver.Driver.ControllerInfo
Controller related information, namely the host name and the port on which the controller is running.
Field Summary | |
(package private) java.lang.String |
hostname
|
(package private) int |
port
|
Constructor Summary | |
Driver.ControllerInfo()
Creates a ControllerInfo object |
Method Summary | |
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
java.lang.String hostname
int port
Constructor Detail |
public Driver.ControllerInfo()
Method 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 java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |