com.epam.fix.message
Class ExtendedIndexedStorage
java.lang.Object
com.epam.fix.message.IndexedStorage
com.epam.fix.message.ExtendedIndexedStorage
- Direct Known Subclasses:
- AbstractFIXFieldList
public abstract class ExtendedIndexedStorage
- extends IndexedStorage
Created by IntelliJ IDEA.
User: Alexander_Sereda
Date: 26.10.12
Time: 11:11
To change this template use File | Settings | File Templates.
Method Summary |
int |
addTag(int tagId,
boolean value)
|
int |
addTag(int tagId,
byte[] value)
|
int |
addTag(TagValue tagValue)
|
int |
addTagAtIndex(int index,
int tagId,
boolean value)
|
int |
addTagAtIndex(int index,
int tagId,
byte[] value)
|
int |
addTagAtIndex(int index,
TagValue tagValue)
|
byte[] |
getBytes(int tagId)
Deprecated. |
long |
getMsgSeqNumber()
Gets message sequence number. |
byte[] |
getMsgType()
Gets message type. |
FIXVersion |
getMsgVersion()
Gets message fix version. |
boolean |
getTagValueAsBool(int tagId)
|
boolean |
getTagValueAsBool(int tagId,
int occurrence)
|
byte |
getTagValueAsByte(int tagId)
|
byte |
getTagValueAsByte(int tagId,
int offset)
|
byte |
getTagValueAsByte(int tagId,
int offset,
int occurrence)
|
byte |
getTagValueAsByteAtIndex(int index)
|
byte[] |
getTagValueAsBytes(int tagId)
|
int |
getTagValueAsBytes(int tagId,
byte[] dest,
int offset)
|
byte[] |
getTagValueAsBytes(int tagId,
int occurrence)
|
int |
getTagValueAsBytes(int tagId,
int occurrence,
byte[] dest,
int offset)
|
void |
getTagValueAsDateOnly(int tagId,
Calendar cal)
|
void |
getTagValueAsDateOnly(int tagId,
int occurrence,
Calendar cal)
|
void |
getTagValueAsDateOnlyAtIndex(int index,
Calendar cal)
|
double |
getTagValueAsDouble(int tagId)
|
double |
getTagValueAsDouble(int tagId,
int occurrence)
|
long |
getTagValueAsLong(int tagId)
|
long |
getTagValueAsLong(int tagId,
int occurrence)
|
void |
getTagValueAsMonthYear(int tagId,
Calendar cal)
|
void |
getTagValueAsMonthYear(int tagId,
int occurrence,
Calendar cal)
|
void |
getTagValueAsMonthYearAtIndex(int index,
Calendar cal)
|
String |
getTagValueAsString(int tagId)
|
String |
getTagValueAsString(int tagId,
int occurrence)
|
void |
getTagValueAsStringBuff(int tagId,
StringBuffer str)
|
void |
getTagValueAsStringBuff(int tagId,
StringBuffer str,
int occurrence)
|
void |
getTagValueAsTimeOnly(int tagId,
Calendar cal)
|
void |
getTagValueAsTimeOnly(int tagId,
int occurrence,
Calendar cal)
|
void |
getTagValueAsTimeOnlyAtIndex(int index,
Calendar cal)
|
void |
getTagValueAsTimestamp(int tagId,
Calendar cal)
|
void |
getTagValueAsTimestamp(int tagId,
int occurrence,
Calendar cal)
|
void |
getTagValueAsTimestampAtIndex(int index,
Calendar cal)
|
void |
getTagValueAsTZTimeOnly(int tagId,
Calendar cal)
|
void |
getTagValueAsTZTimeOnly(int tagId,
int occurrence,
Calendar cal)
|
void |
getTagValueAsTZTimeOnlyAtIndex(int index,
Calendar cal)
|
void |
getTagValueAsTZTimestamp(int tagId,
Calendar cal)
|
void |
getTagValueAsTZTimestamp(int tagId,
int occurrence,
Calendar cal)
|
void |
getTagValueAsTZTimestampAtIndex(int index,
Calendar cal)
|
void |
set(int tagId,
boolean value)
|
void |
set(int tagId,
byte value)
|
void |
set(int tagId,
byte[] value)
|
void |
set(int tagId,
byte[] value,
int offset,
int length)
|
void |
set(int tagId,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type)
|
void |
set(int tagId,
char value)
|
void |
set(int tagId,
CharSequence value)
|
void |
set(int tagId,
double value,
int precision)
|
void |
set(int tagId,
int value)
|
void |
set(int tagId,
int occurrence,
boolean value)
|
void |
set(int tagId,
int occurrence,
byte value)
|
void |
set(int tagId,
int occurrence,
byte[] value)
|
void |
set(int tagId,
int occurrence,
byte[] value,
int offset,
int length)
|
void |
set(int tagId,
int occurrence,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type)
|
void |
set(int tagId,
int occurrence,
char value)
|
void |
set(int tagId,
int occurrence,
CharSequence value)
|
void |
set(int tagId,
int occurrence,
double value,
int precision)
|
void |
set(int tagId,
int occurrence,
int value)
|
void |
set(int tagId,
int occurrence,
long value)
|
void |
set(int tagId,
int occurrence,
String value)
|
void |
set(int tagId,
long value)
|
void |
set(int tagId,
String value)
|
void |
set(int tagId,
StringBuffer value)
|
void |
set(int occurrence,
TagValue value)
|
void |
set(TagValue value)
|
void |
setAtIndex(int index,
boolean value)
|
void |
setAtIndex(int index,
byte value)
|
void |
setAtIndex(int index,
byte[] value)
|
void |
setAtIndex(int index,
byte[] value,
int offset,
int length)
|
void |
setAtIndex(int index,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type)
|
void |
setAtIndex(int index,
char value)
|
void |
setAtIndex(int tagIndex,
CharSequence value)
|
void |
setAtIndex(int index,
double value,
int precision)
|
void |
setAtIndex(int index,
int value)
|
void |
setAtIndex(int index,
long value)
|
void |
setAtIndex(int index,
String value)
|
void |
setAtIndex(int tagIndex,
TagValue value)
|
Methods inherited from class com.epam.fix.message.IndexedStorage |
addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, canCopyInPlace, canCopyInPlaceNumber, clear, deepCopy, ensureCapacity, ensureCapacityAndEnlarge, ensureCapacityAndEnlarge, fillSubStorage, findOrPrepareToAdd, findOrPrepareToAdd, genericMessageToByteArrayAndReturnNextPosition, getFieldIndexData, getIndexCapacity, getRawLength, getSize, getStorage, getStorageType, getTag, getTag, getTagAtIndex, getTagIdAtIndex, getTagIndex, getTagIndex, getTagIndexBetween, getTagIndexStartingFrom, getTagValueAsBoolAtIndex, getTagValueAsByteAtIndex, getTagValueAsBytesAtIndex, getTagValueAsBytesAtIndex, getTagValueAsDoubleAtIndex, getTagValueAsLongAtIndex, getTagValueAsStringAtIndex, getTagValueAsStringBuffAtIndex, getTagValueLength, getTagValueLength, getTagValueLengthAtIndex, getTagValueOffsetAtIndex, hashCode, isAllTagsInOneBuffer, isTagExists, isTagExists, mapTagInOrigStorage, onEnlarge, preparedToByteArrayAndReturnNextPosition, preparedToByteArrayAndReturnNextPosition2, removeTag, removeTag, removeTagAtIndex, reserveTagAtIndex, setOriginalBuffer, toByteArrayAndReturnNextPosition, transferDataToArena, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex |
ExtendedIndexedStorage
protected ExtendedIndexedStorage(int initialSize)
getTagValueAsBytes
public final byte[] getTagValueAsBytes(int tagId)
getTagValueAsBytes
public final int getTagValueAsBytes(int tagId,
byte[] dest,
int offset)
throws FieldNotFoundException
- Parameters:
tagId
- dest
- offset
-
- Returns:
- value length
- Throws:
FieldNotFoundException
getTagValueAsBytes
public final byte[] getTagValueAsBytes(int tagId,
int occurrence)
getTagValueAsBytes
public final int getTagValueAsBytes(int tagId,
int occurrence,
byte[] dest,
int offset)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsByte
public final byte getTagValueAsByte(int tagId)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsByte
public final byte getTagValueAsByte(int tagId,
int offset)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsByte
public final byte getTagValueAsByte(int tagId,
int offset,
int occurrence)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsByteAtIndex
public final byte getTagValueAsByteAtIndex(int index)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsBool
public final boolean getTagValueAsBool(int tagId)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsBool
public final boolean getTagValueAsBool(int tagId,
int occurrence)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsDouble
public final double getTagValueAsDouble(int tagId)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsDouble
public final double getTagValueAsDouble(int tagId,
int occurrence)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsLong
public final long getTagValueAsLong(int tagId)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsLong
public final long getTagValueAsLong(int tagId,
int occurrence)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsStringBuff
public final void getTagValueAsStringBuff(int tagId,
StringBuffer str)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsStringBuff
public final void getTagValueAsStringBuff(int tagId,
StringBuffer str,
int occurrence)
throws FieldNotFoundException
- Throws:
FieldNotFoundException
getTagValueAsString
public final String getTagValueAsString(int tagId,
int occurrence)
getTagValueAsString
public final String getTagValueAsString(int tagId)
getTagValueAsDateOnly
public void getTagValueAsDateOnly(int tagId,
Calendar cal)
getTagValueAsDateOnly
public void getTagValueAsDateOnly(int tagId,
int occurrence,
Calendar cal)
getTagValueAsDateOnlyAtIndex
public void getTagValueAsDateOnlyAtIndex(int index,
Calendar cal)
getTagValueAsTimeOnly
public void getTagValueAsTimeOnly(int tagId,
Calendar cal)
getTagValueAsTimeOnly
public void getTagValueAsTimeOnly(int tagId,
int occurrence,
Calendar cal)
getTagValueAsTimeOnlyAtIndex
public void getTagValueAsTimeOnlyAtIndex(int index,
Calendar cal)
getTagValueAsTimestamp
public void getTagValueAsTimestamp(int tagId,
Calendar cal)
getTagValueAsTimestamp
public void getTagValueAsTimestamp(int tagId,
int occurrence,
Calendar cal)
getTagValueAsTimestampAtIndex
public void getTagValueAsTimestampAtIndex(int index,
Calendar cal)
getTagValueAsMonthYear
public void getTagValueAsMonthYear(int tagId,
Calendar cal)
getTagValueAsMonthYear
public void getTagValueAsMonthYear(int tagId,
int occurrence,
Calendar cal)
getTagValueAsMonthYearAtIndex
public void getTagValueAsMonthYearAtIndex(int index,
Calendar cal)
getTagValueAsTZTimeOnly
public void getTagValueAsTZTimeOnly(int tagId,
Calendar cal)
getTagValueAsTZTimeOnly
public void getTagValueAsTZTimeOnly(int tagId,
int occurrence,
Calendar cal)
getTagValueAsTZTimeOnlyAtIndex
public void getTagValueAsTZTimeOnlyAtIndex(int index,
Calendar cal)
getTagValueAsTZTimestamp
public void getTagValueAsTZTimestamp(int tagId,
Calendar cal)
getTagValueAsTZTimestamp
public void getTagValueAsTZTimestamp(int tagId,
int occurrence,
Calendar cal)
getTagValueAsTZTimestampAtIndex
public void getTagValueAsTZTimestampAtIndex(int index,
Calendar cal)
addTag
public final int addTag(int tagId,
byte[] value)
addTagAtIndex
public final int addTagAtIndex(int index,
int tagId,
byte[] value)
addTag
public final int addTag(int tagId,
boolean value)
addTagAtIndex
public final int addTagAtIndex(int index,
int tagId,
boolean value)
addTag
public final int addTag(TagValue tagValue)
addTagAtIndex
public final int addTagAtIndex(int index,
TagValue tagValue)
set
public final void set(int tagId,
byte value)
set
public final void set(int tagId,
int occurrence,
byte value)
setAtIndex
public final void setAtIndex(int index,
byte value)
set
public final void set(int tagId,
char value)
set
public final void set(int tagId,
int occurrence,
char value)
setAtIndex
public final void setAtIndex(int index,
char value)
set
public final void set(int tagId,
byte[] value)
set
public final void set(int tagId,
int occurrence,
byte[] value)
setAtIndex
public final void setAtIndex(int index,
byte[] value)
set
public final void set(int tagId,
byte[] value,
int offset,
int length)
set
public final void set(int tagId,
int occurrence,
byte[] value,
int offset,
int length)
setAtIndex
public final void setAtIndex(int index,
byte[] value,
int offset,
int length)
set
public final void set(int tagId,
long value)
set
public final void set(int tagId,
int occurrence,
long value)
setAtIndex
public final void setAtIndex(int index,
long value)
set
public final void set(int tagId,
int value)
set
public final void set(int tagId,
int occurrence,
int value)
setAtIndex
public final void setAtIndex(int index,
int value)
set
public final void set(int tagId,
double value,
int precision)
set
public final void set(int tagId,
int occurrence,
double value,
int precision)
setAtIndex
public final void setAtIndex(int index,
double value,
int precision)
set
public final void set(int tagId,
StringBuffer value)
set
public final void set(int tagId,
CharSequence value)
set
public final void set(int tagId,
int occurrence,
CharSequence value)
setAtIndex
public final void setAtIndex(int tagIndex,
CharSequence value)
set
public final void set(int tagId,
boolean value)
set
public final void set(int tagId,
int occurrence,
boolean value)
setAtIndex
public final void setAtIndex(int index,
boolean value)
set
public final void set(TagValue value)
set
public final void set(int occurrence,
TagValue value)
setAtIndex
public final void setAtIndex(int tagIndex,
TagValue value)
set
public final void set(int tagId,
String value)
set
public final void set(int tagId,
int occurrence,
String value)
setAtIndex
public final void setAtIndex(int index,
String value)
set
public final void set(int tagId,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type)
set
public final void set(int tagId,
int occurrence,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type)
setAtIndex
public final void setAtIndex(int index,
Calendar value,
FIXDateFormatterFactory.FIX_DATE_TYPE type)
getMsgType
public final byte[] getMsgType()
- Gets message type.
- Returns:
- message type or null if tag 35 not exists.
getBytes
@Deprecated
public final byte[] getBytes(int tagId)
- Deprecated.
getMsgVersion
public final FIXVersion getMsgVersion()
throws FieldNotFoundException
- Gets message fix version.
- Returns:
- FIXVersion if 9 tg exists
- Throws:
IllegalArgumentException
- if version is invalid.
FieldNotFoundException
getMsgSeqNumber
public final long getMsgSeqNumber()
throws FieldNotFoundException
- Gets message sequence number.
- Returns:
- sequence number if field exist and -1 if doesn't.
- Throws:
FieldNotFoundException
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.