#include <OnixS/CME/MDH/SolarflareFeedEngine.h>
Public Member Functions | |
| SolarflareFeedEngineSettings () | |
| ~SolarflareFeedEngineSettings ()=default | |
| SolarflareFeedEngineOperatingMode::Enum | mode () const |
| void | mode (SolarflareFeedEngineOperatingMode::Enum mode) |
| SolarflareFeedEngineMemoryPolicy::Enum | memoryPolicy () const |
| void | memoryPolicy (SolarflareFeedEngineMemoryPolicy::Enum policy) |
| Messaging::UInt32 | receiveRingSize () const |
| void | receiveRingSize (Messaging::UInt32 ringSize) |
| Messaging::UInt32 | cacheSize () const |
| void | cacheSize (Messaging::UInt32 cacheSize) |
| Messaging::UInt32 | socketBufferSize () const |
| void | socketBufferSize (Messaging::UInt32 bufferSize) |
| WatchService & | watch () const |
| void | watch (WatchService &watch) |
| Public Member Functions inherited from NetFeedEngineSettings | |
| NetFeedEngineSettings () | |
| Logger * | logger () const |
| Logger & | loggerOrDefault () const |
| NetFeedEngineSettings & | logger (Logger *logger) |
Represents a collection of settings affecting the behavior of the Feed Engine while working with virtual interfaces.
Definition at line 139 of file SolarflareFeedEngine.h.
|
inline |
Initializes the given instance of the network settings with the default values.
Definition at line 144 of file SolarflareFeedEngine.h.
|
default |
Cleans everything up.
|
inline |
Size of a pool of buffers used to receive and manipulate incoming data.
The Feed Engine puts incoming packets into buffers and keeps buffers busy until received data is processed by handlers. In case of rapid transmission, buffers may be allocated quicker than they are processed and released back to pool. Therefore, the pool must be capacious enough to avoid data losses.
Definition at line 218 of file SolarflareFeedEngine.h.
|
inline |
Size of pool of buffers used to receive and manipulate incoming data.
Definition at line 225 of file SolarflareFeedEngine.h.
|
inline |
Returns the memory-allocation policy used for Solarflare receive buffers.
Definition at line 171 of file SolarflareFeedEngine.h.
|
inline |
Sets the memory-allocation policy used for Solarflare receive buffers.
| policy | Memory-allocation policy to use. |
Definition at line 178 of file SolarflareFeedEngine.h.
|
inline |
The operational mode for the Feed Engine.
Definition at line 158 of file SolarflareFeedEngine.h.
|
inline |
Defines the operational mode for the Feed Engine.
Definition at line 164 of file SolarflareFeedEngine.h.
|
inline |
Number of buffers in a virtual interface receive ring.
Single buffer is used for a single network packet. Thus the receive ring must be capacious enough to place incoming packets during market data bursts.
By default, the parameter is set to -1 which means receive ring will be constructed of the default capacity.
Definition at line 191 of file SolarflareFeedEngine.h.
|
inline |
Number of buffers in a virtual interface receive ring.
Single buffer is used for a single network packet. Thus the receive ring must be capacious enough to place incoming packets during market data bursts.
By default, the parameter is set to -1 which means receive ring will be constructed of the default capacity.
Definition at line 204 of file SolarflareFeedEngine.h.
|
inline |
Socket buffer size.
When the Solarflare Feed Engine operates in mixed mode, ordinary sockets are used to receive multicast data on non-Solarflare network interfaces. The given parameter defines size of a buffer used by socket to store incoming data before it's retrieved by the Solarflare Feed Engine.
Definition at line 237 of file SolarflareFeedEngine.h.
|
inline |
Specifies socket buffer size.
When the Solarflare Feed Engine operates in mixed mode, ordinary sockets are used to receive multicast data on non-Solarflare network interfaces. The given parameter defines size of a buffer used by socket to store incoming data before it's retrieved by the Solarflare Feed Engine.
Definition at line 249 of file SolarflareFeedEngine.h.
|
inline |
Watch service to be used by the Solarlfare Feed Engine.
Watch is used by the Solarlfare Feed Engine to assign time stamps to incoming packets (received from feeds).
Definition at line 260 of file SolarflareFeedEngine.h.
|
inline |
Watch service to be used by Feed Engine.
If no instance is associated, the UTC watch is used.
Definition at line 268 of file SolarflareFeedEngine.h.