[ROOT] --> C++Client

class PCREService
    inherited from public virtual PCRESynchronized

This class provides an interface to the various PCRE Services.

Author:
Copyright (c) 2000 Dynalivery Corp., All Rights Reserved.

Version:
2.4.0

Source:
MobileApps\PCRE\CppClient\Include\pcreservice.h

Friends:
 friend class PCREClient ;
 friend class PCREAppClient ;

Methods Index

Connect
Connect this client service provide to its server.
Disconnect
Disconnect this client service from its server.
getServerHost
Get the host upon which the service runs
getServerName
Get the name of the server upon which the service is running
getServerObject
getServiceClient
Return the client instance for the service.
getServiceName
Get the name of the service
isConnected
Test to see if the service is connected.
setConnected
Connect / Disconnect the service.
setServerHost
Set the host address for the server providing the service.
setServerName
Set the name of the server upon which the service is running
setServerObject
setServiceClient
Set the client instance for the service.
setServiceName
Set thename of the service.


Methods

getServiceClient

 PCREClient * getServiceClient ( ) ;

Return the client instance for the service.

Return:
The client instance.

setServiceClient

 void setServiceClient ( PCREClient * client ) ;

Set the client instance for the service.

Parameters:
client The client instance.

getServiceName

 const char * getServiceName ( ) ;

Get the name of the service

Return:
The name of the service.

setServiceName

 void setServiceName ( const char * name ) ;

Set thename of the service.

Parameters:
The name of the service.

getServerHost

 const char * getServerHost ( ) ;

Get the host upon which the service runs

Return:
The hostname upon which the service will run.

setServerHost

 void setServerHost ( const char * address ) ;

Set the host address for the server providing the service.

Parameters:
address The host IP address.

getServerName

 const char * getServerName ( ) ;

Get the name of the server upon which the service is running

Return:
The name of the server.

setServerName

 void setServerName ( const char * name ) ;

Set the name of the server upon which the service is running

Parameters:
The name of the server.

getServerObject

 const CORBA :: Object_ptr getServerObject ( ) ;

setServerObject

 void setServerObject ( CORBA :: Object_ptr obj ) ;

isConnected

 const BOOL isConnected ( ) ;

Test to see if the service is connected.

Return:
True if the service is connected, false otherwise.

setConnected

 void setConnected ( BOOL value ) ;

Connect / Disconnect the service.

Parameters:
value True to connect the service, false to disconnect it.

Connect

 virtual void Connect ( ) = 0 ;

Connect this client service provide to its server.

Disconnect

 virtual void Disconnect ( ) = 0 ;

Disconnect this client service from its server.


Copyright (c) 2000 Dynalivery Corp.