Index

Object HARMONI.HarmoniClient


Variable Index

 o CRYSTAL7
Crystal 7 Server Type
 o CRYSTAL9
Crystal 9 Server Type
 o folder
folder variable
 o HARMONI_FAIL
Failure return code.
 o HARMONI_NAME
The default Harmoni name
 o HARMONI_OK
Successful return code.
 o priority
priority variable
 o PRIORITY_HIGH
HIGH PRIORITY variable
 o PRIORITY_LOW
LOW PRIORITY variable
 o PRIORITY_MEDIUM
MEDIUM PRIORITY variable
 o verbose
verbose variable
 o WORD
Word Server Type

Method Index

 o Connect()
Connect client to selected Harmoni services.
 o Connect(boolean)
Connect client to selected Harmoni services.
 o Connected(String)
Is the Client connected to named service.
 o Disconnect()
Disconnect client from all Harmoni services.
 o GetAPI(String)
Get an API object from the registry.
 o getArchiveFileReturnOption()
Getter method for zipFlag member.
 o getClientName()
Getter method for clientName member
 o getConfigServer()
Returns the config server object associated with this client.
 o getDisableServerTimeout()
Getter method for disableServerTimeout flag.
 o getFolder()
Getter method for folder member
 o getGateway()
Returns the gateway server object associated with this client.
 o getHost()
Return the Harmoni client's host IP-address.
 o getLog()
Return the Harmoni client's log
 o getName()
Return the client's name.
 o getORB()
Return the client orb.
 o getPOA()
 
 o GetPrinterInfo(String, StringBuffer, HarmoniDEVMODE)
This method returns the printer Info given the Printer Name
 o GetPrinterNames()
This method returns the names of the printers attached to the report server
 o getPriority()
Getter method for priority member.
 o getServer()
Returns the Harmoniserver object associated with this client.
 o getServerType()
 
 o GetService(String)
Get a service from the client's registry.
 o getSharedORB()
Get the shared ORB instance.
 o getVerbose()
Getter method for verbose member
 o OpenCrystalEngine()
Acquire a print-engine for this client.
 o OpenWordEngine()
Acquire a print-engine for this client.
 o PutAPI(String, Object)
Put an API object into the registry.
 o PutService(HarmoniService)
Enter a Harmoni service in the client's registry.
 o Quit()
Short-hand for Quit(HarmoniClient.Harmoni_OK).
 o Quit(int)
Disconnect client from all Harmoni services.
 o RemoveAPI(String)
Remove an API object from the registry.
 o RemoveService(String)
Remove a service from the client's registry.
 o ResetReportServer(HarmoniReportServerInfo)
 
 o SelectReportServer(String)
Use the Load balancer to select a Gateway by the given method.
 o setArchiveFileReturnOption(boolean)
Setter method for zipFlag member.
 o setClientName(String)
Setter method for clientName member
 o setConfigServer(HarmoniConfigServer)
Sets the config server object associated with this client.
 o setDisableServerTimeout(boolean)
Setter method for disableServerTimeout flag.
 o setFolder(String)
Setter method for folder member
 o setGatewayServer(HarmoniGateway)
Sets the gateway server object associated with this client.
 o setLog(LogService)
 
 o setName(String)
Set the client's name.
 o setPriority(int)
Setter method for priority member.
 o setReportEngineServer(HarmoniServer)
Sets the Harmoniserver object associated with this client.
 o setServerType(String)
 
 o setSharedORB(ORB)
Set the shared ORB instance.
 o setVerbose(boolean)
Setter method for verbose member
 o Terminate()
Short-hand for Terminate(Harmoni_FAIL);
 o Terminate(int)
Terminate the client application.

Field Detail

 o HARMONI_OK
int HARMONI_OK
          Successful return code.
 o HARMONI_FAIL
int HARMONI_FAIL
          Failure return code.
 o HARMONI_NAME
String HARMONI_NAME
          The default Harmoni name
 o PRIORITY_HIGH
int PRIORITY_HIGH
          HIGH PRIORITY variable
 o PRIORITY_MEDIUM
int PRIORITY_MEDIUM
          MEDIUM PRIORITY variable
 o PRIORITY_LOW
int PRIORITY_LOW
          LOW PRIORITY variable
 o CRYSTAL7
String CRYSTAL7
          Crystal 7 Server Type
 o CRYSTAL9
String CRYSTAL9
          Crystal 9 Server Type
 o WORD
String WORD
          Word Server Type
 o priority
int priority
          priority variable
 o verbose
boolean verbose
          verbose variable
 o folder
String folder
          folder variable

Method Detail

 o Connect
void Connect()
          Connect client to selected Harmoni services. Clients should override.
 o Connect
void Connect(boolean useLoadBalancer)
          Connect client to selected Harmoni services. Clients should override.
Parameters:
useLoadBalancer - Boolean value used to connect a report server via a load balancer.
 o Connected
boolean Connected(String name)
          Is the Client connected to named service. Clients may override.
Parameters:
name - The name of the service to test for.
Returns:
True if connected, false otherwise.F
 o Disconnect
void Disconnect()
          Disconnect client from all Harmoni services. Clients may override.
 o GetAPI
Object GetAPI(String name)
          Get an API object from the registry.
Parameters:
name - The name of the object to be retrieved.
Returns:
The API object.
 o getConfigServer
HarmoniConfigServer getConfigServer()
          Returns the config server object associated with this client.
Returns:
com.dynalivery.Harmoni.HarmoniConfigServer
 o getGateway
HarmoniGateway getGateway()
          Returns the gateway server object associated with this client.
Returns:
com.dynalivery.Harmoni.HarmoniGateway
 o getLog
LogService getLog()
          Return the Harmoni client's log
 o setLog
void setLog(LogService logger)
 o getServerType
String getServerType()
 o setServerType
void setServerType(String typ)
 o getHost
String getHost()
          Return the Harmoni client's host IP-address. Return null if the address cannot be derived.
Returns:
The host IP-address, or null on error.
 o getName
String getName()
          Return the client's name.
Returns:
The clients name.
 o getORB
ORB getORB()
          Return the client orb.
Returns:
The orb in use.
 o getPOA
POA getPOA()
 o GetPrinterInfo
String[] GetPrinterInfo(String printerName,
                        StringBuffer driverName,
                        HarmoniDEVMODE devMode)
          This method returns the printer Info given the Printer Name
Parameters:
printerName, - Name of the Printer as String
driverName, - Holds the Driver Name of the Printer Name given as input
HarmoniMode, - Holds the HarmoniDEVMODE of this Printer
Returns:
String[], the String array consists of set of ports supported by this printer
 o GetPrinterNames
String[] GetPrinterNames()
          This method returns the names of the printers attached to the report server
 o getServer
HarmoniServer getServer()
          Returns the Harmoniserver object associated with this client.
Returns:
com.dynalivery.harmoni.HarmoniServer
 o GetService
HarmoniService GetService(String name)
          Get a service from the client's registry.
Parameters:
name - The name of the service requested.
Returns:
The matching service, or null on error.
 o OpenWordEngine
WordEngine OpenWordEngine()
          Acquire a print-engine for this client.
Returns:
The new HarmoniEngine object.
 o OpenCrystalEngine
PCREEngine OpenCrystalEngine()
          Acquire a print-engine for this client.
Returns:
The new HarmoniEngine object.
 o PutAPI
void PutAPI(String name,
            Object api)
          Put an API object into the registry.
Parameters:
name - The name of the API object.
api - The API object to be entered.
 o PutService
void PutService(HarmoniService service)
          Enter a Harmoni service in the client's registry. Also creates a link to this client from the service.
Parameters:
service - The service that is going to be used.
 o Quit
void Quit()
          Short-hand for Quit(HarmoniClient.Harmoni_OK).
 o Quit
void Quit(int code)
          Disconnect client from all Harmoni services. Clients should override.
Parameters:
code - The termination code.
 o RemoveAPI
void RemoveAPI(String name)
          Remove an API object from the registry.
Parameters:
name - The name of the API object to be removed.
 o RemoveService
void RemoveService(String name)
          Remove a service from the client's registry.
Parameters:
name - The name of the service to remove.
 o ResetReportServer
void ResetReportServer(HarmoniReportServerInfo rsinfo)
 o SelectReportServer
void SelectReportServer(String method)
          Use the Load balancer to select a Gateway by the given method.
 o setConfigServer
void setConfigServer(HarmoniConfigServer newConfigServer)
          Sets the config server object associated with this client.
Parameters:
newConfigServer - com.dynalivery.harmoni.HarmoniConfigServer
 o setGatewayServer
void setGatewayServer(HarmoniGateway newGatewayServer)
          Sets the gateway server object associated with this client.
Parameters:
newGatewayServer - com.dynalivery.harmoni.HarmoniGateway
 o setName
void setName(String name)
          Set the client's name.
Parameters:
name - The new name for this client.
 o setReportEngineServer
void setReportEngineServer(HarmoniServer newReportEngineServer)
          Sets the Harmoniserver object associated with this client.
Parameters:
newReportEngineServer - com.dynalivery.harmoni.HarmoniServer
 o Terminate
void Terminate()
          Short-hand for Terminate(Harmoni_FAIL);
 o Terminate
void Terminate(int code)
          Terminate the client application.
Parameters:
code - The termination code.
 o setPriority
void setPriority(int clientPriority)
          Setter method for priority member.
Parameters:
clientPriority - static integer variable
 o getPriority
int getPriority()
          Getter method for priority member.
Returns:
priority member
 o setArchiveFileReturnOption
void setArchiveFileReturnOption(boolean zipOption)
          Setter method for zipFlag member.
Parameters:
zipOption - boolean
 o getArchiveFileReturnOption
boolean getArchiveFileReturnOption()
          Getter method for zipFlag member.
Returns:
zipFlag member
 o setDisableServerTimeout
void setDisableServerTimeout(boolean timeoutFlag)
          Setter method for disableServerTimeout flag.
Parameters:
disableServerTimeout - boolean
 o getDisableServerTimeout
boolean getDisableServerTimeout()
          Getter method for disableServerTimeout flag.
Returns:
disableServerTimeout member
 o getSharedORB
ORB getSharedORB()
          Get the shared ORB instance.
Returns:
shrOrb
 o setSharedORB
void setSharedORB(ORB theSharedORB)
          Set the shared ORB instance.
Parameters:
org.omg.CORBA.ORB -
 o getVerbose
boolean getVerbose()
          Getter method for verbose member
Returns:
verbose
 o setVerbose
void setVerbose(boolean value)
          Setter method for verbose member
Parameters:
verbose -
 o getClientName
String getClientName()
          Getter method for clientName member
Returns:
clientName
 o setClientName
void setClientName(String value)
          Setter method for clientName member
Parameters:
clientName -
 o getFolder
String getFolder()
          Getter method for folder member
Returns:
folder
 o setFolder
void setFolder(String value)
          Setter method for folder member
Parameters:
folder -

Index