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
public class ByteArrayMessageStorage
- extends MessageStorage
- implements ContinuousMessageStorage
Created by IntelliJ IDEA.
User: Alexander_Sereda
Date: 26.10.12
Time: 13:37
To change this template use File | Settings | File Templates.
Method Summary |
boolean |
active()
|
void |
add(int tagIndex,
byte[] value,
int offset,
int length)
|
void |
clearAll()
|
void |
copy(ByteArrayMessageStorage srcStorage)
|
byte[] |
getByteArray()
|
byte[] |
getByteArray(int index)
|
int |
getLength()
|
int |
getStartOffset()
|
boolean |
isEmpty()
|
void |
setBuffer(byte[] buf,
int offset,
int length)
|
void |
setValue(int tagIndex,
CharSequence value,
int length)
|
void |
setValue(int tagIndex,
CharSequence value,
int offset,
int length)
|
int |
setValue(int tagIndex,
double value,
int precision,
int length)
|
void |
setValue(int index,
FIXDateFormatter fixDateFormatter,
Calendar value,
int length)
|
void |
setValue(int tagIndex,
long value,
int length)
|
Methods inherited from class com.epam.fix.message.MessageStorage |
getAsBoolean, getAsByte, getAsByteArray, getAsDouble, getAsLong, getAsString, getAsStringBuffer, updateValue, updateValue, updateValue, updateValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayMessageStorage
public ByteArrayMessageStorage()
getByteArray
public byte[] getByteArray(int index)
- Specified by:
getByteArray
in class MessageStorage
clearAll
public void clearAll()
- Specified by:
clearAll
in class MessageStorage
add
public void add(int tagIndex,
byte[] value,
int offset,
int length)
- Specified by:
add
in class MessageStorage
setValue
public void setValue(int tagIndex,
long value,
int length)
- Specified by:
setValue
in class MessageStorage
setValue
public int setValue(int tagIndex,
double value,
int precision,
int length)
- Specified by:
setValue
in class MessageStorage
setValue
public void setValue(int tagIndex,
CharSequence value,
int length)
- Specified by:
setValue
in class MessageStorage
setValue
public void setValue(int index,
FIXDateFormatter fixDateFormatter,
Calendar value,
int length)
- Specified by:
setValue
in class MessageStorage
setValue
public void setValue(int tagIndex,
CharSequence value,
int offset,
int length)
- Specified by:
setValue
in class MessageStorage
setBuffer
public void setBuffer(byte[] buf,
int offset,
int length)
getByteArray
public byte[] getByteArray()
- Specified by:
getByteArray
in interface ContinuousMessageStorage
getStartOffset
public int getStartOffset()
- Specified by:
getStartOffset
in interface ContinuousMessageStorage
getLength
public int getLength()
- Specified by:
getLength
in interface ContinuousMessageStorage
active
public boolean active()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class MessageStorage
copy
public void copy(ByteArrayMessageStorage srcStorage)
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.