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

Public Member Functions

def __init__ (self, duration, reply, command_name, request_id, connection_id, operation_id)
 
def duration_micros (self)
 
def reply (self)
 
def __repr__ (self)
 
- Public Member Functions inherited from _CommandEvent
def __init__ (self, command_name, request_id, connection_id, operation_id)
 
def command_name (self)
 
def request_id (self)
 
def connection_id (self)
 
def operation_id (self)
 

Detailed Description

Event published when a command succeeds.

:Parameters:
  - `duration`: The command duration as a datetime.timedelta.
  - `reply`: The server reply document.
  - `command_name`: The command name.
  - `request_id`: The request id for this operation.
  - `connection_id`: The address (host, port) of the server this command
    was sent to.
  - `operation_id`: An optional identifier for a series of related events.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  duration,
  reply,
  command_name,
  request_id,
  connection_id,
  operation_id 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ duration_micros()

def duration_micros (   self)
The duration of this operation in microseconds.

◆ reply()

def reply (   self)
The server failure document for this operation.

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