Modifier and Type | Field and Description |
---|---|
static int |
COMPIDPROBLEM |
static int |
DATATYPEMISMATCH |
static int |
DECRYPTIONPROBLEM |
static int |
GARBLEDMESSAGE |
static int |
INCORRECTDATAFORMATFORVALUE |
static int |
INCORRECTNUMINGROUPCOUNTOFREPEATINGGROUP |
static int |
INVALIDDATATYPE |
static int |
INVALIDMSGTYPE |
static int |
INVALIDTAGNUMBER |
static int |
NONDATAVALUEINCLUDESFIELDDELIMITER |
static int |
REPEATINGGROUPFIELDSOUTOFORDER |
static int |
REQUIREDTAGMISSING |
static int |
SENDINGTIMEACCURACYPROBLEM |
static int |
SIGNATUREPROBLEM |
static int |
TAGAPPEARSMORETHENONCE |
static int |
TAGNOTDEFINEDFORTHISMESSAGETYPE |
static int |
TAGSPECIFIEDOUTOFREQUIREDORDER |
static int |
TAGSPECIFIEDWITHOUTAVALUE |
static int |
UNDEFINEDTAG |
static int |
VALUEISINCORRECTFORTHISTAG |
static int |
XMLVALIDATIONERROR |
Constructor and Description |
---|
FIXMessage() |
FIXMessage(FIXField[] fields,
FIXVersion fixVersion) |
FIXMessage(FIXFieldList message) |
FIXMessage(FIXMessage fixMessage) |
FIXMessage(List fields,
FIXVersion fixVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
areAllReqTagsPresent(boolean checkOnlyApp,
List errors) |
void |
deleteField(int tag) |
static int |
generateChecksum(byte[] block,
boolean withChecksum) |
byte[] |
getBytes() |
List |
getCustomFields() |
Calendar |
getDateTimeField(int tag) |
Calendar |
getDateTimeField(int tag,
Calendar defaultValue) |
double |
getDoubleField(int tag) |
double |
getDoubleField(int tag,
double defaultValue) |
Double |
getDoubleObjField(int tag) |
Double |
getDoubleObjField(int tag,
int rgNum) |
Double |
getDoubleObjField(int tag,
int[] rgNums) |
Double |
getDoubleObjFieldNthOccur(int tag,
int rgNum) |
FIXField |
getField(int tag) |
FIXField |
getField(int tagNum,
int startWith) |
int |
getFieldIndex(int tag) |
int |
getFieldIndex(int tagNum,
int startWith) |
FIXField[] |
getFieldList() |
String |
getFieldValueAsString(int tag) |
String |
getFieldValueAsString(int tag,
int repeatingGroupNumber) |
Integer |
getIntegerObjField(int tag) |
Integer |
getIntegerObjField(int tag,
int rgNum) |
Integer |
getIntegerObjField(int tag,
int[] rgNums) |
Integer |
getIntegerObjFieldNthOccur(int tag,
int rgNum) |
long |
getLongField(int tag) |
long |
getLongField(int tag,
long defaultValue) |
Long |
getLongObjField(int tag) |
Long |
getLongObjField(int tag,
int rgNum) |
Long |
getLongObjFieldNthOccur(int tag,
int rgNum) |
String |
getMessageType() |
static FIXVersion |
getMsgFIXversion(byte[] block) |
static String |
getMsgType(byte[] block) |
static String |
getPossDupFlag(byte[] block) |
static String |
getReasonStr(int reason) |
int |
getRGFieldInd(int tagNum,
int ocurNum) |
FIXField[] |
getRGFields(int tag,
int[] rgNums) |
int |
getRGQty(int tag,
int[] rgNums) |
static String |
getSenderCompID(byte[] block) |
String |
getSendingTime() |
Calendar |
getSendingTimeAsDate() |
static long |
getSequenceNumber(byte[] msg) |
String |
getStringField(int tag) |
String |
getStringField(int tag,
int rgNum)
Deprecated.
use getFieldValueAsString instead
|
String |
getStringField(int tag,
String defaultValue) |
String |
getStringObjField(int tag) |
String |
getStringObjField(int tag,
int rgNum) |
String |
getStringObjField(int tag,
int[] rgNums) |
String |
getStringObjFieldNthOccur(int tag,
int rgNum) |
int |
getTagIndex(int tag,
int from,
int end,
int occurNum) |
static String |
getTargetCompID(byte[] block) |
FIXVersion |
getVersion() |
boolean |
hasValidMessageType() |
void |
insertDateTimeField(int tag,
int pos,
Calendar value) |
void |
insertDoubleField(int tag,
int pos,
double value) |
void |
insertField(FIXField fixField,
int pos) |
void |
insertLongField(int tag,
int pos,
long value) |
void |
insertRawField(int tag,
int pos,
byte[] value) |
void |
insertStringField(int tag,
int pos,
String value) |
boolean |
isAdministrative() |
static boolean |
isAdministrative(byte[] block) |
static boolean |
isMessageGarbled(byte[] block) |
boolean |
isResendable() |
void |
setDateTimeField(int index,
Calendar value) |
void |
setDateValue(int tag,
int pos,
Calendar cal) |
void |
setDeliverToCompID(String id) |
void |
setDeliverToLocationID(String id) |
void |
setDeliverToSubID(String id) |
void |
setDoubleField(int index,
double value) |
void |
setFieldList(FIXField[] fields) |
void |
setFieldList(List fields) |
void |
setLongField(int index,
long value) |
void |
setMessageType(String type) |
void |
setOnBehalfOfCompID(String id) |
void |
setOnBehalfOfLocationID(String id) |
void |
setOnBehalfOfSubID(String id) |
void |
setRawField(int index,
byte[] value) |
void |
setSenderID(String id) |
void |
setSenderLocationID(String id) |
void |
setSenderSubID(String id) |
void |
setSendingTime() |
void |
setSequenceNumber(int sequence) |
void |
setStringField(int index,
String value) |
void |
setStringValue(int tag,
int pos,
String str) |
void |
setTargetID(String id) |
void |
setTargetLocationID(String id) |
void |
setTargetSubID(String id) |
void |
setVersion(FIXVersion fixVersion) |
byte[] |
toFIXBlock() |
FIXFieldList |
toFIXFieldList() |
String |
toString() |
boolean |
validateMessage(List errors) |
void |
writeTo(OutputStream out) |
public static final int INVALIDTAGNUMBER
public static final int REQUIREDTAGMISSING
public static final int TAGNOTDEFINEDFORTHISMESSAGETYPE
public static final int UNDEFINEDTAG
public static final int TAGSPECIFIEDWITHOUTAVALUE
public static final int VALUEISINCORRECTFORTHISTAG
public static final int INCORRECTDATAFORMATFORVALUE
public static final int DECRYPTIONPROBLEM
public static final int SIGNATUREPROBLEM
public static final int COMPIDPROBLEM
public static final int SENDINGTIMEACCURACYPROBLEM
public static final int INVALIDMSGTYPE
public static final int XMLVALIDATIONERROR
public static final int TAGAPPEARSMORETHENONCE
public static final int TAGSPECIFIEDOUTOFREQUIREDORDER
public static final int REPEATINGGROUPFIELDSOUTOFORDER
public static final int INCORRECTNUMINGROUPCOUNTOFREPEATINGGROUP
public static final int NONDATAVALUEINCLUDESFIELDDELIMITER
public static final int DATATYPEMISMATCH
public static final int GARBLEDMESSAGE
public static final int INVALIDDATATYPE
public FIXMessage(FIXMessage fixMessage)
public FIXMessage()
public FIXMessage(FIXField[] fields, FIXVersion fixVersion)
public FIXMessage(List fields, FIXVersion fixVersion)
public FIXMessage(FIXFieldList message)
public static String getReasonStr(int reason)
public static boolean isMessageGarbled(byte[] block)
public static int generateChecksum(byte[] block, boolean withChecksum)
public double getDoubleField(int tag, double defaultValue)
public Double getDoubleObjField(int tag)
public Double getDoubleObjField(int tag, int rgNum)
public Double getDoubleObjField(int tag, int[] rgNums)
public Double getDoubleObjFieldNthOccur(int tag, int rgNum)
public int getFieldIndex(int tag)
public int getFieldIndex(int tagNum, int startWith)
public FIXField getField(int tag)
public FIXField getField(int tagNum, int startWith)
public FIXField[] getFieldList()
public Integer getIntegerObjField(int tag)
public Integer getIntegerObjField(int tag, int rgNum)
public int getTagIndex(int tag, int from, int end, int occurNum)
public Integer getIntegerObjField(int tag, int[] rgNums)
public Integer getIntegerObjFieldNthOccur(int tag, int rgNum)
public long getLongField(int tag, long defaultValue)
public Long getLongObjField(int tag)
public Long getLongObjField(int tag, int rgNum)
public Long getLongObjFieldNthOccur(int tag, int rgNum)
public String getMessageType()
public static String getMsgType(byte[] block)
public static String getTargetCompID(byte[] block)
public static String getSenderCompID(byte[] block)
public static long getSequenceNumber(byte[] msg)
public static String getPossDupFlag(byte[] block)
public static FIXVersion getMsgFIXversion(byte[] block)
public int getRGFieldInd(int tagNum, int ocurNum)
public String getSendingTime()
public Calendar getSendingTimeAsDate()
public String getStringField(int tag)
public String getStringField(int tag, int rgNum)
tag
- public String getStringObjField(int tag)
public String getFieldValueAsString(int tag, int repeatingGroupNumber)
public String getFieldValueAsString(int tag)
public String getStringObjField(int tag, int rgNum)
public String getStringObjField(int tag, int[] rgNums)
public FIXField[] getRGFields(int tag, int[] rgNums)
public int getRGQty(int tag, int[] rgNums)
public String getStringObjFieldNthOccur(int tag, int rgNum)
public void insertField(FIXField fixField, int pos)
public void deleteField(int tag)
public boolean isResendable()
public boolean isAdministrative()
public static boolean isAdministrative(byte[] block)
public void setFieldList(List fields)
public void setFieldList(FIXField[] fields)
public void setMessageType(String type) throws FIXMessageException
FIXMessageException
public void setSenderID(String id) throws FIXMessageException
FIXMessageException
public void setSenderSubID(String id) throws FIXMessageException
FIXMessageException
public void setSenderLocationID(String id) throws FIXMessageException
FIXMessageException
public void setOnBehalfOfCompID(String id) throws FIXMessageException
FIXMessageException
public void setDeliverToCompID(String id) throws FIXMessageException
FIXMessageException
public void setOnBehalfOfSubID(String id) throws FIXMessageException
FIXMessageException
public void setDeliverToSubID(String id) throws FIXMessageException
FIXMessageException
public void setOnBehalfOfLocationID(String id) throws FIXMessageException
FIXMessageException
public void setDeliverToLocationID(String id) throws FIXMessageException
FIXMessageException
public void setSendingTime() throws FIXMessageException
FIXMessageException
public void setSequenceNumber(int sequence) throws FIXMessageException
FIXMessageException
public void setTargetID(String id) throws FIXMessageException
FIXMessageException
public void setTargetSubID(String id) throws FIXMessageException
FIXMessageException
public void setTargetLocationID(String id) throws FIXMessageException
FIXMessageException
public void setDateValue(int tag, int pos, Calendar cal) throws FIXMessageException
FIXMessageException
public void setStringValue(int tag, int pos, String str) throws FIXMessageException
FIXMessageException
public void insertStringField(int tag, int pos, String value) throws FIXMessageException
FIXMessageException
public void insertRawField(int tag, int pos, byte[] value) throws FIXMessageException
FIXMessageException
public void insertLongField(int tag, int pos, long value) throws FIXMessageException
FIXMessageException
public void insertDoubleField(int tag, int pos, double value) throws FIXMessageException
FIXMessageException
public void insertDateTimeField(int tag, int pos, Calendar value) throws FIXMessageException
FIXMessageException
public void setStringField(int index, String value) throws FIXMessageException
FIXMessageException
public void setLongField(int index, long value) throws FIXMessageException
FIXMessageException
public void setDoubleField(int index, double value) throws FIXMessageException
FIXMessageException
public void setDateTimeField(int index, Calendar value) throws FIXMessageException
FIXMessageException
public void setRawField(int index, byte[] value) throws FIXMessageException
FIXMessageException
public void setVersion(FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXVersion getVersion()
public byte[] toFIXBlock()
public boolean areAllReqTagsPresent(boolean checkOnlyApp, List errors)
public boolean hasValidMessageType()
public boolean validateMessage(List errors)
public List getCustomFields()
public void writeTo(OutputStream out) throws IOException
writeTo
in interface Message
IOException
public FIXFieldList toFIXFieldList()
Copyright © 2000–2022 EPAM Systems. All rights reserved.