CatapultServer  v0.5.0.1 (Elephant)
catapult::local::LocalNode Class Referenceabstract

Represents a local node. More...

Inheritance diagram for catapult::local::LocalNode:
Collaboration diagram for catapult::local::LocalNode:

Public Member Functions

virtual const cache::CatapultCachecache () const =0
 Gets the current cache. More...
 
virtual model::ChainScore score () const =0
 Gets the current chain score. More...
 
virtual LocalNodeCounterValues counters () const =0
 Gets the current node counters. More...
 
virtual ionet::NodeContainerView nodes () const =0
 Gets the current nodes. More...
 
- Public Member Functions inherited from catapult::local::ProcessHost
virtual ~ProcessHost ()=default
 
virtual void shutdown ()=0
 Shuts down the process host. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Detailed Description

Represents a local node.

Member Function Documentation

◆ cache()

virtual const cache::CatapultCache& catapult::local::LocalNode::cache ( ) const
pure virtual

Gets the current cache.

◆ counters()

virtual LocalNodeCounterValues catapult::local::LocalNode::counters ( ) const
pure virtual

Gets the current node counters.

◆ nodes()

virtual ionet::NodeContainerView catapult::local::LocalNode::nodes ( ) const
pure virtual

Gets the current nodes.

◆ score()

virtual model::ChainScore catapult::local::LocalNode::score ( ) const
pure virtual

Gets the current chain score.


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