Index

Object HARMONI.HarmoniGateway


Method Index

 o Connect()
Connect the client to the Harmoni Gateway.
 o Disconnect()
Disconnect the client from the Harmoni Gateway.
 o 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.
 o getForward()
Return the Gateway's forward attribute.
 o getHost()
Return the host-name of the Harmoni Gateway.
 o getName()
Return the name of the Harmoni Gateway.
 o getPort()
This method returns the port at which IOR is published
 o getSecurity()
 
 o getService()
Return the service-name of the Harmoni Gateway.
 o getWait()
Query the Gateway's wait attribute.
 o RequestServer(HarmoniServer, String)
Request connection to the Harmoni server.
 o RequestServer(String)
Request a server from the gateway.
 o setForward(boolean)
Allow the Gateway to forward server requests.
 o setPort(int)
This method sets the port at which the IOR is published
 o setSecurity(HarmoniSecurity)
 
 o setWait(int)
Set the Gateway wait attribute: the maximum time in millisecs allowed for Harmoni Server initialization.

Method Detail

 o Connect
void Connect()
          Connect the client to the Harmoni Gateway.
 o Disconnect
void Disconnect()
          Disconnect the client from the Harmoni Gateway.
 o 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.
 o getForward
boolean getForward()
          Return the Gateway's forward attribute.
Returns:
True if the Gateway is forwarding requests, false otherwise.
 o getHost
String getHost()
          Return the host-name of the Harmoni Gateway.
Returns:
The hostname on which the Harmoni Gateway is running.
 o getName
String getName()
          Return the name of the Harmoni Gateway.
Returns:
The Harmoni Gateway's name.
 o getPort
int getPort()
          This method returns the port at which IOR is published
Returns:
int, returns the port at which IOR is published
 o getSecurity
HarmoniSecurity getSecurity()
 o getService
String getService()
          Return the service-name of the Harmoni Gateway.
Returns:
The name of this service.
 o getWait
int getWait()
          Query the Gateway's wait attribute.
Returns:
The Gateway's wait attribute.
 o RequestServer
void RequestServer(String serverType)
          Request a server from the gateway.
 o RequestServer
void RequestServer(HarmoniServer server,
                   String serverType)
          Request connection to the Harmoni server.
Parameters:
server - The server that is being requested.
 o setForward
void setForward(boolean value)
          Allow the Gateway to forward server requests.
Parameters:
value - True to allow request forwarding, false otherwise.
 o 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
 o setSecurity
void setSecurity(HarmoniSecurity value)
 o 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