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 TypeMethodDescriptionboolean
active()
void
add
(int tagIndex, byte[] value, int offset, int length) void
clearAll()
void
copy
(ByteArrayMessageStorage srcStorage) byte[]
byte[]
getByteArray
(int index) int
int
boolean
isEmpty()
void
setBuffer
(byte[] buf, int offset, int length) int
setValue
(int tagIndex, double value, int precision, int length) void
setValue
(int tagIndex, long value, int length) void
setValue
(int index, FIXDateFormatter fixDateFormatter, Calendar value, int length) void
setValue
(int tagIndex, CharSequence value, int length) void
setValue
(int tagIndex, CharSequence value, int offset, int length) void
setValue
(int index, LocalDateTime value, TimestampPrecision precision, int length) void
setValue
(int index, LocalTime value, TimestampPrecision precision, int length) void
setValue
(int index, OffsetDateTime value, TimestampPrecision precision, int length) void
setValue
(int index, OffsetTime value, TimestampPrecision precision, int length) void
setValue
(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:
getByteArray
in classMessageStorage
-
clearAll
public void clearAll()- Specified by:
clearAll
in classMessageStorage
-
add
public void add(int tagIndex, byte[] value, int offset, int length) - Specified by:
add
in classMessageStorage
-
setValue
public void setValue(int tagIndex, long value, int length) - Specified by:
setValue
in classMessageStorage
-
setValue
public int setValue(int tagIndex, double value, int precision, int length) - Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setValue
- Specified by:
setValue
in classMessageStorage
-
setBuffer
public void setBuffer(byte[] buf, int offset, int length) -
getByteArray
public byte[] getByteArray()- Specified by:
getByteArray
in interfaceContinuousMessageStorage
-
getStartOffset
public int getStartOffset()- Specified by:
getStartOffset
in interfaceContinuousMessageStorage
-
getLength
public int getLength()- Specified by:
getLength
in interfaceContinuousMessageStorage
-
active
public boolean active() -
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classMessageStorage
-
copy
-