|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Template
This is an interface that classes will used when implementing a FAST template.
Method Summary | |
---|---|
void |
appendField(biz.onixs.fix.fastnew.TemplateField field)
Adds a field to the container. |
Template |
copy()
|
int |
decode(byte[] buffer,
int offset,
biz.onixs.fix.fastnew.DecoderPresenceMap presenceMap,
Decoder decoder)
This function will decode the message in the byte buffer and put the decoded fields into the message provided. |
int |
encode(Encoder encoder,
byte[] buffer)
This function will encode the message into the byte buffer provided using this template. |
biz.onixs.fix.fastnew.TemplateField[] |
getFields()
This function returns an array of the fields added to this container in the order they were added. |
String |
getFixMessageType()
|
String |
getId()
This function will return the template id for this template. |
int |
getIdAsInt()
|
String |
getName()
|
Method Detail |
---|
int encode(Encoder encoder, byte[] buffer)
buffer
- the byte buffer in which to place the encoded message
int decode(byte[] buffer, int offset, biz.onixs.fix.fastnew.DecoderPresenceMap presenceMap, Decoder decoder)
buffer
- the buffer that contains the encoded message to decodeoffset
- the offset into the buffer where the decoder should start decodingpresenceMap
- the presence map to use for decoding this messageString getId()
String getName()
Template copy()
String getFixMessageType()
int getIdAsInt()
void appendField(biz.onixs.fix.fastnew.TemplateField field)
field
- the field to add to the containerbiz.onixs.fix.fastnew.TemplateField[] getFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |