CatapultServer  v0.5.0.1 (Elephant)
PtChangeReader.h
Go to the documentation of this file.
1 
21 #pragma once
22 
23 namespace catapult {
24  namespace cache { class PtChangeSubscriber; }
25  namespace io { class InputStream; }
26 }
27 
28 namespace catapult { namespace subscribers {
29 
31  void ReadNextPtChange(io::InputStream& inputStream, cache::PtChangeSubscriber& subscriber);
32 }}
catapult::subscribers::PtChangeOperationType::Add_Partials
Add partial transaction infos.
catapult::cache::PtChangeSubscriber
Partial transactions change subscriber.
Definition: PtChangeSubscriber.h:28
catapult::subscribers::ReadNextPtChange
void ReadNextPtChange(io::InputStream &inputStream, cache::PtChangeSubscriber &subscriber)
Reads next partial transactions change from inputStream and forwards it to subscriber.
Definition: PtChangeReader.cpp:55
catapult::io::ReadTransactionInfos
void ReadTransactionInfos(InputStream &inputStream, model::TransactionInfosSet &transactionInfos)
Reads transaction infos from inputStream into transactionInfos.
Definition: TransactionInfoSerializer.cpp:67
PtChangeReader.h
catapult::io::ReadTransactionInfo
void ReadTransactionInfo(InputStream &inputStream, model::TransactionInfo &transactionInfo)
Reads transaction info from inputStream into transactionInfo.
Definition: TransactionInfoSerializer.cpp:42
catapult::io::InputStream
Reader interface.
Definition: Stream.h:27
TransactionInfoSerializer.h
catapult::io::Read8
auto Read8(TIo &input)
Reads value from input.
Definition: PodIoUtils.h:90
CATAPULT_THROW_INVALID_ARGUMENT_1
#define CATAPULT_THROW_INVALID_ARGUMENT_1(MESSAGE, PARAM1)
Macro used to throw a catapult invalid argument with a single parameter.
Definition: exceptions.h:183
PtChangeSubscriber.h
catapult::subscribers::PtChangeOperationType
PtChangeOperationType
Partial transactions change operation type.
Definition: SubscriberOperationTypes.h:36
catapult::model::TransactionInfosSet
std::unordered_set< TransactionInfo, EntityInfoHasher< const Transaction >, EntityInfoComparer< const Transaction > > TransactionInfosSet
Unordered set of transaction infos.
Definition: ContainerTypes.h:50
SubscriberOperationTypes.h
catapult::subscribers::PtChangeOperationType::Add_Cosignature
Add cosignature.
catapult
Definition: AddressExtractionExtension.cpp:28
PodIoUtils.h
Stream.h
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41
catapult::subscribers::PtChangeOperationType::Remove_Partials
Remove partial transaction infos.
catapult::Signature
utils::ByteArray< Signature_Size, Signature_tag > Signature
Definition: src/catapult/types.h:38