ó
[³XMc           @   sL   d  Z  d d l Z e j d ƒ Z e j d ƒ Z d „  Z d d d g Z d S(	   sÍ   
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.

Maintainer: Itamar Shtull-Trauring
iÿÿÿÿNs   Connection dones   Connection lostc         C   sV   d d l  } d d l } d | j k r9 t j d ƒ ‚ n  |  | j _ |  | j d <d S(   st   
    Install reactor C{reactor}.

    @param reactor: An object that provides one or more IReactor* interfaces.
    iÿÿÿÿNs   twisted.internet.reactors   reactor already installed(   t   twisted.internett   syst   modulest   errort   ReactorAlreadyInstalledErrort   internett   reactor(   R   t   twistedR   (    (    s9   /usr/lib/python2.7/dist-packages/twisted/internet/main.pyt   installReactor   s    t   CONNECTION_LOSTt   CONNECTION_DONER   (   t   __doc__R   t   ConnectionDoneR
   t   ConnectionLostR	   R   t   __all__(    (    (    s9   /usr/lib/python2.7/dist-packages/twisted/internet/main.pyt   <module>   s
   	