TARAXA
Loading...
Searching...
No Matches
taraxa::net::DagBlocksSubscription Class Reference

#include <subscriptions.hpp>

Collaboration diagram for taraxa::net::DagBlocksSubscription:

Public Member Functions

 DagBlocksSubscription (int id, bool hash_only=false)
 
SubscriptionType getType () const override
 
std::string processPayload (Json::Value payload) const override
 
- Public Member Functions inherited from taraxa::net::Subscription
 Subscription (int id)
 
virtual ~Subscription ()=default
 
int getId () const
 

Static Public Attributes

static constexpr SubscriptionType type = SubscriptionType::DAG_BLOCKS
 

Private Attributes

bool full_data_ = false
 

Additional Inherited Members

- Protected Attributes inherited from taraxa::net::Subscription
int id_
 

Constructor & Destructor Documentation

◆ DagBlocksSubscription()

taraxa::net::DagBlocksSubscription::DagBlocksSubscription ( int  id,
bool  hash_only = false 
)
inlineexplicit

Member Function Documentation

◆ getType()

SubscriptionType taraxa::net::DagBlocksSubscription::getType ( ) const
inlineoverridevirtual

◆ processPayload()

std::string taraxa::net::DagBlocksSubscription::processPayload ( Json::Value  payload) const
overridevirtual

Member Data Documentation

◆ full_data_

bool taraxa::net::DagBlocksSubscription::full_data_ = false
private

◆ type

constexpr SubscriptionType taraxa::net::DagBlocksSubscription::type = SubscriptionType::DAG_BLOCKS
staticconstexpr

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