o
    ¼>h†  ã                   @   s@   d Z ddlmZ dd„ Zdd„ ZeeedœZdd	„ Zd
d„ ZdS )zc A temporary placeholder for client-capable strports, until we
sufficient use cases get identified é    )Ú_parsec                 C   s   |t |ƒ| fi fS )z5For the moment, parse TCP or SSL connections the same)Úint)ÚfactoryÚdomainÚport© r   úˆ/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/twisted/words/protocols/jabber/jstrports.pyÚ_parseTCPSSL   s   r	   c                 C   s   || fi fS )Nr   )r   Úaddressr   r   r   Ú
_parseUNIX   s   r   )ÚtcpÚunixÚsslc                 C   s@   t | ƒ\}}|d  ¡ ft|d  |g|dd … ¢R i |¤Ž S )Nr   é   )r   ÚupperÚ_funcs)Údescriptionr   ÚargsÚkwr   r   r   Úparse   s   4r   c                 C   s4   ddl m} t| |ƒ\}}}t||d ƒ|i |¤ŽS )Nr   )ÚinternetÚClient)Útwisted.applicationr   r   Úgetattr)r   r   r   Únamer   r   r   r   r   Úclient   s   r   N)Ú__doc__Útwisted.internet.endpointsr   r	   r   r   r   r   r   r   r   r   Ú<module>   s   