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

GSISocketAgent Class Reference

The secure connection agent. More...

Inheritance diagram for GSISocketAgent:

SocketAgent List of all members.

Public Member Functions

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

virtual bool Send (int)
 Send a int value.

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

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

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

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

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

 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


Constructor & Destructor Documentation

GSISocketAgent  ) 
 

Constructor.

virtual ~GSISocketAgent  )  [virtual]
 

Distructor.


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 SocketAgent.

virtual bool Receive int &   )  [virtual]
 

Receive an int value.

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

Reimplemented from 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 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 SocketAgent.


Friends And Related Function Documentation

friend class GSISocketClient [friend]
 

The secure client.

friend class GSISocketServer [friend]
 

The secure server.


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