mongo::ListeningSockets Class Reference

#include <sock.h>

List of all members.

Public Member Functions

void add (int sock)
void addPath (string path)
void closeAll ()
 ListeningSockets ()
void remove (int sock)

Static Public Member Functions

static ListeningSocketsget ()

Private Attributes

mongo::mutex _mutex
set< string > * _socketPaths
set< int > * _sockets

Static Private Attributes

static ListeningSockets_instance

Detailed Description

Definition at line 252 of file sock.h.


Constructor & Destructor Documentation

mongo::ListeningSockets::ListeningSockets (  )  [inline]

Definition at line 254 of file sock.h.


Member Function Documentation

void mongo::ListeningSockets::add ( int  sock  )  [inline]

Definition at line 259 of file sock.h.

void mongo::ListeningSockets::addPath ( string  path  )  [inline]

Definition at line 263 of file sock.h.

void mongo::ListeningSockets::closeAll (  )  [inline]

Definition at line 271 of file sock.h.

static ListeningSockets* mongo::ListeningSockets::get (  )  [static]
void mongo::ListeningSockets::remove ( int  sock  )  [inline]

Definition at line 267 of file sock.h.


Member Data Documentation

Definition at line 300 of file sock.h.

Definition at line 297 of file sock.h.

set<string>* mongo::ListeningSockets::_socketPaths [private]

Definition at line 299 of file sock.h.

set<int>* mongo::ListeningSockets::_sockets [private]

Definition at line 298 of file sock.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:55 2013