#include <SocketListener.h>
Inheritance diagram for SocketListener:
Public Member Functions | |
SocketListener () | |
virtual | ~SocketListener () |
virtual void | listen (Socket *s) |
virtual Socket * | accept () |
virtual void | dump (ostream &strm) const |
dumps information about this object |
Definition at line 44 of file SocketListener.h.
SocketListener::SocketListener | ( | ) |
Definition at line 43 of file SocketListener.cc.
SocketListener::~SocketListener | ( | ) | [virtual] |
Definition at line 48 of file SocketListener.cc.
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
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: