OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, duration, reply, connection_id, awaited=False) |
def | duration (self) |
def | reply (self) |
def | awaited (self) |
def | __repr__ (self) |
![]() | |
def | __init__ (self, connection_id) |
def | connection_id (self) |
Fired when the server heartbeat fails, either with an "ok: 0" or a socket exception. .. versionadded:: 3.3
def __init__ | ( | self, | |
duration, | |||
reply, | |||
connection_id, | |||
awaited = False |
|||
) |
def __repr__ | ( | self | ) |
Reimplemented from _ServerHeartbeatEvent.
def awaited | ( | self | ) |
Whether the heartbeat was awaited. If true, then :meth:`duration` reflects the sum of the round trip time to the server and the time that the server waited before sending a response.
def duration | ( | self | ) |
The duration of this heartbeat in microseconds.
def reply | ( | self | ) |
A subclass of :exc:`Exception`.