
    Ϫf                     j    d Z ddlmZ  ej                  d      Z ej
                  d      Zd Zg dZy)z
Backwards compatibility, and utility functions.

In general, this module should not be used, other than by reactor authors
who need to use the 'installReactor' method.
    )errorzConnection donezConnection lostc                     ddl }ddl}d|j                  v rt        j                  d      | |j
                  _        | |j                  d<   y)zt
    Install reactor C{reactor}.

    @param reactor: An object that provides one or more IReactor* interfaces.
    r   Nztwisted.internet.reactorzreactor already installed)systwisted.internetmodulesr   ReactorAlreadyInstalledErrorinternetreactor)r
   r   twisteds      7/usr/lib/python3/dist-packages/twisted/internet/main.pyinstallReactorr      sE     !S[[0001LMM&G.5CKK*+    )CONNECTION_LOSTCONNECTION_DONEr   N)	__doc__r   r   ConnectionDoner   ConnectionLostr   r   __all__ r   r   <module>r      sB    #&%&&'89&%&&'896" Cr   