mongo::Listener Class Reference

Inheritance diagram for mongo::Listener:
mongo::MiniWebServer

List of all members.

Public Member Functions

 Listener (const string &name, const string &ip, int port, bool logConnect=true)
void initAndListen ()
virtual void accepted (Socket socket)
virtual void accepted (MessagingPort *mp)
long long getMyElapsedTimeMillis () const
void setAsTimeTracker ()

Static Public Member Functions

static const ListenergetTimeTracker ()
static long long getElapsedTimeMillis ()

Public Attributes

const int _port

Member Function Documentation

long long mongo::Listener::getMyElapsedTimeMillis (  )  const [inline]
Returns:
a rough estimate of elapsed time since the server started

The documentation for this class was generated from the following files:
Generated on Wed Sep 14 01:46:41 2011 for MongoDB by  doxygen 1.6.3