File: //lib/python3/dist-packages/twisted/tap/__pycache__/portforward.cpython-38.pyc
U
W[ � @ sF d Z ddlmZ ddlmZ ddlmZ G dd� dej�Zdd� Zd S )
z9
Support module for making a port forwarder with twistd.
� )�portforward)�usage)�strportsc @ sJ e Zd ZdZdZddddgddd d
gddd
dggZejde�� id�Z dS )�Optionsz [options]zPort Forwarder.�port�pZ6666zSet the port number.�host�hZ localhostz
Set the host.� dest_port�di zSet the destination port.)Z
optActionsN)
�__name__�
__module__�__qualname__ZsynopsisZlongdescZ
optParametersr ZCompletionsZCompleteHostnamesZcompData� r r �9/usr/lib/python3/dist-packages/twisted/tap/portforward.pyr s
�
�r c C s( t �| d t| d ��}t�| d |�S )Nr r
r )r ZProxyFactory�intr �service)Zconfig�fr r r �makeService s r N) �__doc__Ztwisted.protocolsr Ztwisted.pythonr Ztwisted.applicationr r r r r r r �<module> s