CatapultServer
v0.5.0.1 (Elephant)
|
Information about a node and its interactions. More...
Public Member Functions | |
const PackedConnectionState * | ConnectionStatesPtr () const |
Returns a const pointer to the first connection state contained in this node info. More... | |
PackedConnectionState * | ConnectionStatesPtr () |
Returns a pointer to the first connection state contained in this node info. More... | |
Static Public Member Functions | |
static constexpr uint64_t | CalculateRealSize (const PackedNodeInfo &nodeInfo) noexcept |
Calculates the real size of nodeInfo. More... | |
Public Attributes | |
Key | IdentityKey |
Node unique identifier. More... | |
NodeSource | Source |
Node source. More... | |
PackedNodeInteractions | Interactions |
Node interactions. More... | |
uint8_t | ConnectionStatesCount |
Number of connection states. More... | |
Public Attributes inherited from catapult::model::TrailingVariableDataLayout< PackedNodeInfo, PackedConnectionState > | |
uint32_t | Size |
Data size. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from catapult::model::TrailingVariableDataLayout< PackedNodeInfo, PackedConnectionState > | |
static auto | PayloadStart (T &derived) |
Gets the start of the variable data part of derived. More... | |
static const PackedConnectionState * | ToTypedPointer (const uint8_t *pData) |
Gets a typed pointer to the variable data pData. More... | |
static PackedConnectionState * | ToTypedPointer (uint8_t *pData) |
Gets a typed pointer to the variable data pData. More... | |
Information about a node and its interactions.
|
inlinestaticconstexprnoexcept |
Calculates the real size of nodeInfo.
|
inline |
Returns a pointer to the first connection state contained in this node info.
|
inline |
Returns a const pointer to the first connection state contained in this node info.
uint8_t catapult::ionet::PackedNodeInfo::ConnectionStatesCount |
Number of connection states.
PackedNodeInteractions catapult::ionet::PackedNodeInfo::Interactions |
Node interactions.
NodeSource catapult::ionet::PackedNodeInfo::Source |
Node source.