CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace cache {
class CacheChangesStorage; }
27 namespace io {
class InputStream; }
28 namespace subscribers {
class StateChangeSubscriber; }
31 namespace catapult {
namespace subscribers {
State change subscriber.
Definition: StateChangeSubscriber.h:31
void ReadNextStateChange(io::InputStream &inputStream, const CacheChangesStorages &cacheChangesStorages, StateChangeSubscriber &subscriber)
Reads next state change from inputStream and forwards it to subscriber using cacheChangesStorages for...
Definition: StateChangeReader.cpp:63
auto Read8(TIo &input)
Reads value from input.
Definition: PodIoUtils.h:90
std::vector< std::unique_ptr< const MemoryCacheChanges > > MemoryCacheChangesContainer
Memory cache changes container.
Definition: CacheChanges.h:114
void ReadCacheChanges(io::InputStream &inputStream, MemoryCacheChangesT< TValue > &changes)
Reads serialized cache changes from inputStream.
Definition: CacheChangesSerializer.h:52
#define CATAPULT_THROW_INVALID_ARGUMENT_1(MESSAGE, PARAM1)
Macro used to throw a catapult invalid argument with a single parameter.
Definition: exceptions.h:183
model::ChainScore ChainScore
Definition: tools/health/main.cpp:43
Definition: AddressExtractionExtension.cpp:28
auto Read64(TIo &input)
Reads value from input.
Definition: PodIoUtils.h:66
std::vector< std::unique_ptr< const cache::CacheChangesStorage > > CacheChangesStorages
Vector of cache changes storage unique pointers.
Definition: StateChangeReader.h:34