#include <SocketListener.h>


Public Member Functions | |
| virtual Socket * | accept () |
| Use the select() system call to wait for an incoming connection. | |
| virtual void | dump (ostream &strm) const |
| dumps information about this object | |
| virtual void | listen (Socket *s) |
| SocketListener () | |
| virtual | ~SocketListener () |
Definition at line 44 of file SocketListener.h.
| SocketListener::SocketListener | ( | ) |
Definition at line 45 of file SocketListener.cc.
| SocketListener::~SocketListener | ( | ) | [virtual] |
Definition at line 50 of file SocketListener.cc.
| 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().

| 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 156 of file SocketListener.cc.
References Socket::dump(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
Referenced by PPTServer::dump().

| 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().

1.6.2-20100208