CatapultServer  v0.5.0.1 (Elephant)
catapult::handlers::HeightRequestProcessor< TRequest > Class Template Reference

Helper for processing height requests. More...

Static Public Member Functions

static HeightRequestInfo< TRequest > Process (const io::BlockStorageView &storage, const ionet::Packet &packet, ionet::ServerPacketHandlerContext &context, bool shouldAllowZeroHeight)
 

Static Private Member Functions

static auto CreateResponsePacket (uint32_t payloadSize)
 

Detailed Description

template<typename TRequest>
class catapult::handlers::HeightRequestProcessor< TRequest >

Helper for processing height requests.

Member Function Documentation

◆ CreateResponsePacket()

template<typename TRequest >
static auto catapult::handlers::HeightRequestProcessor< TRequest >::CreateResponsePacket ( uint32_t  payloadSize)
inlinestaticprivate
Here is the caller graph for this function:

◆ Process()

template<typename TRequest >
static HeightRequestInfo<TRequest> catapult::handlers::HeightRequestProcessor< TRequest >::Process ( const io::BlockStorageView storage,
const ionet::Packet packet,
ionet::ServerPacketHandlerContext context,
bool  shouldAllowZeroHeight 
)
inlinestatic

Processes a height request (packet) using context and storage. Allows zero height requests if and only if shouldAllowZeroHeight is true.

Here is the call graph for this function:

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