Known subclasses: twisted.words.protocols.irc.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.

Instance Variable bytesReceived An integer representing the number of bytes of data received. (type: int)
Method __init__
Method dataReceived See: protocol.Protocol.dataReceived

Inherited from Ephemeral:

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented

Inherited from Ephemeral:

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented

Inherited from Ephemeral:

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented
bytesReceived =
An integer representing the number of bytes of data received. (type: int)
def __init__(self, resumeOffset=0): (source)
ParametersresumeOffsetAn integer representing the amount of bytes from where the transfer of data should be resumed. (type: int)
def dataReceived(self, data): (source)

See: protocol.Protocol.dataReceived

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.

API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.