Part of bzrlib.smart.message View In Hierarchy
A message handler for "conventional" requests.
"Conventional" is used in the sense described in doc/developers/network-protocol.txt: a simple message with arguments and an optional body.
Method | __init__ | Undocumented |
Method | protocol_error | Called when there is a protocol decoding error. |
Method | byte_part_received | Called when a 'byte' part is received. |
Method | structure_part_received | Called when a 'structure' part is received. |
Method | bytes_part_received | Called when a 'bytes' part is received. |
Method | end_received | Called when the end of the message is received. |
Method | _args_received | Undocumented |
Method | _error_received | Undocumented |
Inherited from MessageHandler:
Method | headers_received | Called when message headers are received. |
The default implementation just re-raises the exception.
Note that a 'byte' part is a message part consisting of exactly one byte.
Parameters | structure | some structured data, which will be some combination of list, dict, int, and str objects. |
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.