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

Protected Member Functions

string name () const override
 
u256 version () const override
 
unsigned messageCount () const override
 
shared_ptr< CapabilitynewPeerCapability (shared_ptr< SessionFace > const &, unsigned, CapDesc const &, uint16_t) override
 
- Protected Member Functions inherited from dev::p2p::HostCapabilityFace
CapDesc capDesc () const
 
virtual std::shared_ptr< CapabilitynewPeerCapability (std::shared_ptr< SessionFace > const &_s, unsigned _idOffset, CapDesc const &_cap, uint16_t _capID)=0
 
virtual void onStarting ()
 
virtual void onStopping ()
 

Additional Inherited Members

- Public Member Functions inherited from dev::p2p::HostCapabilityFace
 HostCapabilityFace ()
 
virtual ~HostCapabilityFace ()
 
Hosthost () 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
 

Detailed Description

Definition at line 28 of file EthereumPeerTest.cpp.

Member Function Documentation

unsigned MockHostCapability::messageCount ( ) const
inlineoverrideprotectedvirtual

Implements dev::p2p::HostCapabilityFace.

Definition at line 33 of file EthereumPeerTest.cpp.

string MockHostCapability::name ( ) const
inlineoverrideprotectedvirtual

Implements dev::p2p::HostCapabilityFace.

Definition at line 31 of file EthereumPeerTest.cpp.

shared_ptr<Capability> MockHostCapability::newPeerCapability ( shared_ptr< SessionFace > const &  ,
unsigned  ,
CapDesc const &  ,
uint16_t   
)
inlineoverrideprotected

Definition at line 34 of file EthereumPeerTest.cpp.

u256 MockHostCapability::version ( ) const
inlineoverrideprotectedvirtual

Implements dev::p2p::HostCapabilityFace.

Definition at line 32 of file EthereumPeerTest.cpp.


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