Home | Trees | Index | Help |
---|
Module test_protocol :: Class MyLineProtocol |
|
object
--+ |BaseProtocol
--+ |RawProtocol
--+ |LineProtocol
--+ | MyLineProtocol
Method Summary | |
---|---|
a new object with type S, a subtype of T |
|
Callback called when the connection is established | |
Callback called when the connection is lost | |
Process received data into lines (inherited from LineProtocol )
| |
Callback called when a line exceeeds max length | |
Callback | |
Callback | |
send(self,
line)
| |
Send a line. (inherited from LineProtocol )
| |
Enter line mode (inherited from LineProtocol )
| |
Enter Raw mode (inherited from LineProtocol )
|
Class Variable Summary | |
---|---|
str |
line
|
Method Details |
---|
__new__(S, ...)
|
connectionEstablished(self)Callback called when the connection is established
|
connectionLost(self)Callback called when the connection is lost
|
lineLengthExceeded(self, line)Callback called when a line exceeeds max length This default implementation simply close the socket. Override it if this is not the desired behavior
|
lineReceived(self, line)Callback Should be overriden
|
rawDataReceived(self, data)Callback Should be overriden
|
Class Variable Details |
---|
line
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Dec 7 16:05:44 2003 | http://epydoc.sf.net |