CatapultServer  v0.5.0.1 (Elephant)
catapult::extensions::RemoteDiagnosticApi Class Referenceabstract

An api for retrieving diagnostic information from a remote node. More...

Public Member Functions

virtual ~RemoteDiagnosticApi ()=default
 
virtual future< state::TimestampedHashRangeconfirmTimestampedHashes (state::TimestampedHashRange &&timestampedHashes) const =0
 Gets all timestamped hashes in timestampedHashes that are unconfirmed, i.e. not in the hash cache. More...
 
virtual future< model::EntityRange< model::DiagnosticCounterValue > > diagnosticCounters () const =0
 Gets current diagnostic counter values. More...
 
virtual future< model::EntityRange< ionet::PackedNodeInfo > > activeNodeInfos () const =0
 Gets node infos for all active nodes. More...
 
virtual future< model::EntityRange< model::CacheEntryInfo< Address > > > accountInfos (model::AddressRange &&addresses) const =0
 Gets account infos for all accounts with addresses in addresses. More...
 
virtual future< model::EntityRange< model::CacheEntryInfo< Address > > > accountRestrictionsInfos (model::AddressRange &&addresses) const =0
 Gets account restrictions infos for all accounts with addresses in addresses. More...
 
virtual future< model::EntityRange< model::CacheEntryInfo< NamespaceId > > > namespaceInfos (model::EntityRange< NamespaceId > &&namespaceIds) const =0
 Gets namespace infos for all namespace ids in namespaceIds. More...
 
virtual future< model::EntityRange< model::CacheEntryInfo< MosaicId > > > mosaicInfos (model::EntityRange< MosaicId > &&mosaicIds) const =0
 Gets mosaic infos for all mosaic ids in mosaicIds. More...
 

Private Types

template<typename T >
using future = thread::future< T >
 

Detailed Description

An api for retrieving diagnostic information from a remote node.

Member Typedef Documentation

◆ future

template<typename T >
using catapult::extensions::RemoteDiagnosticApi::future = thread::future<T>
private

Constructor & Destructor Documentation

◆ ~RemoteDiagnosticApi()

virtual catapult::extensions::RemoteDiagnosticApi::~RemoteDiagnosticApi ( )
virtualdefault

Member Function Documentation

◆ accountInfos()

virtual future<model::EntityRange<model::CacheEntryInfo<Address> > > catapult::extensions::RemoteDiagnosticApi::accountInfos ( model::AddressRange &&  addresses) const
pure virtual

Gets account infos for all accounts with addresses in addresses.

◆ accountRestrictionsInfos()

virtual future<model::EntityRange<model::CacheEntryInfo<Address> > > catapult::extensions::RemoteDiagnosticApi::accountRestrictionsInfos ( model::AddressRange &&  addresses) const
pure virtual

Gets account restrictions infos for all accounts with addresses in addresses.

◆ activeNodeInfos()

virtual future<model::EntityRange<ionet::PackedNodeInfo> > catapult::extensions::RemoteDiagnosticApi::activeNodeInfos ( ) const
pure virtual

Gets node infos for all active nodes.

◆ confirmTimestampedHashes()

virtual future<state::TimestampedHashRange> catapult::extensions::RemoteDiagnosticApi::confirmTimestampedHashes ( state::TimestampedHashRange &&  timestampedHashes) const
pure virtual

Gets all timestamped hashes in timestampedHashes that are unconfirmed, i.e. not in the hash cache.

◆ diagnosticCounters()

virtual future<model::EntityRange<model::DiagnosticCounterValue> > catapult::extensions::RemoteDiagnosticApi::diagnosticCounters ( ) const
pure virtual

Gets current diagnostic counter values.

◆ mosaicInfos()

virtual future<model::EntityRange<model::CacheEntryInfo<MosaicId> > > catapult::extensions::RemoteDiagnosticApi::mosaicInfos ( model::EntityRange< MosaicId > &&  mosaicIds) const
pure virtual

Gets mosaic infos for all mosaic ids in mosaicIds.

◆ namespaceInfos()

virtual future<model::EntityRange<model::CacheEntryInfo<NamespaceId> > > catapult::extensions::RemoteDiagnosticApi::namespaceInfos ( model::EntityRange< NamespaceId > &&  namespaceIds) const
pure virtual

Gets namespace infos for all namespace ids in namespaceIds.


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