TARAXA
dev::p2p::SessionCapability Struct Reference

#include <taraxa.hpp>

Collaboration diagram for dev::p2p::SessionCapability:

Public Member Functions

 SessionCapability (Capability const &cap, unsigned version, unsigned offset)
 
- Public Member Functions inherited from dev::p2p::Capability
 Capability (std::shared_ptr< CapabilityFace > ref, unsigned message_count)
 

Public Attributes

unsigned const version = 0
 
unsigned const offset = 0
 
- Public Attributes inherited from dev::p2p::Capability
std::shared_ptr< CapabilityFace > const ref
 
unsigned const message_count = 0
 

Constructor & Destructor Documentation

◆ SessionCapability()

dev::p2p::SessionCapability::SessionCapability ( Capability const &  cap,
unsigned  version,
unsigned  offset 
)
inline

Member Data Documentation

◆ offset

unsigned const dev::p2p::SessionCapability::offset = 0

◆ version

unsigned const dev::p2p::SessionCapability::version = 0

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