|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bluestream.xdb.ServerConnectInfo
Holds information about a server.
| Field Summary | |
String |
m_hostName
|
String |
m_name
|
int |
m_port
|
| Constructor Summary | |
ServerConnectInfo()
|
|
ServerConnectInfo(String name,
String hostName,
int port)
Constructs a new ServerInfo will all the required variables. |
|
| Method Summary | |
String |
getHostName()
Get the host name or IP address of this server. |
String |
getName()
Get the display name of this server. |
int |
getPort()
Get the port number that this server listens on. |
void |
setHostName(String hostName)
Set the fully qualified host name or IP address of this server. |
void |
setName(String name)
Set the display name of this server. |
void |
setPort(int port)
Set the port number that this server listens on. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public String m_name
public String m_hostName
public int m_port
| Constructor Detail |
public ServerConnectInfo()
public ServerConnectInfo(String name,
String hostName,
int port)
name - Name (label) for this server.hostName - Hostname or IP address of the server. This
must resolve to an actual host. Valid examples
are: www.bluestream.com, 209.53.147.6 .port - The port number which the DB Server is listening on.| Method Detail |
public void setName(String name)
name - Display name.public String getName()
public void setHostName(String hostName)
hostName - Host name of IP address of this server.public String getHostName()
public void setPort(int port)
port - Port number.public int getPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||