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

Public Member Functions

def __init__ (self, command, database_name, *args)
 
def command (self)
 
def database_name (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 starts.

:Parameters:
  - `command`: The command document.
  - `database_name`: The name of the database this command was run against.
  - `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,
  command,
  database_name,
args 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ command()

def command (   self)
The command document.

◆ database_name()

def database_name (   self)
The name of the database this command was run against.

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