OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, address, connection_id, reason) |
def | reason (self) |
def | __repr__ (self) |
![]() | |
def | __init__ (self, address, connection_id) |
def | address (self) |
def | connection_id (self) |
Published when a Connection is closed. :Parameters: - `address`: The address (host, port) pair of the server this Connection is attempting to connect to. - `connection_id`: The integer ID of the Connection in this Pool. - `reason`: A reason explaining why this connection was closed. .. versionadded:: 3.9
def __init__ | ( | self, | |
address, | |||
connection_id, | |||
reason | |||
) |
def __repr__ | ( | self | ) |
Reimplemented from _ConnectionEvent.
def reason | ( | self | ) |
A reason explaining why this connection was closed. The reason must be one of the strings from the :class:`ConnectionClosedReason` enum.