CatapultServer  v0.5.0.1 (Elephant)
catapult::api::HeightPacket< PacketType > Struct Template Reference

A packet containing header information and a height. More...

Inheritance diagram for catapult::api::HeightPacket< PacketType >:
Collaboration diagram for catapult::api::HeightPacket< PacketType >:

Public Attributes

catapult::Height Height
 Requested block height. More...
 
- Public Attributes inherited from catapult::ionet::PacketHeader
uint32_t Size
 Size of the packet. More...
 
PacketType Type
 Type of the packet. More...
 

Static Public Attributes

static constexpr ionet::PacketType Packet_Type = PacketType
 

Additional Inherited Members

- Public Member Functions inherited from catapult::ionet::Packet
uint8_t * Data ()
 Returns a non-const pointer to data contained in this packet. More...
 
constexpr const uint8_t * Data () const
 Returns a const pointer to data contained in this packet. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Detailed Description

template<ionet::PacketType PacketType>
struct catapult::api::HeightPacket< PacketType >

A packet containing header information and a height.

Member Data Documentation

◆ Height

template<ionet::PacketType PacketType>
catapult::Height catapult::api::HeightPacket< PacketType >::Height

Requested block height.

◆ Packet_Type

template<ionet::PacketType PacketType>
constexpr ionet::PacketType catapult::api::HeightPacket< PacketType >::Packet_Type = PacketType
staticconstexpr

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