|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectquickfix.fix41.MessageFactory
public class MessageFactory
Constructor Summary | |
---|---|
MessageFactory()
|
Method Summary | |
---|---|
Message |
create(java.lang.String beginString,
java.lang.String msgType)
Creates a message for a specified type and FIX version |
Group |
create(java.lang.String beginString,
java.lang.String msgType,
int correspondingFieldID)
Creates a group for the specified parent message type and for the fields with the corresponding field ID Example: to create a MarketDataRequest.NoMDEntryTypes
you need to call
create(MsgType.MARKET_DATA_REQUEST , NoMDEntryTypes.FIELD )
Function returns null if the group cannot be created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageFactory()
Method Detail |
---|
public Message create(java.lang.String beginString, java.lang.String msgType)
MessageFactory
create
in interface MessageFactory
beginString
- the FIX version (for example, "FIX.4.2")msgType
- the FIX message type (for example, "D" for an order)
public Group create(java.lang.String beginString, java.lang.String msgType, int correspondingFieldID)
MessageFactory
MarketDataRequest.NoMDEntryTypes
you need to call
create(MsgType.MARKET_DATA_REQUEST
, NoMDEntryTypes.FIELD
)
Function returns null if the group cannot be created.
create
in interface MessageFactory
beginString
- the FIX version (for example, "FIX.4.2")msgType
- Message type of the enclosing messagecorrespondingFieldID
- the fieldID of the field in the group
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |