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

edg::workload::common::socket_pp::GSISocketServer Class Reference

The secure Server. More...

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

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

Public Methods

 GSISocketServer (int, int=5)
 Constructor. More...

virtual ~GSISocketServer ()
 Destructor. More...

virtual void Close ()
 Close the connection.

virtual GSISocketAgentListen ()
 Listen for incoming connection requests. More...

void RedirectGSIOutput (FILE *fp)
 Redirects the GSI output. More...


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


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 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 Fri May 14 14:18:27 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