U
    
W[                     @   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.
    )portforward)usage)strportsc                   @   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hZ	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   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   ZProxyFactoryintr   service)Zconfigfr   r   r   makeService   s    r   N)	__doc__Ztwisted.protocolsr   Ztwisted.pythonr   Ztwisted.applicationr   r   r   r   r   r   r   <module>   s
   