|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


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) |
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.
| def __init__ | ( | self, | |
| duration, | |||
| reply, | |||
| command_name, | |||
| request_id, | |||
| connection_id, | |||
| operation_id | |||
| ) |
| def __repr__ | ( | self | ) |
| def duration_micros | ( | self | ) |
The duration of this operation in microseconds.
| def reply | ( | self | ) |
The server failure document for this operation.