Index

Object HARMONI.HarmoniConfigServer


This class allows you to retrieve configuration information about the Harmoni Server configuration. The information available from this class may be usefull to users who want to write portable applications, without having to hardcode hostnames, etc.

Method Index

 o Connect()
Connect the client to the Harmoni Configuration Server.
 o Disconnect()
Disconnect the client from the Harmoni Configuration Server.
 o getHarmoniDORTempDir(String)
Get the temp directory on the server for DOR run-time temp files.
 o getHarmoniFileServer()
Return the name of the file transfer protocol used by the file return.
 o getHarmoniGatewayName()
Get the default HarmoniGateway name.
 o getHarmoniHostAddress()
Get the IP Address of the host on which the Harmoni Product is installed.
 o getHarmoniHostName()
Get the name of the host on which the Harmoni Product is installed.
 o getHarmoniInfo()
Retrieve all the attribute strings in one API call.
 o getHarmoniInstallDir()
Get the product installation directory, (this is the server side install directory).
 o getHarmoniOutputDir()
Get the name of the directory where output may be put.
 o getHarmoniSampleOutputDir()
Get the name of the directory to be used for sample output.
 o getHarmoniTemplatesDir(String)
Get the name of the directory containing the sample report templates for the serverType specified.
 o getHarmoniVersion()
Find the Harmoni Product version.
 o getHarmoniWebServerDir()
Get the web server directory.
 o getHost()
Return the host-name of the Harmoni Configuration Server.
 o setHost(String)
Set the host-name of the Harmoni Configuration Server.

Method Detail

 o Connect
void Connect()
          Connect the client to the Harmoni Configuration Server. Must have connected client before making this call.
 o Disconnect
void Disconnect()
          Disconnect the client from the Harmoni Configuration Server.
 o getHost
String getHost()
          Return the host-name of the Harmoni Configuration Server.
Returns:
The hostname on which the Harmoni Configuration Server is running.
 o getHarmoniDORTempDir
String getHarmoniDORTempDir(String serverType)
          Get the temp directory on the server for DOR run-time temp files.
Parameters:
serverType - for the required directory.
Returns:
The DOR run-time temp directory.
 o getHarmoniFileServer
String getHarmoniFileServer()
          Return the name of the file transfer protocol used by the file return.
Returns:
The name of the file transfer protocol, currently on FTPServer is provided.
 o getHarmoniGatewayName
String getHarmoniGatewayName()
          Get the default HarmoniGateway name.
Returns:
The default HarmoniGateway name.
 o getHarmoniHostAddress
String getHarmoniHostAddress()
          Get the IP Address of the host on which the Harmoni Product is installed.
Returns:
The ip address of the Harmoni server.
 o getHarmoniHostName
String getHarmoniHostName()
          Get the name of the host on which the Harmoni Product is installed.
Returns:
The hostname of the Harmoni Server.
 o getHarmoniInfo
HarmoniInfo getHarmoniInfo()
          Retrieve all the attribute strings in one API call.
Returns:
All the attribute strings.
 o getHarmoniInstallDir
String getHarmoniInstallDir()
          Get the product installation directory, (this is the server side install directory).
Returns:
The product installation directory.
 o getHarmoniOutputDir
String getHarmoniOutputDir()
          Get the name of the directory where output may be put.
Returns:
The Harmoni Output Directory.
 o getHarmoniSampleOutputDir
String getHarmoniSampleOutputDir()
          Get the name of the directory to be used for sample output.
Returns:
The name of the output directory the sample programs will use.
 o getHarmoniTemplatesDir
String getHarmoniTemplatesDir(String serverType)
          Get the name of the directory containing the sample report templates for the serverType specified.
Returns:
The name of the directory containing the sample report templates.
 o getHarmoniVersion
String getHarmoniVersion()
          Find the Harmoni Product version.
Returns:
The Harmoni Product version.
 o getHarmoniWebServerDir
String getHarmoniWebServerDir()
          Get the web server directory.
Returns:
The web server directory.
 o setHost
void setHost(String address)
          Set the host-name of the Harmoni Configuration Server.
Parameters:
address - The host-name to use.

Index