Package com.epam.fix.message
Class FIXFieldListUtil
java.lang.Object
com.epam.fix.message.FIXFieldListUtil
FIXFieldList helper class.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic long
getTimestamp
(FIXFieldList message, int index) static boolean
isEqualIgnoreOrder
(FIXFieldList message1, FIXFieldList message2) Compares two message, the order of tag is ignored.static boolean
isGapFill
(FIXFieldList message) Returns true if message has the 123 tag and value is equals 'Y'.static boolean
isIgnorableMsg
(FIXFieldList message) Methods checks if message has 4 or A type.static boolean
isLogon
(byte[] type) Deprecated.static boolean
isLogon
(FIXFieldList message) Checks if message type is login.static boolean
isLogout
(byte[] type) Deprecated.static boolean
isLogout
(FIXFieldList message) Checks if message type is logout.static boolean
isMessageType
(FIXFieldList message, byte[] msgType) Checks the message type.static boolean
isMessageType
(FIXFieldList message, String msgType) Deprecated.static boolean
isPosDup
(FIXFieldList message) Returns true if message has the 43 tag.static boolean
isResetLogon
(FIXFieldList message) Returns true if message is logon and has 34=1 and 141=Ystatic boolean
isSeqReset
(byte[] type) Deprecated.static boolean
isSeqReset
(FIXFieldList message) Checks if message type is logout.static boolean
isTagValueEquals
(FIXFieldList message, int tag, byte[] value) Checks is tag exist and value equals.static boolean
isTagValueEquals
(FIXFieldList message, int tag, String value) Checks is tag exist and value equals.static boolean
isTagValueEquals
(FIXField field, String value) Compare Field's raw value to passed String constant.static void
setTimestamp
(FIXFieldList message, int index, long timestamp)
-
Field Details
-
TIMESTAMPS_COUNT
public static final int TIMESTAMPS_COUNT- See Also:
-
-
Method Details
-
isMessageType
Deprecated.Checks the message type.- Parameters:
message
- the messagemsgType
- the message type
-
isMessageType
Checks the message type.- Parameters:
message
- the messagemsgType
- the message type
-
isTagValueEquals
Checks is tag exist and value equals.- Parameters:
message
- the messagetag
- the tag idvalue
- the tag value
-
isTagValueEquals
Checks is tag exist and value equals.- Parameters:
message
- the messagetag
- the tag idvalue
- the tag value
-
isEqualIgnoreOrder
Compares two message, the order of tag is ignored.- Parameters:
message1
- the messagemessage2
- the message
-
isTagValueEquals
Compare Field's raw value to passed String constant.- Parameters:
field
- the fieldvalue
- the String constant
-
isPosDup
Returns true if message has the 43 tag.- Parameters:
message
- the message
-
isGapFill
Returns true if message has the 123 tag and value is equals 'Y'.- Parameters:
message
- the message
-
isLogon
Deprecated.Checks if type is login.- Parameters:
type
- the array of bytes
-
isLogon
Checks if message type is login.- Parameters:
message
- FIX message
-
isLogout
Deprecated.Checks if type is logout.- Parameters:
type
- the array of bytes
-
isLogout
Checks if message type is logout.- Parameters:
message
- FIX message
-
isSeqReset
Deprecated.Checks if type is logout.- Parameters:
type
- the array of bytes
-
isSeqReset
Checks if message type is logout.- Parameters:
message
- FIX message
-
isIgnorableMsg
Methods checks if message has 4 or A type.- Parameters:
message
- the message- Returns:
- true if it is
-
isResetLogon
Returns true if message is logon and has 34=1 and 141=Y- Parameters:
message
- the message- Throws:
FieldNotFoundException
-
setTimestamp
-
getTimestamp
-