o
    ¯bN  ã                   @   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def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	   ú;/usr/lib/python3/dist-packages/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__'   ó   zSSHTransportAddress.__repr__c                 C   s   t d| jfƒS )NÚSSH)Úhashr   r   r	   r	   r
   Ú__hash__*   r   zSSHTransportAddress.__hash__N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚcompareAttributesr   Ústrr   r   r	   r	   r	   r
   r      s    r   N)	r   Úzope.interfacer   Útwisted.internet.interfacesr   Útwisted.pythonr   ÚFancyEqMixinr   r	   r	   r	   r
   Ú<module>   s   	