com.mobileapps.pcre
Class PCRELoadBalancerServer

java.lang.Object
  |
  +--com.mobileapps.pcre.PCREService
        |
        +--com.mobileapps.pcre.PCRELoadBalancerServer

public class PCRELoadBalancerServer
extends PCREService

This class allows you to connect PCREGateways via a Load Balancer so that the report generation activity is fairly dispatched on the different servers.


Constructor Summary
PCRELoadBalancerServer()
          Specify a PCRE Load Balancer Service without host or server name.
PCRELoadBalancerServer(java.lang.String host)
           
PCRELoadBalancerServer(java.lang.String host, java.lang.String name)
           
 
Method Summary
 void Connect()
           
 void Disconnect()
           
 PCREReportServerInfo[] RequestReportServerList()
           
 PCREReportServerInfo SelectReportServer(java.lang.String method)
           
 
Methods inherited from class com.mobileapps.pcre.PCREService
getServerHost, getServerName, getServerObject, getServiceClient, getServiceName, isConnected, setConnected, setServerHost, setServerName, setServerObject, setServiceClient, setServiceName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCRELoadBalancerServer

public PCRELoadBalancerServer()
Specify a PCRE Load Balancer Service without host or server name.

PCRELoadBalancerServer

public PCRELoadBalancerServer(java.lang.String host)

PCRELoadBalancerServer

public PCRELoadBalancerServer(java.lang.String host,
                              java.lang.String name)
Method Detail

Connect

public void Connect()
             throws PCREClientError,
                    PCREServerError
Overrides:
Connect in class PCREService

Disconnect

public void Disconnect()
Overrides:
Disconnect in class PCREService

RequestReportServerList

public PCREReportServerInfo[] RequestReportServerList()
                                               throws PCREClientError,
                                                      PCREServerError

SelectReportServer

public PCREReportServerInfo SelectReportServer(java.lang.String method)
                                        throws PCREClientError,
                                               PCREServerError