public class FIXMessage extends Message
FIXProtocolParser
to aid in building
Message instances parsed from the FIXProtocol
. Generally not used
directly by the end user.Message.AckType, Message.Command, Message.Options, Message.Reason, Message.SerializationResult, Message.Status
Modifier and Type | Field and Description |
---|---|
byte |
fieldSeparator |
byte |
headerSeparator |
byte |
messageSeparator |
_AckType, _BatchSize, _Bookmark, _client, _ClientName, _Command, _CommandId, _CorrelationId, _Data, _Expiration, _fields, _Filter, _GroupSeqNo, _LeasePeriod, _Length, _Matches, _MessageType, _Options, _OrderBy, _Password, _QueryId, _Reason, _RecordsDeleted, _RecordsInserted, _RecordsReturned, _RecordsUpdated, _Sequence, _SowKey, _SowKeys, _Status, _SubId, _SubIds, _Timestamp, _Topic, _TopicMatches, _TopN, _UserId, _Version, decoder, encoder
Constructor and Description |
---|
FIXMessage(byte fieldSeparator,
byte headerSeparator,
byte messageSeparator,
java.nio.charset.CharsetEncoder encoder,
java.nio.charset.CharsetDecoder decoder)
Initializes a new instance of the FIXMessage class with
the specified separators and encodings.
|
Modifier and Type | Method and Description |
---|---|
Message |
copy()
Copies the FIX Message into a new FIX Message.
|
Message.SerializationResult |
serialize(java.nio.ByteBuffer b)
Serializes this message into the provided byte buffer at its current
position.
|
_copyTo, ack, ack, ack, ack, getAckType, getAckTypeOutgoing, getBatchSize, getBookmark, getBookmarkRaw, getBookmarkSeqNo, getBuffer, getClient, getClientName, getClientNameRaw, getCommand, getCommandId, getCommandId, getCommandIdRaw, getCorrelationId, getCorrelationIdRaw, getData, getDataRaw, getDecoder, getEncoder, getExpiration, getExpirationRaw, getFilter, getFilterRaw, getGroupSeqNo, getLeasePeriod, getLeasePeriodRaw, getLength, getMatches, getMessageType, getOptions, getOptionsRaw, getOrderBy, getOrderByRaw, getPassword, getPasswordRaw, getQueryId, getQueryId, getQueryIdRaw, getRawBufferLength, getRawBufferOffset, getReason, getReasonText, getRecordsDeleted, getRecordsInserted, getRecordsReturned, getRecordsUpdated, getSequence, getSequenceRaw, getSowKey, getSowKeyRaw, getSowKeys, getSowKeysRaw, getStatus, getSubId, getSubId, getSubIdRaw, getSubIds, getSubIdsRaw, getSubscription, getTimestamp, getTimestampRaw, getTopic, getTopicMatches, getTopicRaw, getTopN, getUserId, getUserIdRaw, getVersion, getVersionAsInt, getVersionRaw, isAckTypeNull, isBatchSizeNull, isBookmarkNull, isClientNameNull, isCommandIdNull, isCommandNull, isCorrelationIdNull, isDataNull, isExpirationNull, isFilterNull, isGroupSeqNoNull, isIgnoreAutoAck, isLeasePeriodNull, isLengthNull, isMatchesNull, isMessageTypeNull, isOptionsNull, isOrderByNull, isPasswordNull, isQueryIdNull, isReasonNull, isRecordsDeletedNull, isRecordsInsertedNull, isRecordsReturnedNull, isRecordsUpdatedNull, isSequenceNull, isSowKeyNull, isSowKeysNull, isSubIdNull, isSubIdsNull, isTimestampNull, isTopicMatchesNull, isTopicNull, isTopNNull, isUserIdNull, isVersionNull, reset, setAckType, setAckType, setBatchSize, setBookmark, setBookmark, setBookmarkSeqNo, setBuffer, setClientName, setClientName, setCommand, setCommand, setCommandId, setCommandId, setCommandId, setCorrelationId, setData, setData, setExpiration, setFilter, setFilter, setGroupSeqNo, setIgnoreAutoAck, setLength, setMatches, setMessageType, setOptions, setOrderBy, setOrderBy, setPassword, setPassword, setQueryId, setQueryId, setQueryId, setRawBufferLength, setRawBufferOffset, setReason, setRecordsDeleted, setRecordsInserted, setRecordsReturned, setRecordsUpdated, setSequence, setSowKey, setSowKey, setSowKeys, setSowKeys, setStatus, setSubId, setSubId, setSubId, setSubIds, setSubIds, setSubscription, setTimestamp, setTimestamp, setTopic, setTopic, setTopicMatches, setTopN, setUserId, setUserId, setVersion, setVersion, toString
public byte fieldSeparator
public byte headerSeparator
public byte messageSeparator
public FIXMessage(byte fieldSeparator, byte headerSeparator, byte messageSeparator, java.nio.charset.CharsetEncoder encoder, java.nio.charset.CharsetDecoder decoder)
fieldSeparator
- The byte value representing
the field separator.headerSeparator
- The byte value representing
the header separator.messageSeparator
- The byte value representing
the message separator.encoder
- The encoding used for serialization.decoder
- The encoding used for deserialization.public Message.SerializationResult serialize(java.nio.ByteBuffer b)
Message