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

Public Member Functions

def __init__ (self, address, reason)
 
def address (self)
 
def reason (self)
 
def __repr__ (self)
 

Detailed Description

Published when the driver's attempt to check out a connection fails.

:Parameters:
 - `address`: The address (host, port) pair of the server this
   Connection is attempting to connect to.
 - `reason`: A reason explaining why connection check out failed.

.. versionadded:: 3.9

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  address,
  reason 
)

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ address()

def address (   self)
The address (host, port) pair of the server this connection is
attempting to connect to.

◆ reason()

def reason (   self)
A reason explaining why connection check out failed.

The reason must be one of the strings from the
:class:`ConnectionCheckOutFailedReason` enum.

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