CatapultServer  v0.5.0.1 (Elephant)
TransactionStatusReader.h
Go to the documentation of this file.
1 
21 #pragma once
22 
23 namespace catapult {
24  namespace io { class InputStream; }
25  namespace subscribers { class TransactionStatusSubscriber; }
26 }
27 
28 namespace catapult { namespace subscribers {
29 
31  void ReadNextTransactionStatus(io::InputStream& inputStream, TransactionStatusSubscriber& subscriber);
32 }}
Transaction.h
TransactionStatusReader.h
catapult::io::Read32
auto Read32(TIo &input)
Reads value from input.
Definition: PodIoUtils.h:74
EntityIoUtils.h
catapult::io::InputStream
Reader interface.
Definition: Stream.h:27
catapult::subscribers::ReadNextTransactionStatus
void ReadNextTransactionStatus(io::InputStream &inputStream, TransactionStatusSubscriber &subscriber)
Reads next transaction status from inputStream and forwards it to subscriber.
Definition: TransactionStatusReader.cpp:29
TransactionStatusSubscriber.h
catapult::io::InputStream::read
virtual void read(const MutableRawBuffer &buffer)=0
catapult::subscribers::TransactionStatusSubscriber::notifyStatus
virtual void notifyStatus(const model::Transaction &transaction, const Hash256 &hash, uint32_t status)=0
Indicates transaction with hash completed with status.
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::utils::ByteArray< Hash256_Size, Hash256_tag >
Stream.h
catapult::subscribers::TransactionStatusSubscriber
Transaction status subscriber.
Definition: TransactionStatusSubscriber.h:30