Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module basic |
|
Basic protocols, such as line-oriented, netstring, and 32-bit-int prefixed strings.
API Stability: semi-stable.
Maintainer: Itamar Shtull-TrauringClasses | |
---|---|
FileSender |
A producer that sends the contents of a file to a consumer. |
Int16StringReceiver |
A receiver for int16-prefixed strings. |
Int32StringReceiver |
A receiver for int32-prefixed strings. |
LineOnlyReceiver |
A protocol that receives only lines. |
LineReceiver |
A protocol that receives lines and/or raw data, depending on mode. |
NetstringReceiver |
This uses djb's Netstrings protocol to break up the input into strings. |
SafeNetstringReceiver |
This class is deprecated, use NetstringReceiver instead. |
StatefulStringProtocol |
A stateful string protocol. |
Exceptions | |
---|---|
NetstringParseError |
The incoming data is not in valid Netstring format. |
Variable Summary | |
---|---|
int |
COMMA = 2 |
int |
DATA = 1 |
int |
DEBUG = 0 |
int |
LENGTH = 0 |
SRE_Pattern |
NUMBER = (\d*)(:?)
|
Variable Details |
---|
COMMA
|
DATA
|
DEBUG
|
LENGTH
|
NUMBER
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:23 2004 | http://epydoc.sf.net |