OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
SocketListener Class Reference

#include <SocketListener.h>

Inheritance diagram for SocketListener:
Inheritance graph
Collaboration diagram for SocketListener:
Collaboration graph

Public Member Functions

virtual Socketaccept ()
 Use the select() system call to wait for an incoming connection. More...
 
virtual void dump (ostream &strm) const
 dumps information about this object More...
 
virtual void listen (Socket *s)
 
 SocketListener ()
 
virtual ~SocketListener ()
 

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

Socket * SocketListener::accept ( )
virtual

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

Definition at line 90 of file SocketListener.cc.

References Socket::getSocketDescriptor(), and Socket::newSocket().

Referenced by PPTServer::initConnection().

Here is the call graph for this function:

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

dumps information about this object

Displays the pointer value of this instance

Parameters
strmC++ i/o stream to dump the information to

Implements BESObj.

Definition at line 156 of file SocketListener.cc.

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

Referenced by PPTServer::dump().

Here is the call graph for this function:

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:


The documentation for this class was generated from the following files: