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 45 of file SocketListener.cc.

SocketListener::~SocketListener (  )  [virtual]

Definition at line 50 of file SocketListener.cc.


Member Function Documentation

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

Definition at line 55 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 90 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 156 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 Tue Mar 4 23:21:48 2008 for OPeNDAP Back End Server (BES) by  doxygen 1.5.1