|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.mobileapps.pcre.PCREClient
|
+--com.mobileapps.pcre.PCREApplicationClient
| Fields inherited from class com.mobileapps.pcre.PCREClient |
PCRE_FAIL,
PCRE_NAME,
PCRE_OK |
| Constructor Summary | |
PCREApplicationClient()
Construct a PCREApplicationClient. |
|
PCREApplicationClient(PCREConsole console)
Construct a PCREApplicationClient. |
|
PCREApplicationClient(PCREConsole console,
java.lang.String host)
Construct a PCREApplicationClient. |
|
PCREApplicationClient(PCREConsole console,
java.lang.String host,
int port,
java.lang.String[] args,
java.util.Properties props,
org.omg.CORBA.ORB orb)
Construct a PCREApplicationClient. |
|
PCREApplicationClient(PCREConsole console,
java.lang.String host,
java.lang.String[] args,
java.util.Properties props)
Construct a PCREApplicationClient. |
|
PCREApplicationClient(PCREConsole console,
java.lang.String host,
java.lang.String[] args,
java.util.Properties props,
org.omg.CORBA.ORB orb)
Construct a PCREApplicationClient. |
|
PCREApplicationClient(java.lang.String host)
Construct a PCREApplicationClient. |
|
PCREApplicationClient(java.lang.String host,
int port)
Construct a PCREApplicationClient. |
|
| Method Summary | |
void |
Connect()
Connect the client to the Report Server. |
void |
Connect(boolean useLoadBalancer)
Connect the client to the Report Server. |
void |
Disconnect()
Disconnect client from all Report Server services. |
PCRELoadBalancerServer |
getLoadBalancerServer()
Return the Load Balancer associated with the client. |
boolean |
isRetrieveMode()
Getter method for retrieveMode member. |
void |
Quit()
Short-hand for Quit(PCREClient.PCRE_OK). |
void |
Quit(int code)
Disconnect client and release server resources. |
PCREReportServerInfo[] |
RequestReportServerList()
|
void |
ResetReportServer(PCREReportServerInfo rsinfo)
Reset the PCREGateway, PCREServer and PCREConfigServer host name as well as the PCREGateway name with the help of PCREReportServerInfo data. |
void |
SelectReportServer(java.lang.String method)
Use the Load balancer to select a Gateway by the given method. |
void |
setRetrieveMode(boolean newRetrieveMode)
Setter method for retrieveMode member. |
| Methods inherited from class com.mobileapps.pcre.PCREClient |
Connected,
DisableScripting,
EnableScripting,
GetAPI,
getApplet,
getAppletHost,
getConfigServer,
getConsole,
getCustomServer,
getDefaultConsole,
getGateway,
getHost,
getName,
getORB,
GetPrinterInfo,
GetPrinterNames,
getServer,
GetService,
getThreadConsole,
InvokeScript,
isAppletClient,
OpenEngine,
OpenEngine,
PutAPI,
PutService,
RemoveAPI,
RemoveService,
setConfigServer,
setCustomServer,
setDefaultConsole,
setGatewayServer,
setName,
setReportEngineServer,
setThreadConsole,
Terminate,
Terminate |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public PCREApplicationClient()
throws PCREClientError
public PCREApplicationClient(PCREConsole console)
throws PCREClientError
console - The application console class.
public PCREApplicationClient(PCREConsole console,
java.lang.String host)
throws PCREClientError
console - The application console class.host - The host ip-address for the Gateway.
public PCREApplicationClient(PCREConsole console,
java.lang.String host,
java.lang.String[] args,
java.util.Properties props)
throws PCREClientError
console - The application console class.host - The host ip-address for the Gateway.args - The command-line arguments.props - The ORB properties.
public PCREApplicationClient(PCREConsole console,
java.lang.String host,
java.lang.String[] args,
java.util.Properties props,
org.omg.CORBA.ORB orb)
throws PCREClientError
console - The application console class.host - The host ip-address for the Gateway.args - The command-line arguments.props - The ORB properties.orb - The client ORB.
public PCREApplicationClient(PCREConsole console,
java.lang.String host,
int port,
java.lang.String[] args,
java.util.Properties props,
org.omg.CORBA.ORB orb)
throws PCREClientError
console - The application console class.host - The host ip-address for the Gateway.port - The port for obtaining the initial reference.args - The command-line arguments.props - The ORB properties.orb - The client ORB.
public PCREApplicationClient(java.lang.String host)
throws PCREClientError
host - The host ip-address for the Gateway.
public PCREApplicationClient(java.lang.String host,
int port)
throws PCREClientError
host - The host ip-address for the Gateway.port - The port for obtaining the initial reference.| Method Detail |
public void Connect()
throws PCREError,
GatewayShuttingDown
public void Connect(boolean useLoadBalancer)
throws PCREError,
GatewayShuttingDown
useLoadBalancer - Boolean value used to connect a report server via a load balancer.
public void Disconnect()
throws PCREError
public PCRELoadBalancerServer getLoadBalancerServer()
public boolean isRetrieveMode()
public void Quit()
public void Quit(int code)
code - The termination code.
public PCREReportServerInfo[] RequestReportServerList()
throws PCREServerError,
PCREClientError
public void ResetReportServer(PCREReportServerInfo rsinfo)
throws PCREClientError
rsinfo - A PCREReportServerInfo containing the new PCREGateway host and name.
public void SelectReportServer(java.lang.String method)
throws PCREClientError,
PCREServerError
public void setRetrieveMode(boolean newRetrieveMode)
newRetrieveMode - boolean
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||