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   	