File: //usr/lib/python3/dist-packages/twisted/words/protocols/jabber/__pycache__/jstrports.cpython-38.pyc
U
W[� � @ sP d Z ddlmZmZ ddlmZ dd� Zdd� Zeeed�Zd d
� Z dd� Z
d
S )zc A temporary placeholder for client-capable strports, until we
sufficient use cases get identified � )�absolute_import�division)�_parsec C s |t |�| fi fS )z7 For the moment, parse TCP or SSL connections the same )�int)�factoryZdomainZport� r �J/usr/lib/python3/dist-packages/twisted/words/protocols/jabber/jstrports.py�_parseTCPSSL
s r c C s || fi fS )Nr )r Zaddressr r r �
_parseUNIX s r
)ZtcpZunixZsslc C s: t | �\}}|d �� ft|d |f|dd � �|� S )Nr � )r �upper�_funcs)�descriptionr �args�kwr r r �parse s r c C s0 ddl m} t| |�\}}}t||d �||�S )Nr )�internetZClient)Ztwisted.applicationr r �getattr)r r r �namer r r r r �client s r N)�__doc__Z
__future__r r Ztwisted.internet.endpointsr r r
r
r r r r r r �<module> s �