MongoDB  2.7.0
Public Member Functions | Static Public Member Functions | List of all members
mongo::AScopedConnection Class Referenceabstract
Inheritance diagram for mongo::AScopedConnection:

Public Member Functions

virtual DBClientBaseget ()=0
virtual void done ()=0
virtual string getHost () const =0
virtual bool ok () const =0

Static Public Member Functions

static int getNumConnections ()

Member Function Documentation

static int mongo::AScopedConnection::getNumConnections ( )
total number of current instances of AScopedConnection
virtual bool mongo::AScopedConnection::ok ( ) const
pure virtual
true iff this has a connection to the db

Implemented in mongo::ScopedDbConnection.

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