SocketListener Class Reference

#include <SocketListener.h>

Inheritance diagram for SocketListener:

Inheritance graph
[legend]
Collaboration diagram for SocketListener:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SocketListener ()
virtual ~SocketListener ()
virtual void listen (Socket *s)
virtual Socketaccept ()
virtual void dump (ostream &strm) const
 dumps information about this object

Detailed Description

Definition at line 44 of file SocketListener.h.


Constructor & Destructor Documentation

SocketListener::SocketListener (  ) 

Definition at line 43 of file SocketListener.cc.

SocketListener::~SocketListener (  )  [virtual]

Definition at line 48 of file SocketListener.cc.


Member Function Documentation

void SocketListener::listen ( Socket s  )  [virtual]

Definition at line 53 of file SocketListener.cc.

References Socket::getSocketDescriptor(), Socket::isConnected(), Socket::isListening(), and Socket::listen().

Referenced by ServerApp::run().

Here is the call graph for this function:

Socket * SocketListener::accept (  )  [virtual]

Use the select() system call to wait for an incoming connection

Definition at line 87 of file SocketListener.cc.

Referenced by PPTServer::initConnection().

void SocketListener::dump ( ostream &  strm  )  const [virtual]

dumps information about this object

Displays the pointer value of this instance

Parameters:
strm C++ i/o stream to dump the information to

Implements BESObj.

Definition at line 153 of file SocketListener.cc.

References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().

Referenced by PPTServer::dump().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Wed Aug 29 03:04:09 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.5.2