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

GSISocketServer Class Reference

The secure Server. More...

Inheritance diagram for GSISocketServer:

SocketServer List of all members.

Public Types

enum  limited_proxy_mode_t { normal, multi }

Public Member Functions

 GSISocketServer (int, int=5)
 Constructor.

virtual ~GSISocketServer ()
 Destructor.

virtual void Close ()
 Close the connection.

virtual GSISocketAgentListen ()
 Listen for incoming connection requests.

bool GSISocketServer::AuthenticateAgent (GSISocketAgent *sa)
void RedirectGSIOutput (FILE *fp)
 Redirects the GSI output.

void LimitedProxyMode (limited_proxy_mode_t mode)

Detailed Description

The secure Server.

This object acts as Server in the message exchange. It listens for client connections and, when asked for, it receives, sets and sends back the reference to the agent to be used for secure message exchange.

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

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


Member Enumeration Documentation

enum limited_proxy_mode_t
 

Enumeration values:
normal 
multi 


Constructor & Destructor Documentation

GSISocketServer int  ,
int  = 5
 

Constructor.

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

virtual ~GSISocketServer  )  [virtual]
 

Destructor.

This method must be also implemented by object subclassing server socket.


Member Function Documentation

virtual void Close  )  [virtual]
 

Close the connection.

Reimplemented from SocketServer.

bool GSISocketServer::AuthenticateAgent GSISocketAgent sa  ) 
 

void LimitedProxyMode limited_proxy_mode_t  mode  )  [inline]
 

virtual GSISocketAgent* Listen  )  [virtual]
 

Listen for incoming connection requests.

Accept incoming requests and redirect communication on a dedicated port.

Parameters:
a a reference to the secure GSI Socket Agent sent by Client.
Returns:
the GSI Socket Agent redirecting communication on a dedicated port.

void RedirectGSIOutput FILE *  fp  )  [inline]
 

Redirects the GSI output.

This method allows to define a logging file for GSI.

Parameters:
fp a pinter to a file.


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