Fabcoin Core
0.16.2
P2P Digital Currency
|
Public Member Functions | |
TestHostCap () | |
virtual | ~TestHostCap () |
Public Member Functions inherited from dev::p2p::HostCapability< TestCap > | |
HostCapability () | |
virtual | ~HostCapability () |
Public Member Functions inherited from dev::p2p::HostCapabilityFace | |
HostCapabilityFace () | |
virtual | ~HostCapabilityFace () |
Host * | host () const |
std::vector< std::pair< std::shared_ptr< SessionFace >, std::shared_ptr< Peer > > > | peerSessions () const |
std::vector< std::pair< std::shared_ptr< SessionFace >, std::shared_ptr< Peer > > > | peerSessions (u256 const &_version) const |
Additional Inherited Members | |
Static Public Member Functions inherited from dev::p2p::HostCapability< TestCap > | |
static std::string | staticName () |
static u256 | staticVersion () |
static unsigned | staticMessageCount () |
Protected Member Functions inherited from dev::p2p::HostCapability< TestCap > | |
virtual std::string | name () const |
virtual u256 | version () const |
virtual unsigned | messageCount () const |
virtual std::shared_ptr< Capability > | newPeerCapability (std::shared_ptr< SessionFace > const &_s, unsigned _idOffset, CapDesc const &_cap, uint16_t _capID) |
Protected Member Functions inherited from dev::p2p::HostCapabilityFace | |
CapDesc | capDesc () const |
virtual void | onStarting () |
virtual void | onStopping () |
Protected Member Functions inherited from dev::Worker | |
Worker (std::string const &_name="anon", unsigned _idleWaitMs=30) | |
Worker (Worker &&_m) | |
Move-constructor. More... | |
Worker & | operator= (Worker &&_m) |
Move-assignment. More... | |
virtual | ~Worker () |
void | setName (std::string _n) |
Allows changing worker name if work is stopped. More... | |
void | startWorking () |
Starts worker thread; causes startedWorking() to be called. More... | |
void | stopWorking () |
Stop worker thread; causes call to stopWorking(). More... | |
bool | isWorking () const |
Returns if worker thread is present. More... | |
virtual void | startedWorking () |
Called after thread is started from startWorking(). More... | |
virtual void | doWork () |
Called continuously following sleep for m_idleWaitMs. More... | |
virtual void | workLoop () |
Overrides doWork(); should call shouldStop() often and exit when true. More... | |
bool | shouldStop () const |
virtual void | doneWorking () |
Called when is to be stopped, just prior to thread being joined. More... | |