Maintains a cache of common orderbook related field descriptors.
Inherits from Wombat.MamdaFields
Name | |
---|---|
void | setDictionary(MamaDictionary dictionary, NameValueCollection properties) Set the dictionary for common orderbook fields. Maintains a cache of MamaFieldDescriptors for common orderbook related fields. The |
int | getNumLevelFields() Internal. Returns the number of fixed (non-vector) price level fields. |
int | getNumEntryFields() Internal. Returns the number of fixed (non-vector) entry fields. |
bool | getHasVectorFields() Internal. Returns whether the dictionary contains vector fields (important when unpacking order book messages). |
bool | getHasFixedLevelFields() Internal. Returns whether the dictionary contains fixed price level fields (important when unpacking order book messages). |
bool | isSet() |
void | reset() |
Name | |
---|---|
MamaFieldDescriptor | SRC_TIME |
MamaFieldDescriptor | ACTIVITY_TIME |
MamaFieldDescriptor | LINE_TIME |
MamaFieldDescriptor | PART_ID |
MamaFieldDescriptor | SEQNUM |
MamaFieldDescriptor | BOOK_TIME |
MamaFieldDescriptor | NUM_LEVELS |
MamaFieldDescriptor | PRICE_LEVELS |
MamaFieldDescriptor | PL_ACTION |
MamaFieldDescriptor | PL_PRICE |
MamaFieldDescriptor | PL_SIDE |
MamaFieldDescriptor | PL_SIZE |
MamaFieldDescriptor | PL_SIZE_CHANGE |
MamaFieldDescriptor | PL_TIME |
MamaFieldDescriptor | PL_NUM_ENTRIES |
MamaFieldDescriptor | PL_NUM_ATTACH |
MamaFieldDescriptor | PL_ENTRIES |
MamaFieldDescriptor | ENTRY_ID |
MamaFieldDescriptor | ENTRY_ACTION |
MamaFieldDescriptor | ENTRY_REASON |
MamaFieldDescriptor | ENTRY_SIZE |
MamaFieldDescriptor | ENTRY_TIME |
MamaFieldDescriptor | ENTRY_STATUS |
MamaFieldDescriptor[] | PRICE_LEVEL |
MamaFieldDescriptor[] | PL_ENTRY |
Protected Functions inherited from Wombat.MamdaFields
Name | |
---|---|
string | lookupFieldName(NameValueCollection properties, string defaultFieldName) |
static void setDictionary(
MamaDictionary dictionary,
NameValueCollection properties
)
Set the dictionary for common orderbook fields. Maintains a cache of MamaFieldDescriptors for common orderbook related fields. The
Parameters:
properties
parameter allows users of the API to map the common dictionary names to something else if they are beig published under different names.
static int getNumLevelFields()
Internal. Returns the number of fixed (non-vector) price level fields.
Return:
static int getNumEntryFields()
Internal. Returns the number of fixed (non-vector) entry fields.
Return:
static bool getHasVectorFields()
Internal. Returns whether the dictionary contains vector fields (important when unpacking order book messages).
Return:
static bool getHasFixedLevelFields()
Internal. Returns whether the dictionary contains fixed price level fields (important when unpacking order book messages).
Return:
static bool isSet()
static void reset()
static MamaFieldDescriptor SRC_TIME = null;
static MamaFieldDescriptor ACTIVITY_TIME = null;
static MamaFieldDescriptor LINE_TIME = null;
static MamaFieldDescriptor PART_ID = null;
static MamaFieldDescriptor SEQNUM = null;
static MamaFieldDescriptor BOOK_TIME = null;
static MamaFieldDescriptor NUM_LEVELS = null;
static MamaFieldDescriptor PRICE_LEVELS = null;
static MamaFieldDescriptor PL_ACTION = null;
static MamaFieldDescriptor PL_PRICE = null;
static MamaFieldDescriptor PL_SIDE = null;
static MamaFieldDescriptor PL_SIZE = null;
static MamaFieldDescriptor PL_SIZE_CHANGE = null;
static MamaFieldDescriptor PL_TIME = null;
static MamaFieldDescriptor PL_NUM_ENTRIES = null;
static MamaFieldDescriptor PL_NUM_ATTACH = null;
static MamaFieldDescriptor PL_ENTRIES = null;
static MamaFieldDescriptor ENTRY_ID = null;
static MamaFieldDescriptor ENTRY_ACTION = null;
static MamaFieldDescriptor ENTRY_REASON = null;
static MamaFieldDescriptor ENTRY_SIZE = null;
static MamaFieldDescriptor ENTRY_TIME = null;
static MamaFieldDescriptor ENTRY_STATUS = null;
static MamaFieldDescriptor[] PRICE_LEVEL = null;
static MamaFieldDescriptor[] PL_ENTRY = null;
Updated on 2023-03-31 at 15:30:17 +0100