U
    ¸~HjN  ã                   @   sF   d Z ddlmZ ddlmZ ddlmZ eeƒG dd„ dejƒƒZdS )zT
Address object for SSH network connections.

Maintainer: Paul Swartz

@since: 12.1
é    )Úimplementer)ÚIAddress)Úutilc                   @   s2   e Zd ZdZdZdd„ Zedœdd„Zdd	„ Zd
S )ÚSSHTransportAddressa   
    Object representing an SSH Transport endpoint.

    This is used to ensure that any code inspecting this address and
    attempting to construct a similar connection based upon it is not
    mislead into creating a transport which is not similar to the one it is
    indicating.

    @ivar address: An instance of an object which implements I{IAddress} to
        which this transport address is connected.
    ©Úaddressc                 C   s
   || _ d S )Nr   )Úselfr   © r	   ú=/tmp/pip-unpacked-wheel-ewod1tgb/twisted/conch/ssh/address.pyÚ__init__$   s    zSSHTransportAddress.__init__)Úreturnc                 C   s   d| j ›d�S )NzSSHTransportAddress(ú)r   ©r   r	   r	   r
   Ú__repr__'   s    zSSHTransportAddress.__repr__c                 C   s   t d| jfƒS )NZSSH)Úhashr   r   r	   r	   r
   Ú__hash__*   s    zSSHTransportAddress.__hash__N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZcompareAttributesr   Ústrr   r   r	   r	   r	   r
   r      s
   r   N)	r   Zzope.interfacer   Ztwisted.internet.interfacesr   Ztwisted.pythonr   ZFancyEqMixinr   r	   r	   r	   r
   Ú<module>   s
   	