[ROOT] --> C++Client
The PCREGateway class provides connection manangement for the PCREGateway.
friend class PCREClient ; | |
friend class PCREAppClient ; |
PCREGateway
PCREGateway
PCREGateway
Connect
Disconnect
getAPI
getForward
getHost
getName
getSecurity
getService
getWait
RequestServer
RequestServer
setForward
setHost
setName
setSecurity
setWait
PCREGateway ( const char* host , const char* name ) ;
Request a PCREGateway service on a given host and server.
| host | The host machine |
| server | The server name. |
PCREGateway ( const char * host ) ;
Request a PCREGateway service on a given host and unnamed server.
| host | The host machine. |
PCREGateway ( ) ;
Request a PCREGateway service on unnamed host and server.
const char * getName ( ) ;
Retrieve the name of the gateway, this defaults to a psuedo-random number, unless it has been explicitly set.
void setName ( const char * name ) ;
Set the name of the gateway. The gateway name defaults to a psuedo-random number unless the name has been explicitly set.
| name | The name of the gateway. |
const char * getHost ( ) ;
Retrieve the name of the host machine on which the gateway is running.
void setHost ( const char * address ) ;
Set the hostname of the machine on which the gateway is to run.
| address | The host machine on whcih the gateway is to run. |
const char * getService ( ) ;
Retrieve the name of this service.
BOOL getForward ( ) ;
Get the value of the request forwarding property.
void setForward ( BOOL value ) ;
Set the value of the request forwarding property.
| value | The new value of the request-forwarding property. |
int getWait ( ) ;
Get the wait property of this gateway.
void setWait ( int value ) ;
Set the wait property of this gateway.
| value | The new value of the wait property. |
PCRESecurity * getSecurity ( ) ;
Get the security property of this gateway.
void setSecurity ( PCRESecurity * value ) ;
Set the security property of this gateway, this cannot be done after the gateway has connected.
| value | The new value of the security property. |
const GatewayServer_ptr getAPI ( ) ;
void Connect ( ) ;
Connect this gateway to the host that was specified, using the supplied arguments, if any.
void Disconnect ( ) ;
Terminate the connection to this server.
void RequestServer ( PCREServer * server ) ;
Request a server to be opened on the gateway host.
| server | The server that is being requested. |
void RequestServer ( ) ;
Request a server to be opened on the gateway host.