Home | Trees | Index | Help |
---|
Package twisted :: Package protocols :: Module policies :: Class SpewingProtocol |
|
BaseProtocol
--+ |Protocol
--+ |ProtocolWrapper
--+ | SpewingProtocol
Method Summary | |
---|---|
__init__(self,
factory,
wrappedProtocol)
(inherited from ProtocolWrapper )
| |
(Deprecated) (inherited from Protocol )
| |
Called when the connection is shut down. (inherited from ProtocolWrapper )
| |
Called when a connection is made. (inherited from ProtocolWrapper )
| |
Called whenever data is received. | |
getHost(self)
(inherited from ProtocolWrapper )
| |
getPeer(self)
(inherited from ProtocolWrapper )
| |
loseConnection(self)
(inherited from ProtocolWrapper )
| |
Make a connection to a transport and a server. (inherited from BaseProtocol )
| |
registerProducer(self,
producer,
streaming)
(inherited from ProtocolWrapper )
| |
stopConsuming(self)
(inherited from ProtocolWrapper )
| |
unregisterProducer(self)
(inherited from ProtocolWrapper )
| |
write(self,
data)
| |
writeSequence(self,
data)
(inherited from ProtocolWrapper )
|
Method Details |
---|
dataReceived(self, data)Called whenever data is received. Use this method to translate to a higher-level message. Usually, some callback will be made upon the receipt of each complete protocol message.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:48:36 2003 | http://epydoc.sf.net |