pybitmessage.network package

Network subsystem package

class AnnounceThread(name=None)[source]

Bases: pybitmessage.network.threads.StoppableThread

A thread to manage regular announcing of this node

name = 'Announcer'
announceInterval = 60
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.

static announceSelf()

Announce our presence

BMConnectionPool()[source]

Pool of all existing connections

class StoppableThread(name=None)[source]

Bases: threading.Thread

Base class for application threads with stopThread method

logger = <logging.Logger object>
name = None
stopThread()

Stop the thread