public class IndexedStorage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexedStorage.MISSING_TAG_HANDLING |
Modifier and Type | Field and Description |
---|---|
protected static char |
FIELD_SEPARATOR |
static int |
NOTFOUND |
Constructor and Description |
---|
IndexedStorage(int initialSize) |
Modifier and Type | Method and Description |
---|---|
RepeatingGroup |
addRepeatingGroup(int leadingTag)
Adds group without validation at the end of message.
|
RepeatingGroup |
addRepeatingGroup(int leadingTag,
boolean validation)
Adds group at the end of message.
|
void |
addRepeatingGroup(int leadingTag,
boolean validation,
RepeatingGroup group)
Adds group without validation at the end of message.
|
void |
addRepeatingGroup(int leadingTag,
RepeatingGroup group)
Adds group without validation at the end of message.
|
RepeatingGroup |
addRepeatingGroupAtIndex(int index,
int leadingTag)
Adds group at specific place at message
|
RepeatingGroup |
addRepeatingGroupAtIndex(int index,
int leadingTag,
boolean validation)
Adds group at specific place at message
|
void |
addRepeatingGroupAtIndex(int index,
int leadingTag,
boolean validation,
RepeatingGroup group)
Adds group at specific place at message
|
void |
addRepeatingGroupAtIndex(int index,
int leadingTag,
RepeatingGroup group)
Adds group at specific place at message
|
int |
addTag(int tagId,
byte value) |
int |
addTag(int tag,
byte[] value,
int offset,
int length) |
int |
addTag(int tag,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type) |
int |
addTag(int tagId,
char value) |
int |
addTag(int tag,
CharSequence value) |
int |
addTag(int tag,
double value,
int precision) |
int |
addTag(int tag,
LocalDateTime value,
TimestampPrecision precision) |
int |
addTag(int tag,
LocalTime value,
TimestampPrecision precision) |
int |
addTag(int tag,
long value) |
int |
addTag(int tag,
OffsetDateTime value,
TimestampPrecision precision) |
int |
addTag(int tag,
OffsetTime value,
TimestampPrecision precision) |
int |
addTag(int tag,
Period value) |
int |
addTag(int tag,
Period value,
TenorPrecision precision) |
int |
addTagAtIndex(int addAtIndex,
int tagId,
byte value) |
int |
addTagAtIndex(int addAtIndex,
int tagId,
byte[] value,
int offset,
int length) |
int |
addTagAtIndex(int index,
int tagId,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type) |
int |
addTagAtIndex(int addAtIndex,
int tagId,
char value) |
int |
addTagAtIndex(int index,
int tagId,
CharSequence value) |
int |
addTagAtIndex(int index,
int tagId,
double value,
int precision) |
int |
addTagAtIndex(int index,
int tagId,
LocalDateTime value,
TimestampPrecision precision) |
int |
addTagAtIndex(int index,
int tagId,
LocalTime value,
TimestampPrecision precision) |
int |
addTagAtIndex(int index,
int tagId,
long value) |
int |
addTagAtIndex(int index,
int tagId,
long value,
boolean shiftRG) |
int |
addTagAtIndex(int index,
int tagId,
OffsetDateTime value,
TimestampPrecision precision) |
int |
addTagAtIndex(int index,
int tagId,
OffsetTime value,
TimestampPrecision precision) |
int |
addTagAtIndex(int index,
int tagId,
Period value,
TenorPrecision precision) |
protected int |
addTagAtIndexForRg(int index,
int tagId,
long value,
int rgId) |
protected boolean |
canCopyInPlace(int index,
int oldLen,
int length) |
protected boolean |
canCopyInPlaceNumber(int index,
int oldLen,
int length) |
protected boolean |
canCopyInPlaceWithLengthReducing(int index,
int oldLen,
int length) |
void |
clear() |
void |
clearUnserializableTags() |
RepeatingGroup |
copyRepeatingGroup(RepeatingGroup source)
Copy repeating group at end of message
|
RepeatingGroup |
copyRepeatingGroup(RepeatingGroup source,
int index)
Copy repeating group at specified index of message
|
void |
copyRepeatingGroup(RepeatingGroup source,
RepeatingGroup dest)
Copy repeating group at end of message
|
void |
copyRepeatingGroup(RepeatingGroup source,
RepeatingGroup dest,
int index)
Copy repeating group at specified index of message
|
protected void |
deepCopy(IndexedStorage source) |
protected void |
ensureCapacityAndEnlarge() |
protected boolean |
ensureCapacityAndEnlarge(int ratio) |
protected void |
fillSubStorage(int fromIndex,
int toIndex,
IndexedStorage subStorage) |
protected int |
findOrPrepareToAdd(int tag,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
protected int |
findOrPrepareToAdd(int tag,
int occurrence,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
protected int |
genericMessageToByteArrayAndReturnNextPosition(byte[] dst,
int offset) |
protected FieldIndexData |
getFieldIndexData() |
com.epam.fixengine.configuration.FIXVersionContainer |
getFIXVersion() |
protected int |
getIndexCapacity() |
int |
getNumOfGroup() |
RepeatingGroup |
getOrAddRepeatingGroup(int leadingTag)
Returns repeating group from storage by leading tag.
|
void |
getOrAddRepeatingGroup(int leadingTag,
RepeatingGroup group)
Fills passed repeating group instance by data from storage.
|
RepeatingGroup |
getOrAddRepeatingGroupAtIndex(int leadingTag,
int index)
Returns repeating group from storage by leading tag.
|
void |
getOrAddRepeatingGroupAtIndex(int leadingTag,
int index,
RepeatingGroup group)
Returns repeating group from storage by leading tag.
|
int |
getRawLength() |
RepeatingGroup |
getRepeatingGroup(int leadingTag)
Returns repeating group from storage by leading tag.
|
void |
getRepeatingGroup(int leadingTag,
RepeatingGroup group)
Fills passed repeating group instance by data from storage.
|
RepeatingGroup |
getRepeatingGroupAtIndex(int index)
Returns repeating group, founded by index of leading tag
|
void |
getRepeatingGroupAtIndex(int index,
RepeatingGroup group)
Fills passed repeating group instance by data, founded by index of leading tag
|
int |
getSize() |
protected MessageStorage |
getStorage(int index) |
protected int |
getStorageType(int index) |
void |
getTag(int tagId,
TagValue dest) |
void |
getTag(int tagId,
TagValue dest,
int occurrence) |
void |
getTagAtIndex(int index,
TagValue dest) |
int |
getTagIdAtIndex(int index) |
int |
getTagIndex(int tag) |
int |
getTagIndex(int tag,
int occurrence) |
int |
getTagIndexBetween(int tag,
int startIndex,
int endIndex) |
int |
getTagIndexStartingFrom(int tag,
int fromIndex) |
BigDecimal |
getTagValueAsBigDecimalAtIndex(int index) |
boolean |
getTagValueAsBoolAtIndex(int index) |
byte |
getTagValueAsByteAtIndex(int index,
int offset) |
byte[] |
getTagValueAsBytesAtIndex(int index) |
int |
getTagValueAsBytesAtIndex(int index,
byte[] dest,
int offset) |
double |
getTagValueAsDoubleAtIndex(int index) |
long |
getTagValueAsLongAtIndex(int index) |
void |
getTagValueAsReusableStringAtIndex(ReusableString reusableString,
int index) |
String |
getTagValueAsStringAtIndex(int index) |
void |
getTagValueAsStringBuffAtIndex(int index,
StringBuffer str) |
void |
getTagValueAtIndex(int index,
ByteBuffer destination) |
int |
getTagValueLength(int tagId) |
int |
getTagValueLength(int tagId,
int occurrence) |
int |
getTagValueLengthAtIndex(int index) |
protected int |
getTagValueOffsetAtIndex(int index) |
int |
hashCode() |
void |
invalidateRepeatingGroupIndex()
Returns all inner arrays, RepeatingGroup and Entry back to pool.
|
protected boolean |
isAllTagsInOneBuffer() |
boolean |
isRepeatingGroupExists(int leadingTag)
Checks is message contains not nested group with passed leading tag.
|
boolean |
isTagExists(int tag) |
boolean |
isTagExists(int tag,
int occurrence) |
protected int |
mapPreparedTagInOrigStorage(int tag,
int offset,
int length) |
protected int |
mapTagInOrigStorage(int tag,
int offset,
int length) |
void |
markUnserializableTag(int tag) |
protected void |
onEnlarge(int ratio,
int newSize) |
protected int |
preparedToByteArrayAndReturnNextPosition(byte[] dst,
int offset) |
protected int |
preparedToByteArrayAndReturnNextPosition2(byte[] dst,
int offset) |
boolean |
removeRepeatingGroup(int leadingTag)
Removes repeating group with specified leading tag
|
boolean |
removeRepeatingGroupAtIndex(int index)
Removes repeating group with leading tag at specified index
|
boolean |
removeTag(int tag)
Removes a fix field with specified tag from collection.
|
boolean |
removeTag(int tag,
int occurrence) |
boolean |
removeTagAtIndex(int tagIndex) |
boolean |
removeTagAtIndex(int tagIndex,
boolean shiftRG) |
int |
reserveTagAtIndex(int addAtIndex,
int tagId) |
int |
reserveTagAtIndex(int addAtIndex,
int tagId,
boolean shiftRG) |
protected int |
reserveTagAtIndexForRg(int addAtIndex,
int tagId,
int rgId) |
protected void |
setOriginalBuffer(byte[] buf,
int offset,
int length) |
int |
toByteArrayAndReturnNextPosition(byte[] dst,
int offset,
int[] excludedFields) |
protected void |
transferDataToArena() |
int |
updateValue(int tag,
boolean value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
byte[] value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
byte[] value,
int offset,
int length,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
CharSequence strBuffer,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
double value,
int precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
boolean value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tagId,
int occurrence,
byte[] value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
byte[] value,
int offset,
int length,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
CharSequence strBuffer,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
double value,
int precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
LocalDateTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
LocalTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
long value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
OffsetDateTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
OffsetTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
int occurrence,
Period value,
TenorPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
LocalDateTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
LocalTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
long value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
OffsetDateTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
OffsetTime value,
TimestampPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(int tag,
Period value,
TenorPrecision precision,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(TagValue value,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
int |
updateValue(TagValue value,
int occurrence,
IndexedStorage.MISSING_TAG_HANDLING addIfNotExists) |
void |
updateValueAtIndex(int tagIndex,
boolean value) |
void |
updateValueAtIndex(int index,
byte[] value) |
void |
updateValueAtIndex(int tagIndex,
byte[] value,
int offset,
int length) |
void |
updateValueAtIndex(int index,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type) |
void |
updateValueAtIndex(int tagIndex,
CharSequence str) |
void |
updateValueAtIndex(int index,
double value,
int precision) |
void |
updateValueAtIndex(int index,
LocalDateTime value,
TimestampPrecision precision) |
void |
updateValueAtIndex(int index,
LocalTime value,
TimestampPrecision precision) |
void |
updateValueAtIndex(int index,
long value) |
void |
updateValueAtIndex(int index,
OffsetDateTime value,
TimestampPrecision precision) |
void |
updateValueAtIndex(int index,
OffsetTime value,
TimestampPrecision precision) |
void |
updateValueAtIndex(int index,
Period value,
TenorPrecision precision) |
void |
updateValueAtIndex(int tagIndex,
TagValue value) |
protected static final char FIELD_SEPARATOR
public static final int NOTFOUND
public final int addTag(int tagId, byte value)
public final int addTagAtIndex(int addAtIndex, int tagId, byte value)
public final int addTag(int tagId, char value)
public final int addTagAtIndex(int addAtIndex, int tagId, char value)
public final int addTag(int tag, byte[] value, int offset, int length)
public final int addTagAtIndex(int addAtIndex, int tagId, byte[] value, int offset, int length)
public final int addTag(int tag, long value)
public final int addTagAtIndex(int index, int tagId, long value)
public final int addTagAtIndex(int index, int tagId, long value, boolean shiftRG)
protected final int addTagAtIndexForRg(int index, int tagId, long value, int rgId)
public final int addTag(int tag, double value, int precision)
public final int addTagAtIndex(int index, int tagId, double value, int precision)
public final int addTag(int tag, CharSequence value)
public final int addTagAtIndex(int index, int tagId, CharSequence value)
public final int addTag(int tag, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type)
public final int addTagAtIndex(int index, int tagId, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type)
public final int addTag(int tag, LocalTime value, TimestampPrecision precision)
public final int addTagAtIndex(int index, int tagId, LocalTime value, TimestampPrecision precision)
public final int addTag(int tag, Period value)
public final int addTag(int tag, Period value, TenorPrecision precision)
public final int addTagAtIndex(int index, int tagId, Period value, TenorPrecision precision)
public final int addTag(int tag, OffsetTime value, TimestampPrecision precision)
public final int addTagAtIndex(int index, int tagId, OffsetTime value, TimestampPrecision precision)
public final int addTag(int tag, LocalDateTime value, TimestampPrecision precision)
public final int addTagAtIndex(int index, int tagId, LocalDateTime value, TimestampPrecision precision)
public final int addTag(int tag, OffsetDateTime value, TimestampPrecision precision)
public final int addTagAtIndex(int index, int tagId, OffsetDateTime value, TimestampPrecision precision)
protected int reserveTagAtIndexForRg(int addAtIndex, int tagId, int rgId)
public int reserveTagAtIndex(int addAtIndex, int tagId)
public int reserveTagAtIndex(int addAtIndex, int tagId, boolean shiftRG)
public final void getTag(int tagId, TagValue dest) throws FieldNotFoundException
FieldNotFoundException
public final void getTag(int tagId, TagValue dest, int occurrence) throws FieldNotFoundException
FieldNotFoundException
public final void getTagAtIndex(int index, TagValue dest) throws FieldNotFoundException
FieldNotFoundException
public final byte[] getTagValueAsBytesAtIndex(int index) throws FieldNotFoundException
FieldNotFoundException
public final int getTagValueAsBytesAtIndex(int index, byte[] dest, int offset) throws FieldNotFoundException
FieldNotFoundException
public final byte getTagValueAsByteAtIndex(int index, int offset) throws FieldNotFoundException
FieldNotFoundException
public final boolean getTagValueAsBoolAtIndex(int index) throws FieldNotFoundException
FieldNotFoundException
public final double getTagValueAsDoubleAtIndex(int index) throws FieldNotFoundException
FieldNotFoundException
public final BigDecimal getTagValueAsBigDecimalAtIndex(int index) throws FieldNotFoundException
FieldNotFoundException
public final long getTagValueAsLongAtIndex(int index) throws FieldNotFoundException
FieldNotFoundException
public final void getTagValueAsStringBuffAtIndex(int index, StringBuffer str) throws FieldNotFoundException
FieldNotFoundException
public final void getTagValueAsReusableStringAtIndex(ReusableString reusableString, int index) throws FieldNotFoundException
FieldNotFoundException
public String getTagValueAsStringAtIndex(int index) throws FieldNotFoundException
FieldNotFoundException
public final void getTagValueAtIndex(int index, ByteBuffer destination)
public final int updateValue(int tag, byte[] value, int offset, int length, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, byte[] value, int offset, int length, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int tagIndex, byte[] value, int offset, int length)
public final int updateValue(int tag, byte[] value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tagId, int occurrence, byte[] value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, byte[] value)
public final int updateValue(int tag, long value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, long value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, long value)
public final int updateValue(int tag, double value, int precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, double value, int precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, double value, int precision)
public final int updateValue(int tag, CharSequence strBuffer, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, CharSequence strBuffer, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int tagIndex, CharSequence str)
public final int updateValue(int tag, boolean value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, boolean value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int tagIndex, boolean value)
public final int updateValue(TagValue value, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(TagValue value, int occurrence, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int tagIndex, TagValue value)
public final int updateValue(int tag, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type)
public final int updateValue(int tag, LocalTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, LocalTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, LocalTime value, TimestampPrecision precision)
public final int updateValue(int tag, Period value, TenorPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, Period value, TenorPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, Period value, TenorPrecision precision)
public final int updateValue(int tag, OffsetTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, OffsetTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, OffsetTime value, TimestampPrecision precision)
public final int updateValue(int tag, LocalDateTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, LocalDateTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, LocalDateTime value, TimestampPrecision precision)
public final int updateValue(int tag, OffsetDateTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public final int updateValue(int tag, int occurrence, OffsetDateTime value, TimestampPrecision precision, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
public void updateValueAtIndex(int index, OffsetDateTime value, TimestampPrecision precision)
public boolean isTagExists(int tag)
public boolean isTagExists(int tag, int occurrence)
public int getTagIndex(int tag)
public int getTagIndex(int tag, int occurrence)
public final int getTagIndexStartingFrom(int tag, int fromIndex)
public final int getTagIndexBetween(int tag, int startIndex, int endIndex)
public int getTagIdAtIndex(int index)
public int getTagValueLengthAtIndex(int index)
protected int getTagValueOffsetAtIndex(int index)
public int getTagValueLength(int tagId)
public int getTagValueLength(int tagId, int occurrence)
public int getNumOfGroup()
public int getSize()
public final int getRawLength()
protected FieldIndexData getFieldIndexData()
protected boolean isAllTagsInOneBuffer()
protected void fillSubStorage(int fromIndex, int toIndex, IndexedStorage subStorage)
public void clear()
public boolean removeTag(int tag)
tag
- the fix tag.public boolean removeTag(int tag, int occurrence)
public boolean removeTagAtIndex(int tagIndex)
public boolean removeTagAtIndex(int tagIndex, boolean shiftRG)
protected void deepCopy(IndexedStorage source)
protected void ensureCapacityAndEnlarge()
protected boolean ensureCapacityAndEnlarge(int ratio)
protected void onEnlarge(int ratio, int newSize)
protected int getIndexCapacity()
public final int toByteArrayAndReturnNextPosition(byte[] dst, int offset, int[] excludedFields)
protected int genericMessageToByteArrayAndReturnNextPosition(byte[] dst, int offset)
protected int preparedToByteArrayAndReturnNextPosition(byte[] dst, int offset)
protected int preparedToByteArrayAndReturnNextPosition2(byte[] dst, int offset)
protected void setOriginalBuffer(byte[] buf, int offset, int length)
protected void transferDataToArena()
protected int mapTagInOrigStorage(int tag, int offset, int length)
protected int mapPreparedTagInOrigStorage(int tag, int offset, int length)
public void getRepeatingGroup(int leadingTag, RepeatingGroup group)
leadingTag
- leading tag for repeating groupgroup
- repeating group object for fillpublic RepeatingGroup getRepeatingGroup(int leadingTag)
leadingTag
- leading tag for repeating grouppublic RepeatingGroup getOrAddRepeatingGroup(int leadingTag)
leadingTag
- leading tag for repeating grouppublic void getOrAddRepeatingGroup(int leadingTag, RepeatingGroup group)
leadingTag
- leading tag for repeating groupgroup
- repeating group object for fillpublic RepeatingGroup getOrAddRepeatingGroupAtIndex(int leadingTag, int index)
leadingTag
- leading tag for repeating grouppublic void getOrAddRepeatingGroupAtIndex(int leadingTag, int index, RepeatingGroup group)
leadingTag
- leading tag for repeating grouppublic RepeatingGroup getRepeatingGroupAtIndex(int index)
index
- index of repeating group's leading tag at messagepublic void getRepeatingGroupAtIndex(int index, RepeatingGroup group)
index
- leading tag for repeating groupgroup
- repeating group object for fillpublic boolean isRepeatingGroupExists(int leadingTag)
leadingTag
- leading tag for checkpublic boolean removeRepeatingGroup(int leadingTag)
leadingTag
- leading tag of grouppublic boolean removeRepeatingGroupAtIndex(int index)
index
- of repeating group's leading tagpublic void invalidateRepeatingGroupIndex()
public void addRepeatingGroup(int leadingTag, RepeatingGroup group)
leadingTag
- leading tag for new groupgroup
- repeating group object for further work with grouppublic RepeatingGroup addRepeatingGroup(int leadingTag)
leadingTag
- leading tag for new grouppublic RepeatingGroup addRepeatingGroup(int leadingTag, boolean validation)
leadingTag
- leading tag for new groupvalidation
- turn on/off validationpublic void addRepeatingGroup(int leadingTag, boolean validation, RepeatingGroup group)
leadingTag
- leading tag for new groupgroup
- repeating group object for further work with grouppublic void addRepeatingGroupAtIndex(int index, int leadingTag, boolean validation, RepeatingGroup group)
index
- index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.leadingTag
- leading tag for new groupvalidation
- turn on/off validationgroup
- repeating group object for further work with grouppublic RepeatingGroup addRepeatingGroupAtIndex(int index, int leadingTag, boolean validation)
index
- index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.leadingTag
- leading tag for new groupvalidation
- turn on/off validationpublic RepeatingGroup addRepeatingGroupAtIndex(int index, int leadingTag)
index
- index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.leadingTag
- leading tag for new grouppublic void addRepeatingGroupAtIndex(int index, int leadingTag, RepeatingGroup group)
index
- index in FIX message. Leading tag will be inserted at this index and all other group tags will follow.leadingTag
- leading tag for new groupgroup
- repeating group object for further work with grouppublic RepeatingGroup copyRepeatingGroup(RepeatingGroup source)
source
- repeating group for copypublic RepeatingGroup copyRepeatingGroup(RepeatingGroup source, int index)
source
- repeating group for copyindex
- index at which the source entry is to be copiedpublic void copyRepeatingGroup(RepeatingGroup source, RepeatingGroup dest)
source
- repeating group for copydest
- entry for hold copied repeating grouppublic void copyRepeatingGroup(RepeatingGroup source, RepeatingGroup dest, int index)
source
- repeating group for copydest
- entry for hold copied repeating groupindex
- index at which the source entry is to be copiedprotected int findOrPrepareToAdd(int tag, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
tag
- addIfNotExists
- protected int findOrPrepareToAdd(int tag, int occurrence, IndexedStorage.MISSING_TAG_HANDLING addIfNotExists)
protected boolean canCopyInPlaceNumber(int index, int oldLen, int length)
protected boolean canCopyInPlace(int index, int oldLen, int length)
protected boolean canCopyInPlaceWithLengthReducing(int index, int oldLen, int length)
protected MessageStorage getStorage(int index)
protected int getStorageType(int index)
public com.epam.fixengine.configuration.FIXVersionContainer getFIXVersion()
public final void markUnserializableTag(int tag)
public final void clearUnserializableTags()
Copyright © 2000–2022 EPAM Systems. All rights reserved.