File: //lib/python3/dist-packages/twisted/words/protocols/jabber/__pycache__/jstrports.cpython-310.pyc
o
�b� � @ s@ d Z ddlmZ dd� Zdd� Zeeed�Zdd � Zd
d� ZdS )
zc A temporary placeholder for client-capable strports, until we
sufficient use cases get identified � )�_parsec C s |t |�| fi fS )z5For the moment, parse TCP or SSL connections the same)�int)�factory�domain�port� r �J/usr/lib/python3/dist-packages/twisted/words/protocols/jabber/jstrports.py�_parseTCPSSL
s r c C s || fi fS )Nr )r �addressr r r �
_parseUNIX s r )�tcp�unix�sslc C s@ t | �\}}|d �� ft|d |g|dd � �R i |�� S )Nr � )r �upper�_funcs)�descriptionr �args�kwr r r �parse s 4r c C s4 ddl 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