Index
Object HARMONI.HarmoniGateway
Connect()
- Connect the client to the Harmoni Gateway.
Disconnect()
- Disconnect the client from the Harmoni 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 Harmoni Gateway.
getName()
- Return the name of the Harmoni Gateway.
getPort()
- This method returns the port at which IOR is published
getSecurity()
-
getService()
- Return the service-name of the Harmoni Gateway.
getWait()
- Query the Gateway's wait attribute.
RequestServer(HarmoniServer, String)
- Request connection to the Harmoni server.
RequestServer(String)
- Request a server from the gateway.
setForward(boolean)
- Allow the Gateway to forward server requests.
setPort(int)
- This method sets the port at which the IOR is published
setSecurity(HarmoniSecurity)
-
setWait(int)
- Set the Gateway wait attribute: the maximum time in millisecs
allowed for Harmoni Server initialization.
Connect
void Connect()
Connect the client to the Harmoni Gateway.
Disconnect
void Disconnect()
Disconnect the client from the Harmoni 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 Harmoni Gateway.
- Returns:
- The hostname on which the Harmoni Gateway is running.
getName
String getName()
Return the name of the Harmoni Gateway.
- Returns:
- The Harmoni 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
HarmoniSecurity getSecurity()
getService
String getService()
Return the service-name of the Harmoni 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(String serverType)
Request a server from the gateway.
RequestServer
void RequestServer(HarmoniServer server,
String serverType)
Request connection to the Harmoni 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.
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(HarmoniSecurity value)
setWait
void setWait(int value)
Set the Gateway wait attribute: the maximum time in millisecs
allowed for Harmoni Server initialization.
- Parameters:
wait - The new wait period.
Index