CatapultServer
v0.5.0.1 (Elephant)
|
Factory for creating a handler that returns batch of entities. More...
Classes | |
struct | AppendAccessor |
struct | AppendAccessor< T, utils::traits::is_type_expression_t< decltype(T::Should_Append_As_Values)> > |
struct | PacketInfo |
Static Public Member Functions | |
template<typename TResultsProducerFactory > | |
static void | RegisterZero (ionet::ServerPacketHandlers &handlers, TResultsProducerFactory resultsProducerFactory) |
template<typename TResultsProducerFactory > | |
static void | RegisterOne (ionet::ServerPacketHandlers &handlers, TResultsProducerFactory resultsProducerFactory) |
Static Public Attributes | |
static constexpr auto | Packet_Type = TRequestTraits::Packet_Type |
Packet type supported by the created handler. More... | |
Private Types | |
enum | AppendType { AppendType::Entities, AppendType::Values } |
using | EntitiesAppendFlag = std::integral_constant< AppendType, AppendType::Entities > |
using | ValuesAppendFlag = std::integral_constant< AppendType, AppendType::Values > |
Static Private Member Functions | |
template<typename TProducer > | |
static void | SetResponse (ionet::ServerPacketHandlerContext &context, uint32_t maxPacketDataSize, TProducer &&producer) |
template<typename TProducer > | |
static void | Append (EntitiesAppendFlag, ionet::PacketPayloadBuilder &builder, TProducer &producer) |
template<typename TProducer > | |
static void | Append (ValuesAppendFlag, ionet::PacketPayloadBuilder &builder, TProducer &producer) |
static auto | ProcessRequest (const ionet::Packet &packet) |
Factory for creating a handler that returns batch of entities.
|
private |
|
private |
|
strongprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
Registers a handler in handlers that uses resultsProducerFactory to produce results.
|
inlinestatic |
Registers a handler in handlers that uses resultsProducerFactory to produce results.
|
inlinestaticprivate |
|
staticconstexpr |
Packet type supported by the created handler.