Trees | Indices | Help |
|
---|
|
twisted.internet.protocol.BaseProtocol --+ | twisted.internet.protocol.Protocol --+ | twisted.protocols.basic.NetstringReceiver --+ | NetstringParser
Adapts the Twisted netstring support (which assumes it is on a socket)
to work on simple strings, too. Call the feed
method with
arbitrary blocks of data, and override the stringReceived
method to get called for each embedded netstring. The default
implementation collects the netstrings in the list
self.strings
.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
Inherited from Inherited from |
Instance Variables | |
Inherited from |
Method Details |
Override this for notification when each complete string is received.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:48 2012 | http://epydoc.sourceforge.net |