org.objectweb.cjdbc.driver
Class Driver.ControllerInfo

java.lang.Object
  extended byorg.objectweb.cjdbc.driver.Driver.ControllerInfo
Enclosing class:
Driver

protected class Driver.ControllerInfo
extends java.lang.Object


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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hostname

java.lang.String hostname

port

int port
Constructor Detail

Driver.ControllerInfo

public Driver.ControllerInfo()
Creates a ControllerInfo object

Method Detail

getHostname

public java.lang.String getHostname()
Get the hostname where the controller is running

Returns:
controller hostname

getPort

public int getPort()
Get the port number on which the controller is listening.

Returns:
port number.

setHostname

public void setHostname(java.lang.String string)
Set the controller hostname.

Parameters:
string - hostname to set

setPort

public void setPort(int port)
Set the port number.

Parameters:
port - port number


Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.