Index

Object HARMONI.HarmoniApplicationClient


Method Index

 o Connect(String, int, String, LoadBalanceInfo, ORB, String[], Properties)
Connect client to Report Server.
 o ConnectToHost(String, String)
Connect client to Report Server.
 o ConnectUsingLoadBalance(String, LoadBalanceInfo)
Connect client to Report Server.
 o Disconnect()
Disconnect client from all Report Server services.
 o isRetrieveMode()
Getter method for retrieveMode member.
 o Quit()
Short-hand for Quit(HarmoniClient.HARMONI_OK).
 o Quit(int)
Disconnect client and release server resources.
 o setRetrieveMode(boolean)
  Deprecated

Method Detail

 o ConnectToHost
void ConnectToHost(String host,
                   String serverType)
          Connect client to Report Server.
Parameters:
host - The name of the Report Server to connect to
serverType - The type of Server to connect to ("word")
 o ConnectUsingLoadBalance
void ConnectUsingLoadBalance(String serverType,
                             LoadBalanceInfo lb)
          Connect client to Report Server.
Parameters:
serverType - The type of Server to connect to ("word")
lb - A LoadBalanceInfo object that gives properties for connecting to the Load Balance Server
 o Connect
void Connect(String host,
             int port,
             String serverType,
             LoadBalanceInfo lb,
             ORB cltOrb,
             String args[],
             Properties props)
          Connect client to Report Server. This method is used only for Java users when incompatability in the default ORB is encountered. ConnectToHost and ConnectUsingLoadBalance are the primary methods that are to be used.
Parameters:
host - The name of the machine running the Harmoni Server. You can alternatively pass a dotted decimal IP address of the machine.
port - The port number for connecting to the Harmoni Server (Pass "0" value for a default setting, Used only when there is a port conflict with the default port of 14020)
serverType - The type of the Server supported by Harmoni. (Presently supported options are Crystal-7 : "cr7", Crystal-9 : "cr9" and MS Word 10 : "word")
lb - A LoadBalanceInfo object that gives properties for connecting to the Load Balancing Server
cltOrb - The client customized ORB to be used for this connection. Used when the ORB supplied by Dynalivery has compatability issues with J2EE WebASppServers.
args - Arguments used for creating the customized ORB.
props - Properties needed for creating the customized ORB.
 o Disconnect
void Disconnect()
          Disconnect client from all Report Server services.
 o isRetrieveMode
boolean isRetrieveMode()
          Getter method for retrieveMode member.
Returns:
boolean
 o Quit
void Quit()
          Short-hand for Quit(HarmoniClient.HARMONI_OK).
 o Quit
void Quit(int code)
          Disconnect client and release server resources.
Parameters:
code - The termination code. Suggested values: HarmoniClient.HARMONI_OK, HarmoniClient.HARMONI_FAIL
 o setRetrieveMode
void setRetrieveMode(boolean newRetrieveMode)
Note: setRetrieveMode() is deprecated.As of Parallel Crystal 2.7, replaced by setRetrieveOutputToClientDisk in the HarmoniJob class. This method will still work and will cause all HarmoniJob's associated with this client to retrieve the output to the client disk.

Parameters:
newRetrieveMode - boolean

Index