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

Public Member Functions

def __init__ (self, data, address, socket_info, pool, request_id, duration, from_command, docs)
 
def socket_info (self)
 
def pool (self)
 
- Public Member Functions inherited from Response
def __init__ (self, data, address, request_id, duration, from_command, docs)
 
def data (self)
 
def address (self)
 
def request_id (self)
 
def duration (self)
 
def from_command (self)
 
def docs (self)
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  data,
  address,
  socket_info,
  pool,
  request_id,
  duration,
  from_command,
  docs 
)
Represent a response to an exhaust cursor's initial query.

:Parameters:
  - `data`:  A network response message.
  - `address`: (host, port) of the source server.
  - `socket_info`: The SocketInfo used for the initial query.
  - `pool`: The Pool from which the SocketInfo came.
  - `request_id`: The request id of this operation.
  - `duration`: The duration of the operation.
  - `from_command`: If the response is the result of a db command.

Member Function Documentation

◆ pool()

def pool (   self)
The Pool from which the SocketInfo came.

◆ socket_info()

def socket_info (   self)
The SocketInfo used for the initial query.

The server will send batches on this socket, without waiting for
getMores from the client, until the result set is exhausted or there
is an error.

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