OpenQuizz
Une application de gestion des contenus pédagogiques
CursorManager Class Reference
Inheritance diagram for CursorManager:
Collaboration diagram for CursorManager:

Public Member Functions

def __init__ (self, client)
 
def close (self, cursor_id, address)
 

Detailed Description

DEPRECATED - The cursor manager base class.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  client 
)
Instantiate the manager.

:Parameters:
  - `client`: a MongoClient

Member Function Documentation

◆ close()

def close (   self,
  cursor_id,
  address 
)
Kill a cursor.

Raises TypeError if cursor_id is not an instance of (int, long).

:Parameters:
  - `cursor_id`: cursor id to close
  - `address`: the cursor's server's (host, port) pair

.. versionchanged:: 3.0
   Now requires an `address` argument.

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