public class FIXFieldListUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TIMESTAMPS_COUNT |
Modifier and Type | Method and Description |
---|---|
static 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=Y
|
static 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) |
@Deprecated public static boolean isMessageType(FIXFieldList message, String msgType)
message
- the messagemsgType
- the message typepublic static boolean isMessageType(FIXFieldList message, byte[] msgType)
message
- the messagemsgType
- the message typepublic static boolean isTagValueEquals(FIXFieldList message, int tag, byte[] value)
message
- the messagetag
- the tag idvalue
- the tag valuepublic static boolean isTagValueEquals(FIXFieldList message, int tag, String value)
message
- the messagetag
- the tag idvalue
- the tag valuepublic static boolean isEqualIgnoreOrder(FIXFieldList message1, FIXFieldList message2)
message1
- the messagemessage2
- the messagepublic static boolean isTagValueEquals(FIXField field, String value)
field
- the fieldvalue
- the String constantpublic static boolean isPosDup(FIXFieldList message)
message
- the messagepublic static boolean isGapFill(FIXFieldList message)
message
- the message@Deprecated public static boolean isLogon(byte[] type)
type
- the array of bytespublic static boolean isLogon(FIXFieldList message)
message
- FIX message@Deprecated public static boolean isLogout(byte[] type)
type
- the array of bytespublic static boolean isLogout(FIXFieldList message)
message
- FIX message@Deprecated public static boolean isSeqReset(byte[] type)
type
- the array of bytespublic static boolean isSeqReset(FIXFieldList message)
message
- FIX messagepublic static boolean isIgnorableMsg(FIXFieldList message)
message
- the messagepublic static boolean isResetLogon(FIXFieldList message) throws FieldNotFoundException
message
- the messageFieldNotFoundException
public static void setTimestamp(FIXFieldList message, int index, long timestamp)
public static long getTimestamp(FIXFieldList message, int index)
Copyright © 2000–2022 EPAM Systems. All rights reserved.