Index
Object PCRE.PCREGateway
Connect()
- Connect the client to the PCRE Gateway.
Disconnect()
- Disconnect the client from the PCRE Gateway.
GetAllLoadBalancerServers()
- This method will contact one of the gateway's listed in the pcre.properties file and
ask it for a listing of all load balancer servers on its subnet.
getForward()
- Return the Gateway's forward attribute.
getHost()
- Return the host-name of the PCRE Gateway.
getName()
- Return the name of the PCRE Gateway.
getPort()
- This method returns the port at which IOR is published
getSecurity()
-
getService()
- Return the service-name of the PCRE Gateway.
getWait()
- Query the Gateway's wait attribute.
RequestServer()
- Request a server from the gateway.
RequestServer(PCREServer)
- Request connection to the PCRE server.
setForward(boolean)
- Allow the Gateway to forward server requests.
setHost(String)
- Set the host-name of the PCRE Gateway.
setName(String)
- Set the name of the PCRE Gateway.
setPort(int)
- This method sets the port at which the IOR is published
setSecurity(PCRESecurity)
-
setWait(int)
- Set the Gateway wait attribute: the maximum time in millisecs
allowed for PCRE Server initialization.
Connect
void Connect()
Connect the client to the PCRE Gateway.
Disconnect
void Disconnect()
Disconnect the client from the PCRE Gateway.
GetAllLoadBalancerServers
LoadBalancerServerInfo[] GetAllLoadBalancerServers()
This method will contact one of the gateway's listed in the pcre.properties file and
ask it for a listing of all load balancer servers on its subnet.
getForward
boolean getForward()
Return the Gateway's forward attribute.
- Returns:
- True if the Gateway is forwarding requests, false otherwise.
getHost
String getHost()
Return the host-name of the PCRE Gateway.
- Returns:
- The hostname on which the PCRE Gateway is running.
getName
String getName()
Return the name of the PCRE Gateway.
- Returns:
- The PCRE Gateway's name.
getPort
int getPort()
This method returns the port at which IOR is published
- Returns:
- int, returns the port at which IOR is published
getSecurity
PCRESecurity getSecurity()
getService
String getService()
Return the service-name of the PCRE Gateway.
- Returns:
- The name of this service.
getWait
int getWait()
Query the Gateway's wait attribute.
- Returns:
- The Gateway's wait attribute.
RequestServer
void RequestServer()
Request a server from the gateway.
RequestServer
void RequestServer(PCREServer server)
Request connection to the PCRE server.
- Parameters:
server - The server that is being requested.
setForward
void setForward(boolean value)
Allow the Gateway to forward server requests.
- Parameters:
value - True to allow request forwarding, false otherwise.
setHost
void setHost(String address)
Set the host-name of the PCRE Gateway.
- Parameters:
address - The host-name to use.
setName
void setName(String name)
Set the name of the PCRE Gateway.
- Parameters:
name - The new name of the PCRE Gateway.
setPort
void setPort(int port)
This method sets the port at which the IOR is published
- Parameters:
port, - the port at which the IOR is published
setSecurity
void setSecurity(PCRESecurity value)
setWait
void setWait(int value)
Set the Gateway wait attribute: the maximum time in millisecs
allowed for PCRE Server initialization.
- Parameters:
wait - The new wait period.
Index