|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FIXMessageFactory
FIXMessageFactory interface defines object capable to create session level messages. User could extend existing standard MessageFactories or even write his own custom message factory
Method Summary | |
---|---|
FIXFieldList |
completeMessage(String msgType,
FIXFieldList content)
Completes the message. |
void |
completeOutgoingFixFields(ExtendedFIXSession fixSession,
long preferSeqNum)
Complete the outgoing fix fields. |
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. |
boolean |
isSendingTimeWithMs()
FIX40 and FIX41 use sending time without milliseconds |
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 |
setSessionParameters(SessionParameters sessionParameters)
Setter for session parameters used to construct message headers. |
Method Detail |
---|
@Deprecated FIXFieldList getRejectForMessageTag(FIXFieldList rejectedMessage, FIXField rejectField, int rejectReason, String rejectText)
rejectedMessage
- the rejected messagerejectField
- the rejected fieldrejectReason
- the rejected reason coderejectText
- the rejected text
FIXFieldList 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 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()
boolean isSendingTimeWithMs()
FIXFieldList completeMessage(String msgType, FIXFieldList content)
msgType
- the message typecontent
- the content of message
void completeOutgoingFixFields(ExtendedFIXSession fixSession, long preferSeqNum)
Method works under the parameter ForceSeqNumReset
of session.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |