CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
30 namespace catapult {
namespace ionet {
class PacketIo; } }
32 namespace catapult {
namespace extensions {
virtual future< model::EntityRange< model::CacheEntryInfo< Address > > > accountRestrictionsInfos(model::AddressRange &&addresses) const =0
Gets account restrictions infos for all accounts with addresses in addresses.
An api for retrieving diagnostic information from a remote node.
Definition: RemoteDiagnosticApi.h:35
api::RemoteRequestDispatcher m_impl
Definition: RemoteDiagnosticApi.cpp:161
virtual future< state::TimestampedHashRange > confirmTimestampedHashes(state::TimestampedHashRange &×tampedHashes) const =0
Gets all timestamped hashes in timestampedHashes that are unconfirmed, i.e. not in the hash cache.
virtual future< model::EntityRange< model::CacheEntryInfo< Address > > > accountInfos(model::AddressRange &&addresses) const =0
Gets account infos for all accounts with addresses in addresses.
Represents a range of entities.
Definition: EntityRange.h:31
virtual future< model::EntityRange< model::CacheEntryInfo< NamespaceId > > > namespaceInfos(model::EntityRange< NamespaceId > &&namespaceIds) const =0
Gets namespace infos for all namespace ids in namespaceIds.
virtual ~RemoteDiagnosticApi()=default
PacketType
An enumeration of known packet types.
Definition: PacketType.h:171
An interface for reading and writing packets.
Definition: PacketIo.h:31
Provides a way to access the result of an asynchronous operation.
Definition: Future.h:29
static constexpr auto Friendly_Name
Definition: RemoteDiagnosticApi.cpp:37
virtual future< model::EntityRange< model::DiagnosticCounterValue > > diagnosticCounters() const =0
Gets current diagnostic counter values.
static PacketPayload FromFixedSizeRange(PacketType type, model::EntityRange< TStructure > &&range)
Creates a packet payload with the specified packet type around a fixed size structure range.
Definition: PacketPayloadFactory.h:45
virtual future< model::EntityRange< model::CacheEntryInfo< MosaicId > > > mosaicInfos(model::EntityRange< MosaicId > &&mosaicIds) const =0
Gets mosaic infos for all mosaic ids in mosaicIds.
virtual future< model::EntityRange< ionet::PackedNodeInfo > > activeNodeInfos() const =0
Gets node infos for all active nodes.
static constexpr auto Packet_Type
Definition: RemoteDiagnosticApi.cpp:36
model::EntityRange< TimestampedHash > TimestampedHashRange
An entity range composed of timestamped hashes.
Definition: TimestampedHash.h:84
std::unique_ptr< RemoteDiagnosticApi > CreateRemoteDiagnosticApi(ionet::PacketIo &io)
Creates a diagnostic api for interacting with a remote node with the specified io.
Definition: RemoteDiagnosticApi.cpp:165
Definition: AddressExtractionExtension.cpp:28
EntityRange< Address > AddressRange
An entity range composed of addresses.
Definition: RangeTypes.h:41