Open SiteSearch 4.1.1
Final

ORG.oclc.serverconnect
Interface ServerConnect

All Known Subinterfaces:
AccessServerConnect
All Known Implementing Classes:
ZServer, ILLServer

public abstract interface ServerConnect

The ServerConnect interface defines the methods that must be implemented to add a new server to the JaSSI environment.


Method Summary
 String hostName()
          Retrieves a String containing the host name for the server.
 void init(String name, IniFile ini)
          Initialzes the server by name using the configuration information contained in the IniFile object.
 String serverName()
          Retrieves a String containing the server name for the server.
 int serverPort()
          Retrieves an integer containing the server port for the server.
 String serverType()
          Retrieves a String containing the server type for the server.
 String toString()
          Generates a String representation of this object.
 

Method Detail

init

public void init(String name,
                 IniFile ini)
Initialzes the server by name using the configuration information contained in the IniFile object.
Parameters:
name - the name of the server.
ini - the IniFile object containing the server specific configuration information.

toString

public String toString()
Generates a String representation of this object.
Returns:
String
Overrides:
toString in class Object

hostName

public String hostName()
Retrieves a String containing the host name for the server.
Returns:
String

serverName

public String serverName()
Retrieves a String containing the server name for the server.
Returns:
String

serverPort

public int serverPort()
Retrieves an integer containing the server port for the server.
Returns:
int

serverType

public String serverType()
Retrieves a String containing the server type for the server.
Returns:
String

Open SiteSearch 4.1.1
Final