Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
TestCap Class Reference
Inheritance diagram for TestCap:
[legend]
Collaboration diagram for TestCap:
[legend]

Public Member Functions

 TestCap (std::shared_ptr< SessionFace > _s, HostCapabilityFace *_h, unsigned _idOffset, CapDesc const &, uint16_t _capID)
 
virtual ~TestCap ()
 
- 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< SessionFacesession () const
 
HostCapabilityFacehostCapability () const
 
void disable (std::string const &_problem)
 
RLPStreamprep (RLPStream &_s, unsigned _id, unsigned _args=0)
 
void sealAndSend (RLPStream &_s)
 
void addRating (int _r)
 

Additional Inherited Members

- Protected Attributes inherited from dev::p2p::Capability
uint16_t const c_protocolID
 

Detailed Description

Definition at line 42 of file peer.cpp.

Constructor & Destructor Documentation

TestCap::TestCap ( std::shared_ptr< SessionFace _s,
HostCapabilityFace _h,
unsigned  _idOffset,
CapDesc const &  ,
uint16_t  _capID 
)
inline

Definition at line 45 of file peer.cpp.

virtual TestCap::~TestCap ( )
inlinevirtual

Definition at line 46 of file peer.cpp.

Member Function Documentation

virtual bool TestCap::interpret ( unsigned  _id,
RLP const &  _r 
)
inlineoverrideprotectedvirtual

Implements dev::p2p::Capability.

Definition at line 52 of file peer.cpp.

Here is the call graph for this function:

static unsigned TestCap::messageCount ( )
inlinestatic

Definition at line 49 of file peer.cpp.

static std::string TestCap::name ( )
inlinestatic

Definition at line 47 of file peer.cpp.

static u256 TestCap::version ( )
inlinestatic

Definition at line 48 of file peer.cpp.


The documentation for this class was generated from the following file: