CatapultServer  v0.5.0.1 (Elephant)
DisruptorConsumer.h File Reference
Include dependency graph for DisruptorConsumer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::disruptor
 

Typedefs

template<typename TInput >
using catapult::disruptor::DisruptorConsumerT = std::function< ConsumerResult(TInput &)>
 A typed disruptor consumer function. More...
 
using catapult::disruptor::DisruptorConsumer = DisruptorConsumerT< ConsumerInput >
 A disruptor consumer function. More...
 
using catapult::disruptor::ConstDisruptorConsumer = DisruptorConsumerT< const ConsumerInput >
 A const disruptor consumer function. More...
 
using catapult::disruptor::BlockConsumer = DisruptorConsumerT< BlockElements >
 A block disruptor consumer function. More...
 
using catapult::disruptor::ConstBlockConsumer = DisruptorConsumerT< const BlockElements >
 A const block disruptor consumer function. More...
 
using catapult::disruptor::TransactionConsumer = DisruptorConsumerT< TransactionElements >
 A transaction disruptor consumer function. More...
 
using catapult::disruptor::ConstTransactionConsumer = DisruptorConsumerT< const TransactionElements >
 A const transaction disruptor consumer function. More...
 

Functions

std::vector< DisruptorConsumer > catapult::disruptor::DisruptorConsumersFromBlockConsumers (const std::vector< BlockConsumer > &blockConsumers)
 Maps blockConsumers to disruptor consumers so that they can be used to create a ConsumerDispatcher. More...
 
std::vector< DisruptorConsumer > catapult::disruptor::DisruptorConsumersFromTransactionConsumers (const std::vector< TransactionConsumer > &transactionConsumers)
 Maps transactionConsumers to disruptor consumers so that they can be used to create a ConsumerDispatcher. More...