HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/conch/ssh/__pycache__/address.cpython-310.pyc
o

�bN�@sFdZddlmZddlmZddlmZee�Gdd�dej��ZdS)zT
Address object for SSH network connections.

Maintainer: Paul Swartz

@since: 12.1
�)�implementer)�IAddress)�utilc@s2eZdZdZdZdd�Zdefdd�Zdd	�Zd
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.
    ��addresscCs
||_dS)Nr)�selfr�r	�;/usr/lib/python3/dist-packages/twisted/conch/ssh/address.py�__init__$s
zSSHTransportAddress.__init__�returncCsd|j�d�S)NzSSHTransportAddress(�)r�rr	r	r
�__repr__'�zSSHTransportAddress.__repr__cCstd|jf�S)N�SSH)�hashrrr	r	r
�__hash__*rzSSHTransportAddress.__hash__N)	�__name__�
__module__�__qualname__�__doc__�compareAttributesr�strrrr	r	r	r
rsrN)	r�zope.interfacer�twisted.internet.interfacesr�twisted.pythonr�FancyEqMixinrr	r	r	r
�<module>s