U
    
W[¡  ã                   @   s8   d Z ddlmZ ddlmZ eeƒG dd„ deƒƒZdS )z
IProxyInfo implementation.
é    )Úimplementeré   )Ú
IProxyInfoc                   @   s   e Zd ZdZdZdd„ ZdS )Ú	ProxyInfoa…  
    A data container for parsed PROXY protocol information.

    @ivar header: The raw header bytes extracted from the connection.
    @type header: bytes
    @ivar source: The connection source address.
    @type source: L{twisted.internet.interfaces.IAddress}
    @ivar destination: The connection destination address.
    @type destination: L{twisted.internet.interfaces.IAddress}
    ©ÚheaderÚsourceÚdestinationc                 C   s   || _ || _|| _d S )Nr   )Úselfr   r   r	   © r   úA/usr/lib/python3/dist-packages/twisted/protocols/haproxy/_info.pyÚ__init__!   s    zProxyInfo.__init__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   r   r   r   r   r      s   r   N)r   Zzope.interfacer   Z_interfacesr   Úobjectr   r   r   r   r   Ú<module>   s   