CatapultServer
v0.5.0.1 (Elephant)
|
bool appendEntity(const std::shared_ptr< TEntity > &pEntity)
Appends a single entity (pEntity) to the payload.
Definition: PacketPayloadBuilder.h:45
PacketType
An enumeration of known packet types.
Definition: PacketType.h:171
A packet payload builder for creating payloads composed of heterogeneous data.
Definition: PacketPayloadBuilder.h:29
bool appendValues(const std::vector< TValue > &values)
Appends fixed size values to the payload.
Definition: PacketPayloadBuilder.h:107
PacketPayload CreateBroadcastPayload(const std::shared_ptr< const model::Block > &pBlock)
Creates a payload around pBlock for broadcasting.
Definition: BroadcastUtils.cpp:28
PacketPayload build()
Builds the packet payload.
Definition: PacketPayloadBuilder.h:141
A packet payload that can be written.
Definition: PacketPayload.h:29
Definition: AddressExtractionExtension.cpp:28
static PacketPayload FromEntity(PacketType type, const std::shared_ptr< TEntity > &pEntity)
Creates a packet payload with the specified packet type around a single entity (pEntity).
Definition: PacketPayloadFactory.h:31