|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.dynalivery.harmoni.HarmoniClient
|
+--com.dynalivery.harmoni.HarmoniApplicationClient
| Fields inherited from class com.dynalivery.harmoni.HarmoniClient |
CRYSTAL7,
CRYSTAL9,
folder,
HARMONI_FAIL,
HARMONI_NAME,
HARMONI_OK,
priority,
PRIORITY_HIGH,
PRIORITY_LOW,
PRIORITY_MEDIUM,
verbose,
WORD |
| Constructor Summary | |
HarmoniApplicationClient()
Construct a HarmoniApplicationClient. |
|
HarmoniApplicationClient(LogService logger)
Construct a HarmoniApplicationClient. |
|
| Method Summary | |
void |
Connect(java.lang.String host,
int port,
java.lang.String serverType,
LoadBalanceInfo lb,
org.omg.CORBA.ORB cltOrb,
java.lang.String[] args,
java.util.Properties props)
Connect client to Report Server. |
void |
ConnectToHost(java.lang.String host,
java.lang.String serverType)
Connect client to Report Server. |
void |
ConnectUsingLoadBalance(java.lang.String serverType,
LoadBalanceInfo lb)
Connect client to Report Server. |
void |
Disconnect()
Disconnect client from all Report Server services. |
boolean |
isRetrieveMode()
Getter method for retrieveMode member. |
void |
Quit()
Short-hand for Quit(HarmoniClient.HARMONI_OK). |
void |
Quit(int code)
Disconnect client and release server resources. |
void |
setRetrieveMode(boolean newRetrieveMode)
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. |
| Methods inherited from class com.dynalivery.harmoni.HarmoniClient |
Connect,
Connect,
Connected,
GetAPI,
getArchiveFileReturnOption,
getClientName,
getConfigServer,
getDisableServerTimeout,
getFolder,
getGateway,
getHost,
getLog,
getName,
getORB,
GetPrinterInfo,
GetPrinterNames,
getPriority,
getServer,
getServerType,
GetService,
getSharedORB,
getVerbose,
OpenCrystalEngine,
OpenWordEngine,
PutAPI,
PutService,
RemoveAPI,
RemoveService,
ResetReportServer,
SelectReportServer,
setArchiveFileReturnOption,
setClientName,
setConfigServer,
setDisableServerTimeout,
setFolder,
setGatewayServer,
setLog,
setName,
setPriority,
setReportEngineServer,
setServerType,
setSharedORB,
setVerbose,
Terminate,
Terminate |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public HarmoniApplicationClient()
public HarmoniApplicationClient(LogService logger)
console - The application console class.| Method Detail |
public void ConnectToHost(java.lang.String host,
java.lang.String serverType)
throws HarmoniError,
HarmoniClientError,
GatewayShuttingDown
host - The name of the Report Server to connect toserverType - The type of Server to connect to ("word")
public void ConnectUsingLoadBalance(java.lang.String serverType,
LoadBalanceInfo lb)
throws HarmoniError,
HarmoniClientError,
GatewayShuttingDown
serverType - The type of Server to connect to ("word")lb - A LoadBalanceInfo object that gives properties for connecting to the Load Balance Server
public void Connect(java.lang.String host,
int port,
java.lang.String serverType,
LoadBalanceInfo lb,
org.omg.CORBA.ORB cltOrb,
java.lang.String[] args,
java.util.Properties props)
throws HarmoniError,
GatewayShuttingDown
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 ServercltOrb - 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.
public void Disconnect()
throws HarmoniError
public boolean isRetrieveMode()
public void Quit()
public void Quit(int code)
code - The termination code. Suggested values:
HarmoniClient.HARMONI_OK, HarmoniClient.HARMONI_FAILpublic void setRetrieveMode(boolean newRetrieveMode)
newRetrieveMode - boolean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||