Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module irc :: Class DccFileReceiveBasic |
|
Ephemeral
--+ |BaseProtocol
--+ | | |Protocol
--+ | DccFileReceiveBasic
DccFileReceive
Bare protocol to receive a Direct Client Connection SEND stream.
This does enough to keep the other guy talking, but you'll want to extend my dataReceived method to *do* something with the data I get.Method Summary | |
---|---|
__init__(self,
resumeOffset)
| |
Called when data is received. | |
Inherited from Protocol | |
(Deprecated) | |
Called when the connection is shut down. | |
Inherited from BaseProtocol | |
Called when a connection is made. | |
Make a connection to a transport and a server. | |
Inherited from Ephemeral | |
| |
|
Class Variable Summary | |
---|---|
int |
bytesReceived = 0 |
Inherited from Protocol | |
tuple |
__implements__ = (<class twisted.internet.interfaces.IPr...
|
Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
Method Details |
---|
dataReceived(self, data)Called when data is received. Warning: This just acknowledges to the remote host that the data has been received; it doesn't *do* anything with the data, so you'll want to override this. |
Class Variable Details |
---|
bytesReceived
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:28 2004 | http://epydoc.sf.net |