Fabcoin Core
0.16.2
P2P Digital Currency
|
Public Member Functions | |
TestCapability (std::shared_ptr< SessionFace > _s, HostCapabilityFace *_h, unsigned _idOffset, CapDesc const &, uint16_t _capID) | |
virtual | ~TestCapability () |
int | countReceivedMessages () |
int | testSum () |
void | sendTestMessage (int _i) |
Public Member Functions inherited from dev::p2p::Capability | |
Capability (std::shared_ptr< SessionFace > _s, HostCapabilityFace *_h, unsigned _idOffset, uint16_t _protocolID) | |
virtual | ~Capability () |
Static Public Member Functions | |
static std::string | name () |
static u256 | version () |
static unsigned | messageCount () |
Protected Member Functions | |
virtual bool | interpret (unsigned _id, RLP const &_r) override |
Protected Member Functions inherited from dev::p2p::Capability | |
std::shared_ptr< SessionFace > | session () const |
HostCapabilityFace * | hostCapability () const |
void | disable (std::string const &_problem) |
RLPStream & | prep (RLPStream &_s, unsigned _id, unsigned _args=0) |
void | sealAndSend (RLPStream &_s) |
void | addRating (int _r) |
Protected Attributes | |
int | m_cntReceivedMessages |
int | m_testSum |
Protected Attributes inherited from dev::p2p::Capability | |
uint16_t const | c_protocolID |
Definition at line 43 of file capability.cpp.
|
inline |
Definition at line 46 of file capability.cpp.
|
inlinevirtual |
Definition at line 47 of file capability.cpp.
|
inline |
Definition at line 48 of file capability.cpp.
|
overrideprotectedvirtual |
Implements dev::p2p::Capability.
Definition at line 62 of file capability.cpp.
|
inlinestatic |
Definition at line 52 of file capability.cpp.
|
inlinestatic |
Definition at line 50 of file capability.cpp.
|
inline |
Definition at line 53 of file capability.cpp.
|
inline |
Definition at line 49 of file capability.cpp.
|
inlinestatic |
Definition at line 51 of file capability.cpp.
|
protected |
Definition at line 58 of file capability.cpp.
|
protected |
Definition at line 59 of file capability.cpp.