public interface FIXMessageFactory
Modifier and Type | Method and Description |
---|---|
FIXFieldList |
completeMessage(String msgType,
FIXFieldList content)
Completes the message.
|
byte[] |
getCurrentSendingTime()
Gets current sending time.
|
long |
getEndSequenceNumber()
Get for current fix version the maximum sequence number.
|
FIXFieldList |
getRejectForMessageTag(FIXFieldList rejectedMessage,
FIXField rejectField,
int rejectReason,
String rejectText)
Deprecated.
|
FIXFieldList |
getRejectForMessageTag(FIXFieldList rejectMessage,
int refTagId,
int rejectReason,
String rejectText)
Creates reject message.
|
SendingTime |
getSendingTime()
Returns appropriate SendingTime implementation
|
boolean |
isSendingTimeWithMs()
Deprecated.
|
void |
serialize(FIXFieldList content,
ChangesType changesType,
ByteBuffer buffer,
SerializationContext context)
Build message based on a type and content.
|
void |
serialize(MsgBuf buf,
String msgType,
FIXFieldList content,
ByteBuffer buffer,
SerializationContext context)
Build message based on a type and content.
|
void |
setRuntimeState(FIXSessionRuntimeState runtimeState) |
void |
setSessionParameters(SessionParameters sessionParameters)
Setter for session parameters used to construct message headers.
|
@Deprecated FIXFieldList getRejectForMessageTag(FIXFieldList rejectedMessage, FIXField rejectField, int rejectReason, String rejectText)
rejectedMessage
- the rejected messagerejectField
- the rejected fieldrejectReason
- the rejected reason coderejectText
- the rejected textFIXFieldList getRejectForMessageTag(FIXFieldList rejectMessage, int refTagId, int rejectReason, String rejectText)
rejectMessage
- the rejected messagerefTagId
- the reference tagrejectReason
- the reject reasonrejectText
- the reject textvoid setSessionParameters(SessionParameters sessionParameters)
sessionParameters
- the session parametersvoid setRuntimeState(FIXSessionRuntimeState runtimeState)
void serialize(MsgBuf buf, String msgType, FIXFieldList content, ByteBuffer buffer, SerializationContext context)
msgType
- the message typecontent
- the message contentvoid serialize(FIXFieldList content, ChangesType changesType, ByteBuffer buffer, SerializationContext context)
content
- the message contentchangesType
- the change typelong getEndSequenceNumber()
byte[] getCurrentSendingTime()
@Deprecated boolean isSendingTimeWithMs()
SendingTime getSendingTime()
FIXFieldList completeMessage(String msgType, FIXFieldList content)
msgType
- the message typecontent
- the content of messageCopyright © 2000–2022 EPAM Systems. All rights reserved.