-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
¦îNc @@ sº d d l m Z d d l Z d d l m Z d d l m Z m Z d d l m Z d e
f d „ ƒ YZ d e f d „ ƒ YZ d
e
f d „ ƒ YZ
d e e
f d
„ ƒ YZ d „ Z d S( i ( t absolute_importN( t StringIO( t debugt errors( t muttert MessageHandlerc B@ sM e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( sª Base class for handling messages received via the smart protocol.
As parts of a message are received, the corresponding PART_received method
will be called.
c C@ s
d | _ d S( N( t Nonet headers( t self( ( s8 /usr/lib/python2.7/dist-packages/bzrlib/smart/message.pyt __init__$ s c C@ s
| | _ d S( sy Called when message headers are received.
This default implementation just stores them in self.headers.
N( R ( R R ( ( s8 /usr/lib/python2.7/dist-packages/bzrlib/smart/message.pyt headers_received' s c C@ s t | j ƒ ‚ d S( sŠ Called when a 'byte' part is received.
Note that a 'byte' part is a message part consisting of exactly one
byte.
N( t NotImplementedErrort
byte_received( R t byte( ( s8 /usr/lib/python2.7/dist-packages/bzrlib/smart/message.pyt byte_part_received. s c C@ s t | j ƒ ‚ d S( sÇ Called when a 'bytes' part is received.
A 'bytes' message part can contain any number of bytes. It should not
be confused with a 'byte' part, which is always a single byte.
N( R t bytes_received( R t bytes( ( s8 /usr/lib/python2.7/dist-packages/bzrlib/smart/message.pyt bytes_part_received6 s c C@ s t | j ƒ ‚ d S( sµ Called when a 'structure' part is received.
:param structure: some structured data, which will be some combination
of list, dict, int, and str objects.
N( R R ( R t structure( ( s8 /usr/lib/python2.7/dist-packages/bzrlib/smart/message.pyt structure_part_received>