b.s.p.ProtocolThreeDecoder(_StatefulDecoder) : class documentation

Part of bzrlib.smart.protocol View In Hierarchy

Undocumented
Method __init__ Undocumented
Method accept_bytes Decode as much of bytes as possible.
Method done Undocumented
Method next_read_size Undocumented
Method _extract_length_prefixed_bytes Undocumented
Method _extract_prefixed_bencoded_data Undocumented
Method _extract_single_byte Undocumented
Method _state_accept_expecting_protocol_version Undocumented
Method _state_accept_expecting_headers Undocumented
Method _state_accept_expecting_message_part Undocumented
Method _state_accept_expecting_one_byte Undocumented
Method _state_accept_expecting_bytes Undocumented
Method _state_accept_expecting_structure Undocumented
Method _state_accept_reading_unused Undocumented

Inherited from _StatefulDecoder:

Method _get_in_buffer Undocumented
Method _get_in_bytes Grab X bytes from the input_buffer.
Method _set_in_buffer Undocumented
def __init__(self, message_handler, expect_version_marker=False):
Undocumented
def accept_bytes(self, bytes):
Decode as much of bytes as possible.

If 'bytes' contains too much data it will be appended to self.unused_data.

finished_reading will be set when no more data is required. Further data will be appended to self.unused_data.

def _extract_length_prefixed_bytes(self):
Undocumented
def _extract_prefixed_bencoded_data(self):
Undocumented
def _extract_single_byte(self):
Undocumented
def _state_accept_expecting_protocol_version(self):
Undocumented
def _state_accept_expecting_headers(self):
Undocumented
def _state_accept_expecting_message_part(self):
Undocumented
def _state_accept_expecting_one_byte(self):
Undocumented
def _state_accept_expecting_bytes(self):
Undocumented
def _state_accept_expecting_structure(self):
Undocumented
def done(self):
Undocumented
def _state_accept_reading_unused(self):
Undocumented
def next_read_size(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.