com.bluestream.xdb
Class ServerConnectInfo

java.lang.Object
  extended bycom.bluestream.xdb.ServerConnectInfo

public class ServerConnectInfo
extends Object

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

m_name

public String m_name

m_hostName

public String m_hostName

m_port

public int m_port
Constructor Detail

ServerConnectInfo

public ServerConnectInfo()

ServerConnectInfo

public ServerConnectInfo(String name,
                         String hostName,
                         int port)
Constructs a new ServerInfo will all the required variables. Note: control port is set by querying the server on the normal port.

Parameters:
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

setName

public void setName(String name)
Set the display name of this server.

Parameters:
name - Display name.

getName

public String getName()
Get the display name of this server.


setHostName

public void setHostName(String hostName)
Set the fully qualified host name or IP address of this server.

Parameters:
hostName - Host name of IP address of this server.

getHostName

public String getHostName()
Get the host name or IP address of this server.


setPort

public void setPort(int port)
Set the port number that this server listens on.

Parameters:
port - Port number.

getPort

public int getPort()
Get the port number that this server listens on.



Copyright 2006 Bluestream Database Software Corp. All Rights Reserved.