U
    ª€lj•  ã                   @   sf   d Z ddlmZ ddlmZ ddlZddlmZ ddlm	Z	 ee	ƒej
dddd	�G d
d„ dƒƒƒZdS )z
IProxyInfo implementation.
é    )ÚOptional)ÚimplementerN)ÚIAddressé   )Ú
IProxyInfoT)ÚfrozenÚslotsZauto_attribsc                   @   s2   e Zd ZU dZeed< ee ed< ee ed< dS )Ú	ProxyInfoaˆ  
    A data container for parsed PROXY protocol information.

    @ivar header: The raw header bytes extracted from the connection.
    @type header: C{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ÚsourceZdestinationN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚbytesÚ__annotations__r   r   © r   r   úC/tmp/pip-unpacked-wheel-aghyhbke/twisted/protocols/haproxy/_info.pyr	      s   
r	   )r   Útypingr   Zzope.interfacer   ÚattrZtwisted.internet.interfacesr   Z_interfacesr   Úsr	   r   r   r   r   Ú<module>   s   