U
    ¹~Hj  ã                   @   sF   d Z ddlmZ ddlmZ ddlmZ G dd„ dejƒZdd„ Zd	S )
z9
Support module for making a port forwarder with twistd.
é    )Ústrports)Úportforward)Úusagec                   @   sJ   e Zd ZdZdZddddgddd	d
gddddggZejde ¡ id�Z	dS )ÚOptionsz	[options]zPort Forwarder.ÚportÚpZ6666zSet the port number.ÚhostÚhÚ	localhostzSet the host.Ú	dest_portÚdi	  zSet the destination port.)Z
optActionsN)
Ú__name__Ú
__module__Ú__qualname__ZsynopsisZlongdescZoptParametersr   ZCompletionsZCompleteHostnamesZcompData© r   r   ú;/tmp/pip-unpacked-wheel-ewod1tgb/twisted/tap/portforward.pyr      s   


ýr   c                 C   s(   t  | d t| d ƒ¡}t | d |¡S )Nr   r   r   )r   ZProxyFactoryÚintr   Zservice)ÚconfigÚfr   r   r   ÚmakeService   s    r   N)	Ú__doc__Ztwisted.applicationr   Ztwisted.protocolsr   Ztwisted.pythonr   r   r   r   r   r   r   Ú<module>   s
   