t.w.p.i.DccFileReceiveBasic(protocol.Protocol, styles.Ephemeral) : class documentation

Part of twisted.words.protocols.irc View Source View In Hierarchy

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.

Method __init__ Undocumented
Method dataReceived Called when data is received.

Inherited from Protocol:

Method logPrefix Return a prefix matching the class name, to identify log messages related to this protocol instance.
Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via Protocol):

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.

Inherited from Ephemeral:

Method __getstate__ Undocumented
Method __setstate__ Undocumented
def __init__(self, resumeOffset=0): (source)
Undocumented
def dataReceived(self, data): (source)
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.

API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.