Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

GSISocketClient Class Reference

The secure Client. More...

Inheritance diagram for GSISocketClient:

SocketClient List of all members.

Public Member Functions

 GSISocketClient (const std::string &, int)
 Constructor.

virtual ~GSISocketClient ()
 Destructor.

void ServerContact (const std::string &contact)
 Set the server contact.

void DelegateCredentials (bool mode)
 Set whether the client must delegate credentials or not.

virtual bool Open ()
 Open the connection.

virtual bool Close ()
 Close the connection.


Protected Member Functions

bool InitGSIAuthentication (int sock)
 Initialize GSI Authentication.


Detailed Description

The secure Client.

This object acts as Client in the message exchange. It asks the client for connections referencing an agent for secure message exchange.

Author:
Salvatore Monforte salvatore.monforte@ct.infn.it

comments by Marco Pappalardo marco.pappalardo@ct.infn.it and Salvatore Monforte


Constructor & Destructor Documentation

GSISocketClient const std::string &  ,
int 
 

Constructor.

Parameters:
p the secure server port.
b the backlog, that is the maximum number of outstanding connection requests.

virtual ~GSISocketClient  )  [virtual]
 

Destructor.


Member Function Documentation

virtual bool Close  )  [virtual]
 

Close the connection.

Returns:
true for successful close, false otehrwise.

Reimplemented from SocketClient.

void DelegateCredentials bool  mode  )  [inline]
 

Set whether the client must delegate credentials or not.

Parameters:
mode a boolean explainig whether to delegate or not.

bool InitGSIAuthentication int  sock  )  [protected]
 

Initialize GSI Authentication.

This method asks the server for authentication.

Parameters:
sock the socket descriptot
Returns:
true on success, false otherwise.

virtual bool Open  )  [virtual]
 

Open the connection.

Returns:
true for successful opening, false otherwise.

Reimplemented from SocketClient.

void ServerContact const std::string &  contact  )  [inline]
 

Set the server contact.

Parameters:
contact the server contact string to set.


The documentation for this class was generated from the following file:
Generated on Wed Mar 1 00:37:57 2006 for COMMON API - configuration, jobid, ldif2classadi, logger, process, requestad, socket++i, task, utilities by doxygen 1.3.5