private bool getEntriesInfo(MamaMsg entMsg)
{
int priceLevelEntryActionInt = 0;
ulong mPriceLevelEntrySizeUlong = 0;
if (entMsg.tryI32(MamdaOrderBookFields.ENTRY_ACTION, ref priceLevelEntryActionInt))
{
mPriceLevelEntryAction = (sbyte) priceLevelEntryActionInt;
}
entMsg.tryU64 (MamdaOrderBookFields.ENTRY_SIZE, ref mPriceLevelEntrySizeUlong);
mPriceLevelEntrySize = (long) mPriceLevelEntrySizeUlong;
mPriceLevelEntryTime = entMsg.getDateTime(MamdaOrderBookFields.ENTRY_TIME, mPriceLevelTime);
if(entMsg.tryStringAnsi (MamdaOrderBookFields.ENTRY_ID, ref mPriceLevelEntryIdIntPtr))
{
return true;
}
else
{
return false;
}
}