t.s.banana : module documentation

Part of twisted.spread View Source

Banana -- s-exp based protocol.

Future Plans: This module is almost entirely stable. The same caveat applies to it as applies to twisted.spread.jelly, however. Read its future plans for more details.
AuthorGlyph Lefkowitz
Class BananaError Undocumented
Function int2b128 Undocumented
Function b1282int Undocumented
Function setPrefixLimit Set the limit on the prefix length for all Banana connections established after this call.
Class Banana No class docstring; 3/11 methods documented
Function encode Encode a list s-expression.
Function decode Decode a banana-encoded string.
def int2b128(integer, stream): (source)
Undocumented
def b1282int(st): (source)
Undocumented
def setPrefixLimit(limit): (source)

Set the limit on the prefix length for all Banana connections established after this call.

The prefix length limit determines how many bytes of prefix a banana decoder will allow before rejecting a potential object as too large.
ParameterslimitThe number of bytes of prefix for banana to allow when decoding. (type: int )
def encode(lst): (source)
Encode a list s-expression.
def decode(st): (source)
Decode a banana-encoded string.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.