Public Member Functions | |
ControllerInfo () | |
String | getHostname () |
int | getPort () |
void | setHostname (String string) |
void | setPort (int port) |
String | toString () |
Package Attributes | |
String | hostname |
int | port |
Definition at line 952 of file Driver.java.
|
Creates a ControllerInfo object Definition at line 960 of file Driver.java. 00961 { 00962 }
|
|
Get the hostname where the controller is running
Definition at line 969 of file Driver.java. Referenced by org.objectweb.cjdbc.driver.Driver.connect(). 00970 {
00971 return hostname;
00972 }
|
|
Get the port number on which the controller is listening.
Definition at line 979 of file Driver.java. Referenced by org.objectweb.cjdbc.driver.Driver.connect(). 00980 {
00981 return port;
00982 }
|
|
Set the controller hostname.
Definition at line 989 of file Driver.java. 00990 { 00991 hostname = string; 00992 }
|
|
Set the port number.
Definition at line 999 of file Driver.java. References org.objectweb.cjdbc.driver.Driver.ControllerInfo.port. 01000 {
01001 this.port = port;
01002 }
|
|
Definition at line 1007 of file Driver.java. Referenced by org.objectweb.cjdbc.driver.Driver.getUrlFromProperties(). 01008 { 01009 return hostname + ":" + port; 01010 }
|