Trees | Index | Help |
---|
Package twisted :: Package internet :: Module protocol :: Class Protocol |
|
BaseProtocol
--+
|
Protocol
LineReceiver
,
Pynana
Method Summary | |
---|---|
Called when the connection is shut down. | |
Called whenever data is received. | |
Inherited from BaseProtocol | |
Called when a connection is made. | |
Make a connection to a transport and a server. |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy twisted.internet.protoc...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from BaseProtocol | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
int |
connected = 0 |
NoneType |
transport = None |
Method Details |
---|
connectionLost(self, reason=<twisted.python.failure.Failure <class 'twisted.internet....)Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
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.
|
Class Variable Details |
---|
__implemented__
|
__provides__
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jul 30 18:00:09 2007 | http://epydoc.sf.net |