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

edg::workload::common::socket_pp::GSISocketAgent Class Reference

The secure connection agent. More...

Inheritance diagram for edg::workload::common::socket_pp::GSISocketAgent:

edg::workload::common::socket_pp::SocketAgent List of all members.

Public Methods

virtual bool Send (const std::string &)
 Send a string value. More...

virtual bool Send (int)
 Send a int value. More...

virtual bool Receive (int &)
 Receive an int value. More...

virtual bool Receive (std::string &)
 Receive a string value. More...

const std::string & CredentialsFile () const
 Return the delegate credential file name. More...

const std::string & CertificateSubject () const
 Return the certificate subject. More...

const std::string & GridmapName () const
 Return the local account name the user is mapped to. More...

 GSISocketAgent ()
 Constructor.

virtual ~GSISocketAgent ()
 Distructor.


Friends

class GSISocketServer
 The secure server.

class GSISocketClient
 The secure client.


Detailed Description

The secure connection agent.

This object acts as agent in the secure-shell-based message exchange. It joins the server and the client in both connection establishment and message exchange.

Author:
Salvatore Monforte salvatore.monforte@ct.infn.it , comments by Marco Pappalardo marco.pappalardo@ct.infn.it and Salvatore Monforte


Member Function Documentation

const std::string& CertificateSubject   const [inline]
 

Return the certificate subject.

Returns:
a string containing the certificate subject.

const std::string& CredentialsFile   const [inline]
 

Return the delegate credential file name.

Returns:
a string containing credential file name.

const std::string& GridmapName   const [inline]
 

Return the local account name the user is mapped to.

Returns:
a string containing the local account name.

virtual bool Receive std::string &    [virtual]
 

Receive a string value.

Parameters:
s  the string to fill.
Returns:
true on success, false otherwise.

Reimplemented from edg::workload::common::socket_pp::SocketAgent.

virtual bool Receive int &    [virtual]
 

Receive an int value.

Parameters:
i  an int to fill.
Returns:
true on success, false otherwise.

Reimplemented from edg::workload::common::socket_pp::SocketAgent.

virtual bool Send int    [virtual]
 

Send a int value.

Parameters:
i  the int value to send.
Returns:
true on success, false otherwise.

Reimplemented from edg::workload::common::socket_pp::SocketAgent.

virtual bool Send const std::string &    [virtual]
 

Send a string value.

Parameters:
s  the string value to send.
Returns:
true on success, false otherwise.

Reimplemented from edg::workload::common::socket_pp::SocketAgent.


The documentation for this class was generated from the following file:
Generated on Fri May 14 14:18:26 2004 for COMMON API - configuration, jobid, ldif2classadi, logger, process, requestad, socket++i, task, utilities by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002