#include <MamaDispatcher.h>
Name | |
---|---|
~MamaDispatcher(void ) | |
MamaDispatcher(void ) | |
void | create(MamaQueue * queue) |
void | destroy(void ) |
class Wombat::MamaDispatcher;
The dispatcher dispatches events from a queue until it is destroyed or MamaQueue->stopDispatch () is called.
~MamaDispatcher(
void
)
MamaDispatcher(
void
)
void create(
MamaQueue * queue
)
Parameters:
Create a mamaDispatcher. The dispatcher spawns a thread to dispatch events from a queue. It will continue to dispatch events until it is destroyed or mamaQueue_stopDispatch is called.
Only a single dispatcher can be created for a given queue. Attempting to create multiple dispatchers for a queue will result in and error. Dispatching message from a single queue with multiple threads results in messages arriving out of order and sequence number gaps for market data subscriptions.
void destroy(
void
)
Destroy the dispatcher;
Updated on 2023-03-31 at 15:29:25 +0100