Package com.epam.fix.message.storage
Class ByteArrayMessageStorage
java.lang.Object
com.epam.fix.message.MessageStorage
com.epam.fix.message.storage.ByteArrayMessageStorage
- All Implemented Interfaces:
ContinuousMessageStorage
Created by IntelliJ IDEA.
User: Alexander_Sereda
Date: 26.10.12
Time: 13:37
To change this template use File | Settings | File Templates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()voidadd(int tagIndex, byte[] value, int offset, int length) voidclearAll()voidcopy(ByteArrayMessageStorage srcStorage) byte[]byte[]getByteArray(int index) intintbooleanisEmpty()voidsetBuffer(byte[] buf, int offset, int length) intsetValue(int tagIndex, double value, int precision, int length) voidsetValue(int tagIndex, long value, int length) voidsetValue(int index, FIXDateFormatter fixDateFormatter, Calendar value, int length) voidsetValue(int tagIndex, CharSequence value, int length) voidsetValue(int tagIndex, CharSequence value, int offset, int length) voidsetValue(int index, LocalDateTime value, TimestampPrecision precision, int length) voidsetValue(int index, LocalTime value, TimestampPrecision precision, int length) voidsetValue(int index, OffsetDateTime value, TimestampPrecision precision, int length) voidsetValue(int index, OffsetTime value, TimestampPrecision precision, int length) voidsetValue(int index, Period value, TenorPrecision precision, int length) Methods inherited from class com.epam.fix.message.MessageStorage
getAsBoolean, getAsByte, getAsByteArray, getAsDouble, getAsLong, getAsReusableString, getAsString, getAsStringBuffer, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue
-
Constructor Details
-
ByteArrayMessageStorage
public ByteArrayMessageStorage()
-
-
Method Details
-
getByteArray
public byte[] getByteArray(int index) - Specified by:
getByteArrayin classMessageStorage
-
clearAll
public void clearAll()- Specified by:
clearAllin classMessageStorage
-
add
public void add(int tagIndex, byte[] value, int offset, int length) - Specified by:
addin classMessageStorage
-
setValue
public void setValue(int tagIndex, long value, int length) - Specified by:
setValuein classMessageStorage
-
setValue
public int setValue(int tagIndex, double value, int precision, int length) - Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setValue
- Specified by:
setValuein classMessageStorage
-
setBuffer
public void setBuffer(byte[] buf, int offset, int length) -
getByteArray
public byte[] getByteArray()- Specified by:
getByteArrayin interfaceContinuousMessageStorage
-
getStartOffset
public int getStartOffset()- Specified by:
getStartOffsetin interfaceContinuousMessageStorage
-
getLength
public int getLength()- Specified by:
getLengthin interfaceContinuousMessageStorage
-
active
public boolean active() -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classMessageStorage
-
copy
-