
    f&                     `    d Z  G d de      Z G d de      Z G d de      Z G d de      Zy	)
zdBase classes that are extended by low level AMQP frames and higher level
AMQP classes and methods.

c                   $    e Zd ZdZd ZdZd Zd Zy)
AMQPObjectz]Base object that is extended by AMQP low level frames and AMQP classes
    and methods.

    Nc                    t               }| j                  j                         D ]6  \  }}t        | j                  |d       |k7  s!|j                  |d|       8 |sd| j                  z  S d| j                  dt        |      dS )N=z<%s><(z)>)list__dict__itemsgetattr	__class__appendNAMEsorted)selfr
   keyvalues       K/var/www/cs2snipe.com/venv/lib/python3.12/site-packages/pika/amqp_object.py__repr__zAMQPObject.__repr__   s{    ----/ 	5JCt~~sD1U:U34	5 DII%% !YYu66    c                 :    || j                   |j                   k(  S y)NF)r	   )r   others     r   __eq__zAMQPObject.__eq__   s    ==ENN22r   )__name__
__module____qualname____doc__r   INDEXr   r    r   r   r   r      s     DE7r   r   c                       e Zd ZdZdZy)ClasszIs extended by AMQP classeszUnextended ClassNr   r   r   r   r   r   r   r   r    r       s
    %Dr   r    c                   *    e Zd ZdZdZdZd Zd Zd Zy)MethodzIs extended by AMQP methodszUnextended MethodFc                      || _         || _        y)zIf the method is a content frame, set the properties and body to
        be carried as attributes of the class.

        :param pika.frame.Properties properties: AMQP Basic Properties
        :param bytes body: The message body

        N)_properties_body)r   
propertiesbodys      r   _set_contentzMethod._set_content)   s     &
r   c                     | j                   S )zWReturn the properties if they are set.

        :rtype: pika.frame.Properties

        )r%   r   s    r   get_propertieszMethod.get_properties4   s     r   c                     | j                   S )zLReturn the message body if it is set.

        :rtype: str|unicode

        )r&   r+   s    r   get_bodyzMethod.get_body<   s     zzr   N)	r   r   r   r   r   synchronousr)   r,   r.   r   r   r   r#   r#   $   s    %DK	 r   r#   c                       e Zd ZdZdZy)
Propertiesz=Class to encompass message properties (AMQP Basic.Properties)zUnextended PropertiesNr!   r   r   r   r1   r1   E   s
    G"Dr   r1   N)r   objectr   r    r#   r1   r   r   r   <module>r3      s;    0J 
Z B# #r   