U
    dR…f¸  ã                   @   s   G d d„ de ƒZdS )c                   @   sP   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ ZdS )ÚTProtocolBasez%Base class for Thrift protocol layer.c                 C   s
   || _ d S ©N)Útrans)Úselfr   © r   ú;/tmp/pip-unpacked-wheel-jqs7l_7o/thriftpy2/protocol/base.pyÚ__init__   s    zTProtocolBase.__init__c                 C   s   t ‚d S r   ©ÚNotImplementedError)r   Úttyper   r   r   Úskip
   s    zTProtocolBase.skipc                 C   s   t ‚d S r   r   ©r   r   r   r   Úread_message_begin   s    z TProtocolBase.read_message_beginc                 C   s   t ‚d S r   r   r   r   r   r   Úread_message_end   s    zTProtocolBase.read_message_endc                 C   s   t ‚d S r   r   )r   Únamer
   Zseqidr   r   r   Úwrite_message_begin   s    z!TProtocolBase.write_message_beginc                 C   s   t ‚d S r   r   r   r   r   r   Úwrite_message_end   s    zTProtocolBase.write_message_endc                 C   s   t ‚d S r   r   ©r   Úobjr   r   r   Úread_struct   s    zTProtocolBase.read_structc                 C   s   t ‚d S r   r   r   r   r   r   Úwrite_struct   s    zTProtocolBase.write_structN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r   r   r   r   r   r      s   r   N)Úobjectr   r   r   r   r   Ú<module>   ó    