|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.fix.message.PreparedMessageUtil
public class PreparedMessageUtil
User: Aliaksei_Kurnosau Date: 6/12/12 Time: 9:37 AM
| Field Summary | |
|---|---|
static int |
BODYLENGTH_FIELD_DEFAULT_MAX
|
static int |
BODYLENGTH_FIELD_LENGTH
|
static byte[] |
EMPTY_BYTES
|
protected static Log |
log
|
static int |
SEQNUM_FIELD_LENGTH
|
| Constructor Summary | |
|---|---|
PreparedMessageUtil(SessionParameters sessionParameters)
Default constructor with SessionParameters object. |
|
| Method Summary | |
|---|---|
static int |
getBytesLength(long num)
returns size of serialized long in bytes |
FIXFieldList |
prepareMessage(byte[] msgType,
MessageStructure userStructure)
Builds FIXFieldList object with specified type, message structure and prefilled header information |
FIXFieldList |
prepareMessage(byte[] msgType,
MessageStructure userStructure,
boolean fromPool)
Builds FIXFieldList object with specified type, message structure and prefilled header information |
FIXFieldList |
prepareMessage(FIXFieldList template,
byte[] msgType,
MessageStructure userStructure)
|
FIXFieldList |
prepareMessage(FIXFieldList template,
byte[] msgType,
MessageStructure userStructure,
boolean fromPool)
Builds FIXFieldList object from exist template with specified message type, message structure and prefilled header and trailer. |
FIXFieldList |
prepareMessage(FIXFieldList message,
MessageStructure userStructure)
Builds FIXFieldList object from exist template. |
FIXFieldList |
prepareMessage(FIXFieldList message,
MessageStructure userStructure,
boolean fromPool)
Builds FIXFieldList object from exist template. |
FIXFieldList |
prepareMessage(FIXFieldList template,
String msgType,
MessageStructure userStructure)
Builds FIXFieldList object from exist template with specified message structure and prefilled header and trailer. |
FIXFieldList |
prepareMessage(FIXFieldList template,
String msgType,
MessageStructure userStructure,
boolean fromPool)
Builds FIXFieldList object from exist template with specified message structure and prefilled header and trailer. |
FIXFieldList |
prepareMessage(String msgTypeStr,
MessageStructure userStructure)
Builds FIXFieldList object with specified type, message structure and prefilled header information |
FIXFieldList |
prepareMessage(String msgTypeStr,
MessageStructure userStructure,
boolean fromPool)
Builds FIXFieldList object with specified type, message structure and prefilled header information |
FIXFieldList |
prepareMessageFromString(byte[] message,
byte[] type,
MessageStructure structure)
Builds FIXFieldList object from String object. |
FIXFieldList |
prepareMessageFromString(byte[] message,
byte[] type,
MessageStructure structure,
boolean fromPool)
Builds FIXFieldList object from String object. |
FIXFieldList |
prepareMessageFromString(byte[] message,
MessageStructure structure)
Builds FIXFieldList object from String object. |
FIXFieldList |
prepareMessageFromString(byte[] message,
MessageStructure structure,
boolean fromPool)
Builds FIXFieldList object from String object. |
FIXFieldList |
prepareMessageFromString(byte[] message,
String type,
MessageStructure structure)
Builds FIXFieldList object from String object. |
FIXFieldList |
prepareMessageFromString(byte[] message,
String type,
MessageStructure structure,
boolean fromPool)
Builds FIXFieldList object from String object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] EMPTY_BYTES
public static final int BODYLENGTH_FIELD_LENGTH
public static final int BODYLENGTH_FIELD_DEFAULT_MAX
public static final int SEQNUM_FIELD_LENGTH
protected static final Log log
| Constructor Detail |
|---|
public PreparedMessageUtil(SessionParameters sessionParameters)
sessionParameters - SessionParameters object| Method Detail |
|---|
public FIXFieldList prepareMessage(FIXFieldList message,
MessageStructure userStructure)
throws PreparedMessageException
message - userStructure -
PreparedMessageException
public FIXFieldList prepareMessage(FIXFieldList message,
MessageStructure userStructure,
boolean fromPool)
throws PreparedMessageException
message - userStructure -
PreparedMessageException
public FIXFieldList prepareMessage(String msgTypeStr,
MessageStructure userStructure)
throws PreparedMessageException
msgTypeStr - message typeuserStructure - message structure
PreparedMessageException
public FIXFieldList prepareMessage(String msgTypeStr,
MessageStructure userStructure,
boolean fromPool)
throws PreparedMessageException
msgTypeStr - message typeuserStructure - message structure
PreparedMessageException
public FIXFieldList prepareMessage(byte[] msgType,
MessageStructure userStructure)
throws PreparedMessageException
msgType - message typeuserStructure - message structure
PreparedMessageException
public FIXFieldList prepareMessage(byte[] msgType,
MessageStructure userStructure,
boolean fromPool)
throws PreparedMessageException
msgType - message typeuserStructure - message structure
PreparedMessageException
public FIXFieldList prepareMessage(FIXFieldList template,
String msgType,
MessageStructure userStructure)
throws PreparedMessageException
template - msgType - userStructure -
PreparedMessageException
public FIXFieldList prepareMessage(FIXFieldList template,
String msgType,
MessageStructure userStructure,
boolean fromPool)
throws PreparedMessageException
template - msgType - userStructure -
PreparedMessageException
public FIXFieldList prepareMessage(FIXFieldList template,
byte[] msgType,
MessageStructure userStructure)
throws PreparedMessageException
PreparedMessageException
public FIXFieldList prepareMessage(FIXFieldList template,
byte[] msgType,
MessageStructure userStructure,
boolean fromPool)
throws PreparedMessageException
template - FIXFieldList objectuserStructure - template structuremsgType - type of the template
PreparedMessageException - exception
public FIXFieldList prepareMessageFromString(byte[] message,
MessageStructure structure)
throws PreparedMessageException
message - structure -
PreparedMessageException
public FIXFieldList prepareMessageFromString(byte[] message,
MessageStructure structure,
boolean fromPool)
throws PreparedMessageException
message - structure -
PreparedMessageException
public FIXFieldList prepareMessageFromString(byte[] message,
String type,
MessageStructure structure)
throws PreparedMessageException
message - message stringstructure - message structure objecttype - message type
PreparedMessageException - exception
public FIXFieldList prepareMessageFromString(byte[] message,
String type,
MessageStructure structure,
boolean fromPool)
throws PreparedMessageException
message - message stringstructure - message structure objecttype - message type
PreparedMessageException - exception
public FIXFieldList prepareMessageFromString(byte[] message,
byte[] type,
MessageStructure structure)
throws PreparedMessageException
message - type - structure -
PreparedMessageException
public FIXFieldList prepareMessageFromString(byte[] message,
byte[] type,
MessageStructure structure,
boolean fromPool)
throws PreparedMessageException
message - type - structure -
PreparedMessageExceptionpublic static int getBytesLength(long num)
num - number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||