
    Vh                     \    d Z ddlmZ ddlmZ ddlmZ  G d dej                        Zd Zy)	z9
Support module for making a port forwarder with twistd.
    )strports)portforward)usagec                   r    e Zd ZdZdZg dg dg dgZ ej                  d ej                         i      Z	y)	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     G/home/dcms/DCMS/lib/python3.12/site-packages/twisted/tap/portforward.pyr   r      sA    H H53=M !u  V5LU5L5L5N,OPHr   r   c                 ~    t        j                  | d   t        | d               }t        j                  | d   |      S )Nr   r   r   )r   ProxyFactoryintr   service)configfs     r   makeServicer#      s9      VK5H1IJAF6NA..r   N)	__doc__twisted.applicationr   twisted.protocolsr   twisted.pythonr   r   r#   r   r   r   <module>r(      s,    ) )  	Qemm 	Q/r   