Index
Object PCRE.PCREClient
PCRE_FAIL- Failure return code.
PCRE_NAME- The default PCRE name
PCRE_OK- Successful return code.
priority- priority variable
PRIORITY_HIGH- HIGH PRIORITY variable
PRIORITY_LOW- LOW PRIORITY variable
PRIORITY_MEDIUM- MEDIUM PRIORITY variable
Connect()
- Connect client to selected PCRE services.
Connect(boolean)
- Connect client to selected PCRE services.
Connected(String)
- Is the Client is connected to named service.
DisableScripting()
- Disable event-driven scripting for this client.
Disconnect()
- Disconnect client from all PCRE services.
EnableScripting()
- Enable event-driven scripting for this client.
GetAPI(String)
- Get an API object from the registry.
getApplet()
- Return the applet hosting the client.
getAppletHost()
- If the client is running as an applet, return the host-name of the
applet's code-base.
getArchiveFileReturnOption()
- Getter method for zipFlag member.
getConfigServer()
- Returns the config server object associated with this client.
getConsole()
- Return the client's console.
getCustomServer()
- Returns the custom server object associated with this client.
getDefaultConsole()
- Return the default console for the client.
getDisableServerTimeout()
- Getter method for disableServerTimeout flag.
getGateway()
- Returns the gateway server object associated with this client.
getHost()
- Return the PCRE client's host IP-address.
getName()
- Return the client's name.
getORB()
- Return the client orb.
GetPrinterInfo(String, StringBuffer, PCREDEVMODE)
- This method returns the printer Info given the Printer Name
GetPrinterNames()
- This method returns the names of the printers attached to the report server
getPriority()
- Getter method for priority member.
getServer()
- Returns the pcreserver object associated with this client.
GetService(String)
- Get a service from the client's registry.
getSharedORB()
- Get the shared ORB instance.
getThreadConsole()
- Return the console for the current thread.
InvokeScript(PCREScripting, Event, Object)
- Schedule a script triggered by the AWT event.
isAppletClient()
- Is the client is invoked in an applet?
OpenEngine()
- Acquire a print-engine for this client.
OpenEngine(boolean)
- Acquire and optionally open a print-engine for this client.
PutAPI(String, Object)
- Put an API object into the registry.
PutService(PCREService)
- Enter a PCRE service in the client's registry.
Quit()
- Short-hand for Quit(PCREClient.PCRE_OK).
Quit(int)
- Disconnect client from all PCRE services.
RemoveAPI(String)
- Remove an API object from the registry.
RemoveService(String)
- Remove a service from the client's registry.
ResetReportServer(PCREReportServerInfo)
-
SelectReportServer(String)
- Use the Load balancer to select a Gateway by the given method.
setArchiveFileReturnOption(boolean)
- Setter method for zipFlag member.
setConfigServer(PCREConfigServer)
- Sets the config server object associated with this client.
setCustomServer(PCRECustomServer)
- Sets the custom server object associated with this client.
setDefaultConsole(PCREConsole)
- Set the default console for the client.
setDisableServerTimeout(boolean)
- Setter method for disableServerTimeout flag.
setGatewayServer(PCREGateway)
- Sets the gateway server object associated with this client.
setName(String)
- Set the client's name.
setPriority(int)
- Setter method for priority member.
setReportEngineServer(PCREServer)
- Sets the pcreserver object associated with this client.
setSharedORB(ORB)
- Set the shared ORB instance.
setThreadConsole(PCREConsole)
- Set the console for the current thread.
Terminate()
- Short-hand for Terminate(PCRE_FAIL);
Terminate(int)
- Terminate the client application.
PCRE_OK
int PCRE_OK
Successful return code.
PCRE_FAIL
int PCRE_FAIL
Failure return code.
PCRE_NAME
String PCRE_NAME
The default PCRE name
PRIORITY_HIGH
int PRIORITY_HIGH
HIGH PRIORITY variable
PRIORITY_MEDIUM
int PRIORITY_MEDIUM
MEDIUM PRIORITY variable
PRIORITY_LOW
int PRIORITY_LOW
LOW PRIORITY variable
priority
int priority
priority variable
Connect
void Connect()
Connect client to selected PCRE services. Clients should override.
Connect
void Connect(boolean useLoadBalancer)
Connect client to selected PCRE services. Clients should override.
- Parameters:
useLoadBalancer - Boolean value used to connect a report server via a load balancer.
Connected
boolean Connected(String name)
Is the Client is connected to named service. Clients may override.
- Parameters:
name - The name of the service to test for.
- Returns:
- True if connected, false otherwise.F
DisableScripting
void DisableScripting()
Disable event-driven scripting for this client.
Disconnect
void Disconnect()
Disconnect client from all PCRE services. Clients may override.
EnableScripting
void EnableScripting()
Enable event-driven scripting for this client.
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.
getApplet
Applet getApplet()
Return the applet hosting the client.
- Returns:
- The applet the client is running in.
getAppletHost
String getAppletHost()
If the client is running as an applet, return the host-name of the
applet's code-base. Return null if the client is not running as an
applet.
- Returns:
- The applets hostname or null on error.
getConfigServer
PCREConfigServer getConfigServer()
Returns the config server object associated with this client.
- Returns:
- com.dynalivery.pcre.PCREConfigServer
getConsole
PCREConsole getConsole()
Return the client's console.
- Returns:
- The client's console.
getCustomServer
PCRECustomServer getCustomServer()
Returns the custom server object associated with this client.
- Returns:
- com.dynalivery.pcre.PCRECustomServer
getDefaultConsole
PCREConsole getDefaultConsole()
Return the default console for the client.
- Returns:
- The default console.
getGateway
PCREGateway getGateway()
Returns the gateway server object associated with this client.
- Returns:
- com.dynalivery.pcre.PCREGateway
getHost
String getHost()
Return the PCRE client's host IP-address. Return null if the address
cannot be derived.
- Returns:
- The host IP-address, or null on error.
getName
String getName()
Return the client's name.
- Returns:
- The clients name.
getORB
ORB getORB()
Return the client orb.
- Returns:
- The orb in use.
GetPrinterInfo
String[] GetPrinterInfo(String printerName,
StringBuffer driverName,
PCREDEVMODE 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
pcreMode, - Holds the PCREDEVMODE of this Printer
- Returns:
- String[], the String array consists of set of ports supported by this printer
GetPrinterNames
String[] GetPrinterNames()
This method returns the names of the printers attached to the report server
getServer
PCREServer getServer()
Returns the pcreserver object associated with this client.
- Returns:
- com.dynalivery.pcre.PCREServer
GetService
PCREService 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.
getThreadConsole
PCREConsole getThreadConsole()
Return the console for the current thread.
- Returns:
- The console associated with the current thread.
InvokeScript
void InvokeScript(PCREScripting script,
Event evt,
Object arg)
Schedule a script triggered by the AWT event.
isAppletClient
boolean isAppletClient()
Is the client is invoked in an applet?
- Returns:
- True if the client is inside an applet, False otherwise.
OpenEngine
PCREEngine OpenEngine()
Acquire a print-engine for this client.
- Returns:
- The new PCREEngine object.
OpenEngine
PCREEngine OpenEngine(boolean open)
Acquire and optionally open a print-engine for this client.
- Parameters:
open - If true, open the print-engine on the server.
- Returns:
- The PCREEngine.
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.
PutService
void PutService(PCREService service)
Enter a PCRE 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.
Quit
void Quit()
Short-hand for Quit(PCREClient.PCRE_OK).
Quit
void Quit(int code)
Disconnect client from all PCRE services. Clients should override.
- Parameters:
code - The termination code.
RemoveAPI
void RemoveAPI(String name)
Remove an API object from the registry.
- Parameters:
name - The name of the API object to be removed.
RemoveService
void RemoveService(String name)
Remove a service from the client's registry.
- Parameters:
name - The name of the service to remove.
ResetReportServer
void ResetReportServer(PCREReportServerInfo rsinfo)
SelectReportServer
void SelectReportServer(String method)
Use the Load balancer to select a Gateway by the given method.
setConfigServer
void setConfigServer(PCREConfigServer newConfigServer)
Sets the config server object associated with this client.
- Parameters:
newConfigServer - com.dynalivery.pcre.PCREConfigServer
setCustomServer
void setCustomServer(PCRECustomServer newCustomServer)
Sets the custom server object associated with this client.
- Parameters:
newCustomServer - com.dynalivery.pcre.PCRECustomServer
setDefaultConsole
void setDefaultConsole(PCREConsole console)
Set the default console for the client.
- Parameters:
console - The new console for this client.
setGatewayServer
void setGatewayServer(PCREGateway newGatewayServer)
Sets the gateway server object associated with this client.
- Parameters:
newGatewayServer - com.dynalivery.pcre.PCREGateway
setName
void setName(String name)
Set the client's name.
- Parameters:
name - The new name for this client.
setReportEngineServer
void setReportEngineServer(PCREServer newReportEngineServer)
Sets the pcreserver object associated with this client.
- Parameters:
newReportEngineServer - com.dynalivery.pcre.PCREServer
setThreadConsole
void setThreadConsole(PCREConsole console)
Set the console for the current thread.
- Parameters:
console - The new console to associate with this thread.
Terminate
void Terminate()
Short-hand for Terminate(PCRE_FAIL);
Terminate
void Terminate(int code)
Terminate the client application.
- Parameters:
code - The termination code.
setPriority
void setPriority(int clientPriority)
Setter method for priority member.
- Parameters:
clientPriority - static integer variable
getPriority
int getPriority()
Getter method for priority member.
- Returns:
- priority member
setArchiveFileReturnOption
void setArchiveFileReturnOption(boolean zipOption)
Setter method for zipFlag member.
- Parameters:
zipOption - boolean
getArchiveFileReturnOption
boolean getArchiveFileReturnOption()
Getter method for zipFlag member.
- Returns:
- zipFlag member
setDisableServerTimeout
void setDisableServerTimeout(boolean timeoutFlag)
Setter method for disableServerTimeout flag.
- Parameters:
disableServerTimeout - boolean
getDisableServerTimeout
boolean getDisableServerTimeout()
Getter method for disableServerTimeout flag.
- Returns:
- disableServerTimeout member
getSharedORB
ORB getSharedORB()
Get the shared ORB instance.
- Returns:
- shrOrb
setSharedORB
void setSharedORB(ORB theSharedORB)
Set the shared ORB instance.
- Parameters:
org.omg.CORBA.ORB -
Index