o
    ¯b  ã                   @   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                   @   s>   e Zd ZdZdZg d¢g d¢g d¢gZejde ¡ id�Z	dS )	ÚOptionsz	[options]zPort Forwarder.)ÚportÚpÚ6666zSet the port number.)ÚhostÚhÚ	localhostzSet the host.)Ú	dest_portÚdi	  zSet the destination port.r	   )Ú
optActionsN)
Ú__name__Ú
__module__Ú__qualname__ÚsynopsisÚlongdescÚoptParametersr   ÚCompletionsÚCompleteHostnamesÚcompData© 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   ÚProxyFactoryÚintr   Úservice)ÚconfigÚfr   r   r   ÚmakeService   s   r   N)	Ú__doc__Útwisted.applicationr   Útwisted.protocolsr   Útwisted.pythonr   r   r   r   r   r   r   Ú<module>   s   