public interface FixMessage
Modifier and Type | Method and Description |
---|---|
boolean |
compareBeginString(byte[] value)
Returns true if the message contains BeginString(8) same as the specified value, false otherwise.
|
boolean |
compareSenderCompId(byte[] value)
Returns true if the message contains SenderCompID(49) same as the specified value, false otherwise.
|
boolean |
compareTargetCompId(byte[] value)
Returns true if the message contains TargetCompID(56) same as the specified value, false otherwise.
|
boolean |
compareTestReqID(ValuePtr testReqId)
Returns true if the message contains TestReqID(112) same as the specified value, false otherwise.
|
FixMessage |
copy()
Returns copy of the
FixMessage . |
long |
getBeginSeqNo()
Returns BeginSeqNo(7).
|
String |
getBeginString()
Returns BeginString(9)
|
long |
getEndSeqNo()
Returns EndSeqNo(16).
|
FlatMessage |
getFlatMessage()
Returns the
FlatMessage object. |
int |
getHeartBtInt()
Returns HeartBtInt(108).
|
ValuePtr |
getMsgType()
Returns MsgType(35).
|
byte |
getMsgTypeFirstByte()
Returns first byte of MsgType(35).
|
long |
getNewSeqNo()
Returns NewSeqNo(36).
|
long |
getNextExpectedMsgSeqNum()
Returns NextExpectedMsgSeqNum(789).
|
String |
getSenderCompID()
Returns SenderCompID(49).
|
long |
getSeqNum()
Returns MsgSeqNum(34).
|
Message |
getStructuredMessage(Version version)
Returns the
Message object created based on internal FlatMessage object. |
String |
getTargetCompID()
Returns TargetCompID(56).
|
boolean |
getTestReqID(ValuePtr testReqId)
Returns TestReqID(112).
|
String |
getText()
Returns Text(58).
|
Version |
getVersion()
Returns Fix version parsed from the message.
|
boolean |
hasBeginSeqNo()
Returns whether the message contains BeginSeqNo(7).
|
boolean |
hasEndSeqNo()
Returns whether the message contains EndSeqNo(16).
|
boolean |
hasGapFillFlag()
Returns whether the message contains GapFillFlag(123).
|
boolean |
hasHeartBtInt()
Returns whether the message contains HeartBtInt(108).
|
boolean |
hasNewSeqNo()
Returns whether the message contains NewSeqNo(36).
|
boolean |
hasNextExpectedMsgSeqNum()
Returns whether the message contains NextExpectedMsgSeqNum(789).
|
boolean |
hasResetSeqNumFlag()
Returns whether the message contains ResetSeqNumFlag(141).
|
boolean |
hasSenderCompID()
Returns whether the message contains SenderCompID(49).
|
boolean |
hasTargetCompID()
Returns whether the message contains TargetCompID(56).
|
boolean |
hasText()
Returns whether the message contains Text(58).
|
boolean |
isOriginal()
Returns whether the message is original or not.
|
boolean |
isSessionLevel()
Returns whether fix message is session level or not.
|
void |
reset(byte[] rawFixMsg,
int length)
Resets the fix message with the given raw FIX message, allows to re-use internal data structures.
|
void |
validate(int inboundMsgValidFlags)
Validates the fix message according to the given validation flags.
|
void reset(byte[] rawFixMsg, int length)
rawFixMsg
- raw FIX message in the tag=value formlength
- raw FIX message length in bytesvoid validate(int inboundMsgValidFlags)
inboundMsgValidFlags
- validation flags MessageValidationFlags
FixMessage copy()
FixMessage
.FixMessage
.FlatMessage getFlatMessage()
FlatMessage
object.FlatMessage
object.Message getStructuredMessage(Version version)
Message
object created based on internal FlatMessage
object.version
- FIX versionMessage
object.boolean isSessionLevel()
ValuePtr getMsgType()
byte getMsgTypeFirstByte()
long getSeqNum()
boolean isOriginal()
boolean compareBeginString(byte[] value)
value
- expected BeginString(8)String getBeginString()
boolean hasSenderCompID()
boolean compareSenderCompId(byte[] value)
value
- expected SenderCompID(49)String getSenderCompID()
boolean hasTargetCompID()
boolean compareTargetCompId(byte[] value)
value
- expected TargetCompID(56)String getTargetCompID()
boolean getTestReqID(ValuePtr testReqId)
testReqId
- field value reference to be filledboolean compareTestReqID(ValuePtr testReqId)
testReqId
- expected TargetCompID(56)boolean hasHeartBtInt()
int getHeartBtInt()
boolean hasNextExpectedMsgSeqNum()
long getNextExpectedMsgSeqNum()
boolean hasText()
String getText()
boolean hasBeginSeqNo()
long getBeginSeqNo()
boolean hasEndSeqNo()
long getEndSeqNo()
boolean hasNewSeqNo()
long getNewSeqNo()
boolean hasGapFillFlag()
boolean hasResetSeqNumFlag()
Version getVersion()
Note: The engine must be initialized.
Copyright © 2005–2024 Onix Solutions. All rights reserved.