DefaultSeparator| Constructor and Description |
|---|
Message()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IMessage |
clone()
Creates a copy of the message instance, including part of underlying byte array with message data.
|
ScaledDecimal |
createNullDecimal(int tag,
ScaledDecimal ref)
Create null value for the given field.
|
MonthYear |
createNullMonthYear(int tag,
MonthYear ref)
Creates null MonthYear object.
|
SbeTimestamp |
createNullTimestamp(int tag,
SbeTimestamp ref)
Creates null MonthYear object.
|
int |
getBinarySize()
Size of the message/
|
boolean |
getBoolean(int tag)
Gets field value by tag.
|
byte[] |
getBuffer()
Binary data of the message.
|
char |
getChar(int tag)
Gets field value by tag.
|
<T> T |
getCustomComposite(int tag,
T ref)
Gets custom composite field value by tag.
|
ScaledDecimal |
getDecimal(int tag)
Gets field value by tag.
|
int |
getDynamicOffset()
Offset of dynamic part of hte message.
|
MonthYear |
getMonthYear(int tag)
Gets date field value by tag.
|
abstract int |
getMsgSize()
Gets message size.
|
int |
getOffset()
Offset on the binary buffer.
|
IFieldSet |
getParent()
Returns field set parent.
|
SbeTimestamp |
getTimestamp(int tag) |
BigInteger |
getUnsignedLong(int tag)
Gets field value by tag.
|
int |
getVersion() |
boolean |
isNullDecimal(int tag,
ScaledDecimal value)
Checks if the value represents null for the field with the given tag.
|
boolean |
isNullMonthYear(int tag,
MonthYear value)
Checks if the value represents null for the field with the given tag.
|
boolean |
isNullTimestamp(int tag,
SbeTimestamp value)
Checks if the value represents null for the field with the given tag.
|
void |
notifyBufferUpdate(byte[] data,
int pointOfModify,
int sizeDelta)
Internally-used method.
|
abstract void |
notifyFieldSetBufferUpdate(byte[] data,
int pointOfModify,
int sizeDelta) |
void |
setBoolean(int tag,
boolean value)
Sets field value by tag.
|
void |
setByte(int tag,
int value)
Sets field value by tag.
|
void |
setChar(int tag,
char value)
Sets field value by tag.
|
<T> void |
setCustomComposite(int tag,
T value)
Sets field value by tag.
|
void |
setShort(int tag,
int value)
Sets field value by tag.
|
void |
setUnsignedLong(int tag,
BigInteger value)
Sets field value by tag.
|
String |
toFixString(char separator)
String representation of the SBE message in FIX-compliant format.
|
String |
toString() |
String |
toString(char separator,
boolean useTagNames)
String reresentation of the FIX message.
|
<T> boolean |
tryGetCustomComposite(int tag,
T ref)
Tries to get composite field value by tag.
|
BigInteger |
tryGetUnsignedLong(int tag)
Gets field value by tag.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFixedBlockLength, getMessageHeader, getMessageName, getSemanticType, getTemplateId, getVersion, loadcontains, createEmptyStandardComposite, createNullDecimal, createNullMonthYear, createNullTimestamp, dataTags, fieldTags, getBoolean, getByte, getBytes, getChar, getCustomComposite, getDecimal, getDecimal, getGroup, getInt, getLong, getMonthYear, getMonthYear, getParent, getShort, getStatelessComposite, getString, getTimestamp, getTimestamp, getUnsignedByte, getUnsignedInt, getUnsignedLong, getUnsignedShort, getValuePtr, getVarData, groupTags, hasFieldTag, hasGroupTag, hasTag, hasVarDataTag, init, isNullDecimal, isNullMonthYear, isNullStandardComposite, isNullTimestamp, load, reset, setBoolean, setByte, setByte, setBytes, setChar, setCustomComposite, setDecimal, setInt, setLong, setMonthYear, setShort, setShort, setString, setTimestamp, setUnsignedByte, setUnsignedByte, setUnsignedInt, setUnsignedLong, setUnsignedShort, setVarData, tagName, tryGetBoolean, tryGetByte, tryGetBytes, tryGetChar, tryGetCustomComposite, tryGetDecimal, tryGetGroup, tryGetInt, tryGetLong, tryGetMonthYear, tryGetShort, tryGetString, tryGetTimestamp, tryGetUnsignedByte, tryGetUnsignedInt, tryGetUnsignedLong, tryGetUnsignedShort, tryGetValuePtr, tryGetVarDatapublic int getBinarySize()
getBinarySize in interface IMessagepublic int getOffset()
public byte[] getBuffer()
public abstract int getMsgSize()
getMsgSize in interface IMessagepublic String toFixString(char separator)
toFixString in interface IFieldSetseparator - for fieldspublic String toString(char separator, boolean useTagNames)
public int getDynamicOffset()
getDynamicOffset in interface IMessagepublic IMessage clone()
public void notifyBufferUpdate(byte[] data,
int pointOfModify,
int sizeDelta)
This method used internally and is a subject for update in further releases without special notifications.
data - Data.pointOfModify - Starting point of the modification.sizeDelta - Size delta.public IFieldSet getParent()
IFieldSetpublic void setBoolean(int tag,
boolean value)
IFieldSetsetBoolean in interface IFieldSettag - - integer tag id of the field.value - - value of the field.public boolean getBoolean(int tag)
IFieldSetgetBoolean in interface IFieldSettag - - integer tag id of the field.public void setChar(int tag,
char value)
IFieldSetpublic char getChar(int tag)
IFieldSetpublic void setByte(int tag,
int value)
IFieldSetpublic void setShort(int tag,
int value)
IFieldSetpublic BigInteger getUnsignedLong(int tag)
IFieldSetgetUnsignedLong in interface IFieldSettag - - integer tag id of the field.public BigInteger tryGetUnsignedLong(int tag)
IFieldSettryGetUnsignedLong in interface IFieldSettag - - integer tag id of the fieldpublic void setUnsignedLong(int tag,
BigInteger value)
IFieldSetsetUnsignedLong in interface IFieldSettag - - integer tag id of the field.value - - value of the field.public ScaledDecimal getDecimal(int tag)
IFieldSetgetDecimal in interface IFieldSettag - - integer tag id of the field.public MonthYear getMonthYear(int tag)
IFieldSetgetMonthYear in interface IFieldSettag - - integer tag id of the field.public int getVersion()
public SbeTimestamp getTimestamp(int tag)
getTimestamp in interface IFieldSetpublic ScaledDecimal createNullDecimal(int tag, ScaledDecimal ref)
IFieldSetcreateNullDecimal in interface IFieldSettag - Tag of the field which null value is requested.ref - Object to fill (optional)public boolean isNullDecimal(int tag,
ScaledDecimal value)
IFieldSetisNullDecimal in interface IFieldSettag - Tag of the field.value - Value to check.public MonthYear createNullMonthYear(int tag, MonthYear ref)
IFieldSetcreateNullMonthYear in interface IFieldSettag - field of the MonthYear type.ref - object to fill with null data.public boolean isNullMonthYear(int tag,
MonthYear value)
IFieldSetisNullMonthYear in interface IFieldSettag - Tag of the field.value - Value to check.public SbeTimestamp createNullTimestamp(int tag, SbeTimestamp ref)
IFieldSetcreateNullTimestamp in interface IFieldSettag - field of the MonthYear type.ref - object to fill with null data.public boolean isNullTimestamp(int tag,
SbeTimestamp value)
IFieldSetisNullTimestamp in interface IFieldSettag - Tag of the field.value - Value to check.public <T> T getCustomComposite(int tag,
T ref)
IFieldSetgetCustomComposite in interface IFieldSetT - Type of the custom composite.tag - Tag of teh fieldref - Custom composite object to fill.public <T> boolean tryGetCustomComposite(int tag,
T ref)
IFieldSettryGetCustomComposite in interface IFieldSetT - Type of the custom compositetag - Integer tag id of the field.ref - Variable to store the field value.
ref cannot be null. Value of ref will be rewritten.public <T> void setCustomComposite(int tag,
T value)
IFieldSetsetCustomComposite in interface IFieldSetT - Type of the custom compositetag - Integer tag id of the field.value - Value of the field.public abstract void notifyFieldSetBufferUpdate(byte[] data,
int pointOfModify,
int sizeDelta)
Copyright © 2005–2025 Onix Solutions. All rights reserved.