pybitmessage.network.uploadthread module

UploadThread class definition

class UploadThread(name=None)[source]

Bases: pybitmessage.network.threads.StoppableThread

This is a thread that uploads the objects that the peers requested from me

maxBufSize = 2097152
name = 'Uploader'
run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.