ó
    Ö›‘h!
  ã            	       óê   • S r SSKJrJr  SSKJr  SSKJrJr  S\R                  4S jr
 SS\S	\R                  S
\\R                     S\4S jjrS\S	\R                  S\R                  4S jrSS/rg)z°
Construct listening port services from a simple string description.

@see: L{twisted.internet.endpoints.serverFromString}
@see: L{twisted.internet.endpoints.clientFromString}
é    )ÚOptionalÚcast)ÚStreamServerEndpointService)Ú	endpointsÚ
interfacesÚreturnc                  óB   • SSK Jn   [        [        R                  U 5      $ )Nr   ©Úreactor)Útwisted.internetr   r   r   ÚIReactorCorer
   s    Ú`C:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/application/strports.pyÚ_getReactorr      s   € Ý(ä”
×'Ñ'¨Ó1Ð1ó    NÚdescriptionÚfactoryr   c                 ón   • Uc
  [        5       n[        [        R                  " X 5      U5      nSUl        U$ )a:  
Return the service corresponding to a description.

@param description: The description of the listening port, in the syntax
    described by L{twisted.internet.endpoints.serverFromString}.
@type description: C{str}

@param factory: The protocol factory which will build protocols for
    connections to this service.
@type factory: L{twisted.internet.interfaces.IProtocolFactory}

@rtype: C{twisted.application.service.IService}
@return: the service corresponding to a description of a reliable stream
    server.

@see: L{twisted.internet.endpoints.serverFromString}
T)r   r   r   ÚserverFromStringÚ_raiseSynchronously)r   r   r   Úsvcs       r   Úservicer      s9   € ð, �Ü“-ˆä
%Ü×"Ò" 7Ó8¸'ó€Cð #€CÔØ€Jr   c                 óš   • SSK Jn  [        R                  " X5      u  p4n[	        [
        R                  [        USU-   5      " U0 UD65      $ )a3  
Listen on a port corresponding to a description.

@param description: The description of the connecting port, in the syntax
    described by L{twisted.internet.endpoints.serverFromString}.
@type description: L{str}

@param factory: The protocol factory which will build protocols on
    connection.
@type factory: L{twisted.internet.interfaces.IProtocolFactory}

@rtype: L{twisted.internet.interfaces.IListeningPort}
@return: the port corresponding to a description of a reliable virtual
    circuit server.

@see: L{twisted.internet.endpoints.serverFromString}
r   r
   Úlisten)r   r   r   Ú_parseServerr   r   ÚIListeningPortÚgetattr)r   r   r   ÚnameÚargsÚkws         r   r   r   7   sH   € õ( )ä×+Ò+¨KÓA�N€D�ÜÜ×!Ñ!¤7¨7°H¸t±OÔ#DÀdÐ#QÈbÑ#Qóð r   r   r   )N)Ú__doc__Útypingr   r   Útwisted.application.internetr   r   r   r   r   r   ÚstrÚIProtocolFactoryr   r   r   Ú__all__© r   r   Ú<module>r'      sœ   ðñ
÷ "å Dß 2ð2�Z×,Ñ,ô 2ð 26ñØðà×(Ñ(ðð �j×-Ñ-Ñ.ðð !õ	ð@ØðØ)×:Ñ:ðà×Ñôð8 �hÐ
�r   