Table of Contents

Module: basic Twisted-0.17.4/twisted/protocols/basic.py

Basic protocols, such as line-oriented, netstring, and 32-bit-int prefixed strings.

Imported modules   
import re
import string
import struct
from twisted.protocols import protocol
from twisted.python import log
Classes   
Int16StringReceiver

A receiver for int16-prefixed strings.

Int32StringReceiver

A receiver for int32-prefixed strings.

LineReceiver

A protocol which has a mode where it receives lines, and a mode where it receives raw data.

NetstringParseError

The incoming data is not in valid Netstring format.

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.


Table of Contents

This document was automatically generated on Sat Apr 20 01:31:04 2002 by HappyDoc version 2.0