Name | |
---|---|
typedef void(MAMACALLTYPE *)(const mamaMsg msg, const mamaMsgField field, void *closure) | mamaMsgIteratorCb |
Name | |
---|---|
MAMAIgnoreDeprecatedOpen | MAMATypeDeprecated(mamaPayloadType , “mamaPayloadType has been deprecated, use dynamic loading instead!” ) |
MAMAIgnoreDeprecatedClose MAMAIgnoreDeprecatedOpen MAMAExpDLL const char * | mamaPayload_convertToString(mamaPayloadType payloadType) |
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status | mamaMsg_create(mamaMsg * msg) |
MAMAIgnoreDeprecatedOpen | MAMAExpDeprecatedDLL(“mamaMsg_createForPayload has been deprecated, use dynamic loading instead!” ) |
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status | mamaMsg_createForPayloadBridge(mamaMsg * msg, mamaPayloadBridge payloadBridge) |
MAMAExpDLL mama_status | mamaMsg_createForTemplate(mamaMsg * msg, mama_u32_t templateId) |
MAMAExpDLL mama_status | mamaMsg_copy(mamaMsg src, mamaMsg * copy) |
MAMAExpDLL mama_status | mamaMsg_getTempCopy(mamaMsg src, mamaMsg * copy) |
MAMAExpDLL mama_status | mamaMsg_clear(mamaMsg msg) |
MAMAExpDLL mama_status | mamaMsg_getSendSubject(const mamaMsg msg, const char ** subject) |
MAMAExpDLL mama_status | mamaMsg_destroy(mamaMsg msg) |
MAMAIgnoreDeprecatedOpen MAMAExpDLL mama_status | mamaMsg_getPayloadType(mamaMsg msg, mamaPayloadType * payloadType) |
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status | mamaMsg_getByteSize(const mamaMsg msg, mama_size_t * size) |
MAMAExpDLL mama_status | mamaMsg_addBool(mamaMsg msg, const char * name, mama_fid_t fid, mama_bool_t value) |
MAMAExpDLL mama_status | mamaMsg_addChar(mamaMsg msg, const char * name, mama_fid_t fid, char value) |
MAMAExpDLL mama_status | mamaMsg_addI8(mamaMsg msg, const char * name, mama_fid_t fid, mama_i8_t value) |
MAMAExpDLL mama_status | mamaMsg_addU8(mamaMsg msg, const char * name, mama_fid_t fid, mama_u8_t value) |
MAMAExpDLL mama_status | mamaMsg_addI16(mamaMsg msg, const char * name, mama_fid_t fid, mama_i16_t value) |
MAMAExpDLL mama_status | mamaMsg_addU16(mamaMsg msg, const char * name, mama_fid_t fid, mama_u16_t value) |
MAMAExpDLL mama_status | mamaMsg_addI32(mamaMsg msg, const char * name, mama_fid_t fid, mama_i32_t value) |
MAMAExpDLL mama_status | mamaMsg_addU32(mamaMsg msg, const char * name, mama_fid_t fid, mama_u32_t value) |
MAMAExpDLL mama_status | mamaMsg_addI64(mamaMsg msg, const char * name, mama_fid_t fid, mama_i64_t value) |
MAMAExpDLL mama_status | mamaMsg_addU64(mamaMsg msg, const char * name, mama_fid_t fid, mama_u64_t value) |
MAMAExpDLL mama_status | mamaMsg_addF32(mamaMsg msg, const char * name, mama_fid_t fid, mama_f32_t value) |
MAMAExpDLL mama_status | mamaMsg_addF64(mamaMsg msg, const char * name, mama_fid_t fid, mama_f64_t value) |
MAMAExpDLL mama_status | mamaMsg_addString(mamaMsg msg, const char * name, mama_fid_t fid, const char * value) |
MAMAExpDLL mama_status | mamaMsg_addOpaque(mamaMsg msg, const char * name, mama_fid_t fid, const void * value, mama_size_t size) |
MAMAExpDLL mama_status | mamaMsg_addDateTime(mamaMsg msg, const char * name, mama_fid_t fid, const mamaDateTime value) |
MAMAExpDLL mama_status | mamaMsg_addPrice(mamaMsg msg, const char * name, mama_fid_t fid, const mamaPrice value) |
MAMAExpDLL mama_status | mamaMsg_addMsg(mamaMsg msg, const char * name, mama_fid_t fid, const mamaMsg value) |
MAMAExpDLL mama_status | mamaMsg_addVectorBool(mamaMsg msg, const char * name, mama_fid_t fid, const mama_bool_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorChar(mamaMsg msg, const char * name, mama_fid_t fid, const char value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorI8(mamaMsg msg, const char * name, mama_fid_t fid, const mama_i8_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorU8(mamaMsg msg, const char * name, mama_fid_t fid, const mama_u8_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorI16(mamaMsg msg, const char * name, mama_fid_t fid, const mama_i16_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorU16(mamaMsg msg, const char * name, mama_fid_t fid, const mama_u16_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorI32(mamaMsg msg, const char * name, mama_fid_t fid, const mama_i32_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorU32(mamaMsg msg, const char * name, mama_fid_t fid, const mama_u32_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorI64(mamaMsg msg, const char * name, mama_fid_t fid, const mama_i64_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorU64(mamaMsg msg, const char * name, mama_fid_t fid, const mama_u64_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorF32(mamaMsg msg, const char * name, mama_fid_t fid, const mama_f32_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorF64(mamaMsg msg, const char * name, mama_fid_t fid, const mama_f64_t value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorString(mamaMsg msg, const char * name, mama_fid_t fid, const char * value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorMsg(mamaMsg msg, const char * name, mama_fid_t fid, const mamaMsg value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorDateTime(mamaMsg msg, const char * name, mama_fid_t fid, const mamaDateTime value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_addVectorPrice(mamaMsg msg, const char * name, mama_fid_t fid, const mamaPrice value[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateBool(mamaMsg msg, const char * name, mama_fid_t fid, mama_bool_t value) |
MAMAExpDLL mama_status | mamaMsg_updateChar(mamaMsg msg, const char * name, mama_fid_t fid, char value) |
MAMAExpDLL mama_status | mamaMsg_updateI8(mamaMsg msg, const char * name, mama_fid_t fid, mama_i8_t value) |
MAMAExpDLL mama_status | mamaMsg_updateU8(mamaMsg msg, const char * name, mama_fid_t fid, mama_u8_t value) |
MAMAExpDLL mama_status | mamaMsg_updateI16(mamaMsg msg, const char * name, mama_fid_t fid, mama_i16_t value) |
MAMAExpDLL mama_status | mamaMsg_updateU16(mamaMsg msg, const char * name, mama_fid_t fid, mama_u16_t value) |
MAMAExpDLL mama_status | mamaMsg_updateI32(mamaMsg msg, const char * name, mama_fid_t fid, mama_i32_t value) |
MAMAExpDLL mama_status | mamaMsg_updateU32(mamaMsg msg, const char * name, mama_fid_t fid, mama_u32_t value) |
MAMAExpDLL mama_status | mamaMsg_updateI64(mamaMsg msg, const char * name, mama_fid_t fid, mama_i64_t value) |
MAMAExpDLL mama_status | mamaMsg_updateU64(mamaMsg msg, const char * name, mama_fid_t fid, mama_u64_t value) |
MAMAExpDLL mama_status | mamaMsg_updateF32(mamaMsg msg, const char * name, mama_fid_t fid, mama_f32_t value) |
MAMAExpDLL mama_status | mamaMsg_updateF64(mamaMsg msg, const char * name, mama_fid_t fid, mama_f64_t value) |
MAMAExpDLL mama_status | mamaMsg_updateString(mamaMsg msg, const char * name, mama_fid_t fid, const char * value) |
MAMAExpDLL mama_status | mamaMsg_updateOpaque(mamaMsg msg, const char * name, mama_fid_t fid, const void * value, mama_size_t size) |
MAMAExpDLL mama_status | mamaMsg_updateDateTime(mamaMsg msg, const char * name, mama_fid_t fid, const mamaDateTime value) |
MAMAExpDLL mama_status | mamaMsg_updatePrice(mamaMsg msg, const char * name, mama_fid_t fid, const mamaPrice value) |
MAMAExpDLL mama_status | mamaMsg_getBool(const mamaMsg msg, const char * name, mama_fid_t fid, mama_bool_t * result) |
MAMAExpDLL mama_status | mamaMsg_applyMsg(mamaMsg dest, mamaMsg src) |
MAMAExpDLL mama_status | mamaMsg_getNativeMsg(mamaMsg msg, void ** nativeMsg) |
MAMAExpDLL mama_status | mamaMsg_getReplyHandle(mamaMsg msg, mamaMsgReply * replyHandle) |
MAMAExpDLL mama_status | mamaMsg_setReplyHandle(mamaMsg msg, mamaMsgReply replyHandle) |
MAMAExpDLL mama_status | mamaMsg_copyReplyHandle(mamaMsgReply src, mamaMsgReply * copy) |
MAMAExpDLL mama_status | mamaMsg_destroyReplyHandle(mamaMsgReply replyHandle) |
MAMAExpDLL mama_status | mamaMsg_updateSubMsg(mamaMsg msg, const char * fname, mama_fid_t fid, const mamaMsg subMsg) |
MAMAExpDLL mama_status | mamaMsg_updateVectorMsg(mamaMsg msg, const char * fname, mama_fid_t fid, const mamaMsg msgList[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorString(mamaMsg msg, const char * fname, mama_fid_t fid, const char * strList[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorBool(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_bool_t boolList[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorChar(mamaMsg msg, const char * fname, mama_fid_t fid, const char charList[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorI8(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_i8_t i8List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorU8(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_u8_t u8List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorI16(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_i16_t i16List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorU16(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_u16_t u16List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorI32(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_i32_t i32List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorU32(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_u32_t u32List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorI64(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_i64_t i64List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorU64(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_u64_t u64List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorF32(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_f32_t f32List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorF64(mamaMsg msg, const char * fname, mama_fid_t fid, const mama_f64_t f64List[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorPrice(mamaMsg msg, const char * fname, mama_fid_t fid, const mamaPrice priceList[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_updateVectorTime(mamaMsg msg, const char * fname, mama_fid_t fid, const mamaDateTime timeList[], mama_size_t numElements) |
MAMAExpDLL mama_status | mamaMsg_getChar(const mamaMsg msg, const char * name, mama_fid_t fid, char * result) |
MAMAExpDLL mama_status | mamaMsg_getI8(const mamaMsg msg, const char * name, mama_fid_t fid, mama_i8_t * result) |
MAMAExpDLL mama_status | mamaMsg_getU8(const mamaMsg msg, const char * name, mama_fid_t fid, mama_u8_t * result) |
MAMAExpDLL mama_status | mamaMsg_getI16(const mamaMsg msg, const char * name, mama_fid_t fid, mama_i16_t * result) |
MAMAExpDLL mama_status | mamaMsg_getU16(const mamaMsg msg, const char * name, mama_fid_t fid, mama_u16_t * result) |
MAMAExpDLL mama_status | mamaMsg_getI32(const mamaMsg msg, const char * name, mama_fid_t fid, mama_i32_t * result) |
MAMAExpDLL mama_status | mamaMsg_getU32(const mamaMsg msg, const char * name, mama_fid_t fid, mama_u32_t * result) |
MAMAExpDLL mama_status | mamaMsg_getI64(const mamaMsg msg, const char * name, mama_fid_t fid, mama_i64_t * result) |
MAMAExpDLL mama_status | mamaMsg_getU64(const mamaMsg msg, const char * name, mama_fid_t fid, mama_u64_t * result) |
MAMAExpDLL mama_status | mamaMsg_getF32(const mamaMsg msg, const char * name, mama_fid_t fid, mama_f32_t * result) |
MAMAExpDLL mama_status | mamaMsg_getF64(const mamaMsg msg, const char * name, mama_fid_t fid, mama_f64_t * result) |
MAMAExpDLL mama_status | mamaMsg_getString(const mamaMsg msg, const char * name, mama_fid_t fid, const char ** result) |
MAMAExpDLL mama_status | mamaMsg_getOpaque(const mamaMsg msg, const char * name, mama_fid_t fid, const void ** result, mama_size_t * size) |
MAMAExpDLL mama_status | mamaMsg_getField(const mamaMsg msg, const char * name, mama_fid_t fid, mamaMsgField * result) |
MAMAExpDLL mama_status | mamaMsg_getDateTime(const mamaMsg msg, const char * name, mama_fid_t fid, mamaDateTime result) |
MAMAExpDLL mama_status | mamaMsg_getDateTimeMSec(const mamaMsg msg, const char * name, mama_fid_t fid, mama_u64_t * milliseconds) |
MAMAExpDLL mama_status | mamaMsg_getDateTimeSeconds(const mamaMsg msg, const char * name, mama_fid_t fid, mama_f64_t * seconds) |
MAMAExpDLL mama_status | mamaMsg_getPrice(const mamaMsg msg, const char * name, mama_fid_t fid, mamaPrice result) |
MAMAExpDLL mama_status | mamaMsg_getMsg(const mamaMsg msg, const char * name, mama_fid_t fid, mamaMsg * result) |
MAMAExpDLL mama_status | mamaMsg_getVectorBool(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_bool_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorChar(const mamaMsg msg, const char * name, mama_fid_t fid, const char ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorI8(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_i8_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorU8(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_u8_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorI16(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_i16_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorU16(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_u16_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorI32(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_i32_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorU32(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_u32_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorI64(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_i64_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorU64(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_u64_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorF32(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_f32_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorF64(const mamaMsg msg, const char * name, mama_fid_t fid, const mama_f64_t ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorString(const mamaMsg msg, const char * name, mama_fid_t fid, const char *** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorDateTime(const mamaMsg msg, const char * name, mama_fid_t fid, const mamaDateTime ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorPrice(const mamaMsg msg, const char * name, mama_fid_t fid, const mamaPrice ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getVectorMsg(const mamaMsg msg, const char * name, mama_fid_t fid, const mamaMsg ** result, mama_size_t * resultLen) |
MAMAExpDLL mama_status | mamaMsg_getNumFields(const mamaMsg msg, mama_size_t * numFields) |
MAMAExpDLL const char * | mamaMsg_toString(const mamaMsg msg) |
MAMAExpDLL const char * | mamaMsg_toNormalizedString(const mamaMsg msg) |
MAMAExpDLL const char * | mamaMsg_toJsonString(const mamaMsg msg) |
MAMAExpDLL const char * | mamaMsg_toJsonStringWithDictionary(const mamaMsg msg, const mamaDictionary dictionary) |
MAMAIgnoreDeprecatedOpen | MAMAExpDeprecatedDLL(“mamaMsg_freeString has been deprecated - memory now managed by bridge” ) const |
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status | mamaMsg_getEntitleCode(const mamaMsg msg, mama_i32_t * code) |
MAMAExpDLL mama_status | mamaMsg_getSeqNum(const mamaMsg msg, mama_seqnum_t * seqNum) |
MAMAExpDLL mamaMsgType | mamaMsgType_typeForMsg(const mamaMsg msg) |
MAMAExpDLL const char * | mamaMsgType_stringForMsg(const mamaMsg msg) |
MAMAExpDLL const char * | mamaMsgType_stringForType(const mamaMsgType type) |
MAMAExpDLL mama_status | mamaMsg_getFieldAsString(const mamaMsg msg, const char * fieldName, mama_fid_t fid, char * buf, mama_size_t length) |
MAMAExpDLL mama_status | mamaMsg_iterateFields(const mamaMsg msg, mamaMsgIteratorCb callback, const mamaDictionary dict, void * closure) |
MAMAExpDLL mama_status | mamaMsg_getPlatformError(const mamaMsg msg, void ** error) |
MAMAExpDLL int | mamaMsg_isFromInbox(const mamaMsg msg) |
MAMAExpDLL mama_status | mamaMsg_createFromByteBuffer(mamaMsg * msg, const void * buffer, mama_size_t bufferLength) |
MAMAExpDLL mama_status | mamaMsg_getByteBuffer(const mamaMsg msg, const void ** buffer, mama_size_t * bufferLength) |
MAMAExpDLL mama_status | mamaMsg_detach(mamaMsg msg) |
MAMAExpDLL mama_status | mamaMsg_getIsDefinitelyDuplicate(mamaMsg msg, int * result) |
MAMAExpDLL mama_status | mamaMsg_getIsPossiblyDuplicate(mamaMsg msg, int * result) |
MAMAExpDLL mama_status | mamaMsg_getIsPossiblyDelayed(mamaMsg msg, int * result) |
MAMAExpDLL mama_status | mamaMsg_getIsDefinitelyDelayed(mamaMsg msg, int * result) |
MAMAExpDLL mama_status | mamaMsg_getIsOutOfSequence(mamaMsg msg, int * result) |
MAMAExpDLL mama_status | mamaMsg_setNewBuffer(mamaMsg msg, void * buffer, mama_size_t size) |
MAMAExpDLL mama_status | mamaMsg_getNativeHandle(const mamaMsg msg, void ** result) |
MAMAExpDLL mama_status | mamaMsgIterator_create(mamaMsgIterator * iterator, mamaDictionary dict) |
MAMAExpDLL mama_status | mamaMsgIterator_associate(mamaMsgIterator iterator, mamaMsg msg) |
MAMAExpDLL mama_status | mamaMsgIterator_setDict(mamaMsgIterator iterator, mamaDictionary dict) |
MAMAExpDLL mamaMsgField | mamaMsgIterator_next(mamaMsgIterator iterator) |
MAMAExpDLL mama_bool_t | mamaMsgIterator_hasNext(mamaMsgIterator iterator) |
MAMAExpDLL mamaMsgField | mamaMsgIterator_begin(mamaMsgIterator iterator) |
MAMAExpDLL mamaMsgField | mamaMsgIterator_end(mamaMsgIterator iterator) |
MAMAExpDLL mama_status | mamaMsgIterator_destroy(mamaMsgIterator iterator) |
Name | |
---|---|
mamaPayloadType | |
MAMAIgnoreDeprecatedOpen const char | id |
MAMAIgnoreDeprecatedOpen const char * | msgString |
Name | |
---|---|
ENTITLE_FIELD_NAME | |
ENTITLE_FIELD_ID | |
MAMA_PAYLOAD_ID_NULL | |
MAMA_PAYLOAD_ID_UNKNOWN |
typedef void(MAMACALLTYPE * mamaMsgIteratorCb) (const mamaMsg msg, const mamaMsgField field, void *closure);
Parameters:
Iterator callback method is invoked for each field in the message.
MAMAIgnoreDeprecatedOpen MAMATypeDeprecated(
mamaPayloadType ,
"mamaPayloadType has been deprecated,
use dynamic loading instead!"
)
Enum to reference the available MAMA message payloads.
MAMAIgnoreDeprecatedClose MAMAIgnoreDeprecatedOpen MAMAExpDLL const char * mamaPayload_convertToString(
mamaPayloadType payloadType
)
Parameters:
Convert a mamaPayloadType value to a string. Do no attempt to free the string result.
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status mamaMsg_create(
mamaMsg * msg
)
Parameters:
Create a mamaMsg.
MAMAIgnoreDeprecatedOpen MAMAExpDeprecatedDLL(
"mamaMsg_createForPayload has been deprecated,
use dynamic loading instead!"
)
Parameters:
Deprecated:
This has been deprecated in favor of dynamic loading.
Create a mamaMsg.
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status mamaMsg_createForPayloadBridge(
mamaMsg * msg,
mamaPayloadBridge payloadBridge
)
Parameters:
Create a mamaMsg.
MAMAExpDLL mama_status mamaMsg_createForTemplate(
mamaMsg * msg,
mama_u32_t templateId
)
Parameters:
Create a mamaMsg for a particular template ID
MAMAExpDLL mama_status mamaMsg_copy(
mamaMsg src,
mamaMsg * copy
)
Parameters:
Copy a mamaMsg. If mamaMsg_create() has not been called for for the destination message object then this will be done by the function.
MAMAExpDLL mama_status mamaMsg_getTempCopy(
mamaMsg src,
mamaMsg * copy
)
Parameters:
Get a temporary copy of the mamaMsg so to be able to modify the content. If the message can be modified directly, the message itself is returned. If the message cannot be modified then only one copy is performed the first time this function is called and then the same copy is returned when this function is called again. The copy is destroyed when the original message is destroyed.
MAMAExpDLL mama_status mamaMsg_clear(
mamaMsg msg
)
Parameters:
Clear a msg. All fields are removed.
MAMAExpDLL mama_status mamaMsg_getSendSubject(
const mamaMsg msg,
const char ** subject
)
Parameters:
TIB/RV only. Get the TIB/RV send subject from the message. For other message types MAMA_STATUS_NOT_IMPLEMENTED will be returned.
MAMAExpDLL mama_status mamaMsg_destroy(
mamaMsg msg
)
Parameters:
Destroy a message and free any resources associated with it.
MAMAIgnoreDeprecatedOpen MAMAExpDLL mama_status mamaMsg_getPayloadType(
mamaMsg msg,
mamaPayloadType * payloadType
)
Parameters:
Get the type of the message payload.
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status mamaMsg_getByteSize(
const mamaMsg msg,
mama_size_t * size
)
Parameters:
Return: Resulting status of the call
Get the size of the underlying message in bytes. Only works for tibrvMsg and wombatmsg types.
MAMAExpDLL mama_status mamaMsg_addBool(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_bool_t value
)
Parameters:
Add a new bool field.
MAMAExpDLL mama_status mamaMsg_addChar(
mamaMsg msg,
const char * name,
mama_fid_t fid,
char value
)
Parameters:
Add a new char field.
MAMAExpDLL mama_status mamaMsg_addI8(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i8_t value
)
Parameters:
Add a new 8 bit signed int field.
MAMAExpDLL mama_status mamaMsg_addU8(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u8_t value
)
Parameters:
Add a new 8 bit unsigned int field.
MAMAExpDLL mama_status mamaMsg_addI16(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i16_t value
)
Parameters:
Add a new 16 bit signed int field.
MAMAExpDLL mama_status mamaMsg_addU16(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u16_t value
)
Parameters:
Add a new 16 bit unsigned int field.
MAMAExpDLL mama_status mamaMsg_addI32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i32_t value
)
Parameters:
Add a new 32 bit unsigned int field.
MAMAExpDLL mama_status mamaMsg_addU32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u32_t value
)
Parameters:
Add a new 32 bit signed int field.
MAMAExpDLL mama_status mamaMsg_addI64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i64_t value
)
Parameters:
Add a new I64 field.
MAMAExpDLL mama_status mamaMsg_addU64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u64_t value
)
Parameters:
Add a new U64 field.
MAMAExpDLL mama_status mamaMsg_addF32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f32_t value
)
Parameters:
Add a new float (f32) field.
MAMAExpDLL mama_status mamaMsg_addF64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f64_t value
)
Parameters:
Add a new f64 field.
MAMAExpDLL mama_status mamaMsg_addString(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const char * value
)
Parameters:
Add a const char * field.
MAMAExpDLL mama_status mamaMsg_addOpaque(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const void * value,
mama_size_t size
)
Parameters:
Add an opaque field.
MAMAExpDLL mama_status mamaMsg_addDateTime(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaDateTime value
)
Parameters:
Add a MAMA date/time field.
MAMAExpDLL mama_status mamaMsg_addPrice(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaPrice value
)
Parameters:
Add a MAMA price field.
MAMAExpDLL mama_status mamaMsg_addMsg(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaMsg value
)
Parameters:
Return: mama_status MAMA_STATUS_OK if the function executes successfully
Add a mamaMsg object to the message.
MAMAExpDLL mama_status mamaMsg_addVectorBool(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_bool_t value[],
mama_size_t numElements
)
Parameters:
Add an array of booleans to the message.
MAMAExpDLL mama_status mamaMsg_addVectorChar(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const char value[],
mama_size_t numElements
)
Parameters:
Add an array of characters to the message.
MAMAExpDLL mama_status mamaMsg_addVectorI8(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i8_t value[],
mama_size_t numElements
)
Parameters:
Add an array of signed 8 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorU8(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u8_t value[],
mama_size_t numElements
)
Parameters:
Add an array of unsigned 8 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorI16(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i16_t value[],
mama_size_t numElements
)
Parameters:
Add an array of signed 16 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorU16(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u16_t value[],
mama_size_t numElements
)
Parameters:
Add an array of unsigned 16 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorI32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i32_t value[],
mama_size_t numElements
)
Parameters:
Add an array of signed 32 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorU32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u32_t value[],
mama_size_t numElements
)
Parameters:
Add an array of unsigned 32 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorI64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i64_t value[],
mama_size_t numElements
)
Parameters:
Add an array of signed 64 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorU64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u64_t value[],
mama_size_t numElements
)
Parameters:
Add an array of unsigned 64 bit integers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorF32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_f32_t value[],
mama_size_t numElements
)
Parameters:
Add an array of 32 bit floating point numbers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorF64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_f64_t value[],
mama_size_t numElements
)
Parameters:
Add an array of 64 bit floating point numbers to the message.
MAMAExpDLL mama_status mamaMsg_addVectorString(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const char * value[],
mama_size_t numElements
)
Parameters:
Add an array of strings (char*) to the message.
MAMAExpDLL mama_status mamaMsg_addVectorMsg(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaMsg value[],
mama_size_t numElements
)
Parameters:
Return: mama_status MAMA_STATUS_OK if the function returns successfully.
Add an array of mamaMsg objects to the message.
MAMAExpDLL mama_status mamaMsg_addVectorDateTime(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaDateTime value[],
mama_size_t numElements
)
Parameters:
Add an array of timestamps to the message.
MAMAExpDLL mama_status mamaMsg_addVectorPrice(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaPrice value[],
mama_size_t numElements
)
Parameters:
Add an array of prices to the message.
MAMAExpDLL mama_status mamaMsg_updateBool(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_bool_t value
)
Parameters:
Update the value of an existing bool field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateChar(
mamaMsg msg,
const char * name,
mama_fid_t fid,
char value
)
Parameters:
Update the value of an existing char field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateI8(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i8_t value
)
Parameters:
Update the value of an existing I8 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateU8(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u8_t value
)
Parameters:
Update the value of an existing U8 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateI16(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i16_t value
)
Parameters:
Update the value of an existing I16 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateU16(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u16_t value
)
Parameters:
Update the value of an existing U16 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateI32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i32_t value
)
Parameters:
Update the value of an existing I32 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateU32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u32_t value
)
Parameters:
Update the value of an existing U32 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateI64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i64_t value
)
Parameters:
Update the value of an existing I64 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateU64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u64_t value
)
Parameters:
Update the value of an existing U64 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateF32(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f32_t value
)
Parameters:
Update the value of an existing float field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateF64(
mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f64_t value
)
Parameters:
Update the value of an existing f64 field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateString(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const char * value
)
Parameters:
Update the value of an existing const char* field. If the field does not exist it is added.
MAMAExpDLL mama_status mamaMsg_updateOpaque(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const void * value,
mama_size_t size
)
Parameters:
Update an opaque field.
MAMAExpDLL mama_status mamaMsg_updateDateTime(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaDateTime value
)
Parameters:
Update a MAMA date/time field.
MAMAExpDLL mama_status mamaMsg_updatePrice(
mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaPrice value
)
Parameters:
Update a MAMA price field.
MAMAExpDLL mama_status mamaMsg_getBool(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_bool_t * result
)
Parameters:
Get a bool field.
MAMAExpDLL mama_status mamaMsg_applyMsg(
mamaMsg dest,
mamaMsg src
)
Parameters:
Apply the contents of one message to another as updates.
MAMAExpDLL mama_status mamaMsg_getNativeMsg(
mamaMsg msg,
void ** nativeMsg
)
Parameters:
Return: mama_status Returns MAMA_STATUS_OK if the call was successful.
Get the native message structure for the underlying message This function is for internal NYSE Technologies use only.
MAMAExpDLL mama_status mamaMsg_getReplyHandle(
mamaMsg msg,
mamaMsgReply * replyHandle
)
Parameters:
Return: mama_status Returns MAMA_STATUS_OK if the call was successful.
Get the reply handle for the message and increments the reference count for the handle.
MAMAExpDLL mama_status mamaMsg_setReplyHandle(
mamaMsg msg,
mamaMsgReply replyHandle
)
Parameters:
Return: mama_status Returns MAMA_STATUS_OK if the call was successful.
Set the reply handle for the message and increments the reference count for the handle.
MAMAExpDLL mama_status mamaMsg_copyReplyHandle(
mamaMsgReply src,
mamaMsgReply * copy
)
Parameters:
Return: mama_status Returns MAMA_STATUS_OK if the call was successful.
Create a new copy of the src reply handle.
MAMAExpDLL mama_status mamaMsg_destroyReplyHandle(
mamaMsgReply replyHandle
)
Parameters:
Return: mama_status Returns MAMA_STATUS_OK if the call was successful.
Destroys a reply handle.
MAMAExpDLL mama_status mamaMsg_updateSubMsg(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mamaMsg subMsg
)
Parameters:
Update a sub-message field.
MAMAExpDLL mama_status mamaMsg_updateVectorMsg(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mamaMsg msgList[],
mama_size_t numElements
)
Parameters:
Update a vector message field.
MAMAExpDLL mama_status mamaMsg_updateVectorString(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const char * strList[],
mama_size_t numElements
)
Parameters:
Update a vector string field.
MAMAExpDLL mama_status mamaMsg_updateVectorBool(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_bool_t boolList[],
mama_size_t numElements
)
Parameters:
Update a vector bool field.
MAMAExpDLL mama_status mamaMsg_updateVectorChar(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const char charList[],
mama_size_t numElements
)
Parameters:
Update a vector char field.
MAMAExpDLL mama_status mamaMsg_updateVectorI8(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_i8_t i8List[],
mama_size_t numElements
)
Parameters:
Update a vector I8 field.
MAMAExpDLL mama_status mamaMsg_updateVectorU8(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_u8_t u8List[],
mama_size_t numElements
)
Parameters:
Update a vector U8 field.
MAMAExpDLL mama_status mamaMsg_updateVectorI16(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_i16_t i16List[],
mama_size_t numElements
)
Parameters:
Update a vector I16 field.
MAMAExpDLL mama_status mamaMsg_updateVectorU16(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_u16_t u16List[],
mama_size_t numElements
)
Parameters:
Update a vector U16 field.
MAMAExpDLL mama_status mamaMsg_updateVectorI32(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_i32_t i32List[],
mama_size_t numElements
)
Parameters:
Update a vector I32 field.
MAMAExpDLL mama_status mamaMsg_updateVectorU32(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_u32_t u32List[],
mama_size_t numElements
)
Parameters:
Update a vector U32 field.
MAMAExpDLL mama_status mamaMsg_updateVectorI64(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_i64_t i64List[],
mama_size_t numElements
)
Parameters:
Update a vector I64 field.
MAMAExpDLL mama_status mamaMsg_updateVectorU64(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_u64_t u64List[],
mama_size_t numElements
)
Parameters:
Update a vector U64 field.
MAMAExpDLL mama_status mamaMsg_updateVectorF32(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_f32_t f32List[],
mama_size_t numElements
)
Parameters:
Update a vector F32 field.
MAMAExpDLL mama_status mamaMsg_updateVectorF64(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mama_f64_t f64List[],
mama_size_t numElements
)
Parameters:
Update a vector F64 field.
MAMAExpDLL mama_status mamaMsg_updateVectorPrice(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mamaPrice priceList[],
mama_size_t numElements
)
Parameters:
Update a vector price field.
MAMAExpDLL mama_status mamaMsg_updateVectorTime(
mamaMsg msg,
const char * fname,
mama_fid_t fid,
const mamaDateTime timeList[],
mama_size_t numElements
)
Parameters:
Update a vector mamaDateTime field.
MAMAExpDLL mama_status mamaMsg_getChar(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
char * result
)
Parameters:
Get a char field.
MAMAExpDLL mama_status mamaMsg_getI8(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i8_t * result
)
Parameters:
Get a I8, signed 8 bit integer, field.
MAMAExpDLL mama_status mamaMsg_getU8(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u8_t * result
)
Parameters:
Get an unsigned 8-bit integer field
MAMAExpDLL mama_status mamaMsg_getI16(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i16_t * result
)
Parameters:
Get a I16, signed 16 bit integer, field.
MAMAExpDLL mama_status mamaMsg_getU16(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u16_t * result
)
Parameters:
Get an unsigned 16-bit integer field
MAMAExpDLL mama_status mamaMsg_getI32(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i32_t * result
)
Parameters:
Get a I32, signed 32 bit integer, field.
MAMAExpDLL mama_status mamaMsg_getU32(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u32_t * result
)
Parameters:
Get an unsigned 32-bit integer field
MAMAExpDLL mama_status mamaMsg_getI64(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_i64_t * result
)
Parameters:
Get a I64, signed 64 bit integer, field.
MAMAExpDLL mama_status mamaMsg_getU64(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u64_t * result
)
Parameters:
Get an unsigned 64-bit integer field
MAMAExpDLL mama_status mamaMsg_getF32(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f32_t * result
)
Parameters:
Get a float (f32) field.
MAMAExpDLL mama_status mamaMsg_getF64(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f64_t * result
)
Parameters:
Get a f64 field.
MAMAExpDLL mama_status mamaMsg_getString(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const char ** result
)
Parameters:
Get a const char * field.
MAMAExpDLL mama_status mamaMsg_getOpaque(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const void ** result,
mama_size_t * size
)
Parameters:
Get an opaque field.
MAMAExpDLL mama_status mamaMsg_getField(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mamaMsgField * result
)
Parameters:
Get a MAMA msg field.
MAMAExpDLL mama_status mamaMsg_getDateTime(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mamaDateTime result
)
Parameters:
Get a MAMA date/time field.
MAMAExpDLL mama_status mamaMsg_getDateTimeMSec(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_u64_t * milliseconds
)
Parameters:
Get the value of a MAMA date/time field in milliseconds
MAMAExpDLL mama_status mamaMsg_getDateTimeSeconds(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mama_f64_t * seconds
)
Parameters:
Get the value of a MAMA date/time field in seconds as a double
MAMAExpDLL mama_status mamaMsg_getPrice(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mamaPrice result
)
Parameters:
Get a MAMA price field.
MAMAExpDLL mama_status mamaMsg_getMsg(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
mamaMsg * result
)
Parameters:
Get a submessage.
MAMAExpDLL mama_status mamaMsg_getVectorBool(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_bool_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of booleans.
MAMAExpDLL mama_status mamaMsg_getVectorChar(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const char ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of chars.
MAMAExpDLL mama_status mamaMsg_getVectorI8(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i8_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of signed 8 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorU8(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u8_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of unsigned 8 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorI16(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i16_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of signed 16 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorU16(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u16_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of unsigned 16 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorI32(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i32_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of signed 32 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorU32(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u32_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of unsigned 32 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorI64(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_i64_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of signed 64 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorU64(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_u64_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of unsigned 64 bit integers.
MAMAExpDLL mama_status mamaMsg_getVectorF32(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_f32_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of 32 bit floating point numbers.
MAMAExpDLL mama_status mamaMsg_getVectorF64(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mama_f64_t ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of 64 bit floating point numbers.
MAMAExpDLL mama_status mamaMsg_getVectorString(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const char *** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of strings (char*).
MAMAExpDLL mama_status mamaMsg_getVectorDateTime(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaDateTime ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of timestamps.
MAMAExpDLL mama_status mamaMsg_getVectorPrice(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaPrice ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of prices.
MAMAExpDLL mama_status mamaMsg_getVectorMsg(
const mamaMsg msg,
const char * name,
mama_fid_t fid,
const mamaMsg ** result,
mama_size_t * resultLen
)
Parameters:
Get a vector of submessages.
MAMAExpDLL mama_status mamaMsg_getNumFields(
const mamaMsg msg,
mama_size_t * numFields
)
Parameters:
Returns the total number of fields in the message. Sub-messages count as a single field.
MAMAExpDLL const char * mamaMsg_toString(
const mamaMsg msg
)
Parameters:
Return: A string representation of the message.
Return a const char * representation the message. Memory is owned by the underlying bridge.
MAMAExpDLL const char * mamaMsg_toNormalizedString(
const mamaMsg msg
)
Parameters:
Return: A string representation of the message.
Return a const char * representation the message. Memory is owned by the mamaMsg. The string format will be standard across all payload types.
MAMAExpDLL const char * mamaMsg_toJsonString(
const mamaMsg msg
)
Parameters:
Return: A json string representation of the message.
Return a const char * representation the message in JSON format. Memory is owned by the mamaMsg.
MAMAExpDLL const char * mamaMsg_toJsonStringWithDictionary(
const mamaMsg msg,
const mamaDictionary dictionary
)
Parameters:
Return: A json string representation of the message.
Return a const char * representation the message in JSON format. Memory is owned by the mamaMsg.
MAMAIgnoreDeprecatedOpen MAMAExpDeprecatedDLL(
"mamaMsg_freeString has been deprecated - memory now managed by bridge"
) const
Parameters:
Free the memory allocated by mamaMsg_toString [deprecated].
MAMAIgnoreDeprecatedClose MAMAExpDLL mama_status mamaMsg_getEntitleCode(
const mamaMsg msg,
mama_i32_t * code
)
Parameters:
Get the entitle code for this message. The result defaults to 0 (no entitlement) if the field is not present.
MAMAExpDLL mama_status mamaMsg_getSeqNum(
const mamaMsg msg,
mama_seqnum_t * seqNum
)
Parameters:
Get the sequence number for this message if available. The result defaults to 0 and MAMA_STATUS_NOT_FOUND retuned if the field is not present.
MAMAExpDLL mamaMsgType mamaMsgType_typeForMsg(
const mamaMsg msg
)
Parameters:
Return: The type.
Extract the type from the supplied message.
MAMAExpDLL const char * mamaMsgType_stringForMsg(
const mamaMsg msg
)
Parameters:
Return: The type name.
Return the type name.
MAMAExpDLL const char * mamaMsgType_stringForType(
const mamaMsgType type
)
Parameters:
Return: The type name.
Return the type name.
MAMAExpDLL mama_status mamaMsg_getFieldAsString(
const mamaMsg msg,
const char * fieldName,
mama_fid_t fid,
char * buf,
mama_size_t length
)
Parameters:
Convert the value of the specified field to a string. Caller must provide a buffer for the value.
MAMAExpDLL mama_status mamaMsg_iterateFields(
const mamaMsg msg,
mamaMsgIteratorCb callback,
const mamaDictionary dict,
void * closure
)
Parameters:
Invoke the specified callback for each field in the message.
MAMAExpDLL mama_status mamaMsg_getPlatformError(
const mamaMsg msg,
void ** error
)
Parameters:
Return the middleware specific platform error. When a mamaSubscription_ method returns MAMA_STATUS_PLATFORM the error will be the result from the underlying platform.
MAMAExpDLL int mamaMsg_isFromInbox(
const mamaMsg msg
)
Return true if this message was sent from a client’s inbox.
MAMAExpDLL mama_status mamaMsg_createFromByteBuffer(
mamaMsg * msg,
const void * buffer,
mama_size_t bufferLength
)
Parameters:
Return: mama_status The outcome of the operation
Create a mamaMsg from the provided byte buffer. The application is responsible for destroying the message. In this function a copy of the buffer isn’t made and the client must maintain it until after the message has been destroyed using the mamaMsg_destroy function. The function can determine from the buffer whether it is a wombatmsg or the native format for the transport being used.
Any transport differences are detailed below.
rv: The bufferLength parameter is not required.
MAMAExpDLL mama_status mamaMsg_getByteBuffer(
const mamaMsg msg,
const void ** buffer,
mama_size_t * bufferLength
)
Parameters:
Return: mama_status The outcome of the operation
Return the internal message buffer as an array of bytes which is suitable for writing to a file. Do not modify the returned byte buffer as this is the internal message buffer and remains part of the message until it is destroyed. The buffer will be written to the address supplied by the client. The buffer will contain the wire format of the underlying message implementation but does not contain delivery information such as source, topic etc.
MAMAExpDLL mama_status mamaMsg_detach(
mamaMsg msg
)
Normally the Mama API owns incoming mamaMsg objects and they go out of scope when the message callback returns. Calling this method from the message callback transfers ownership, and responsibility for calling mamaMsg_destroy() to the caller.
MAMAExpDLL mama_status mamaMsg_getIsDefinitelyDuplicate(
mamaMsg msg,
int * result
)
Return true if this message is definitely a duplicate message. This condition will not occur with the current feed handlers.
MAMAExpDLL mama_status mamaMsg_getIsPossiblyDuplicate(
mamaMsg msg,
int * result
)
Return true if this message is possibly a duplicate message. This may occur in the event of a fault tolerant feed handler take over where the feed handler replays messages to prevent gaps.
MAMAExpDLL mama_status mamaMsg_getIsPossiblyDelayed(
mamaMsg msg,
int * result
)
Return true if the message is possibly delayed. This condition may be true during a fault-tolerant take over.
MAMAExpDLL mama_status mamaMsg_getIsDefinitelyDelayed(
mamaMsg msg,
int * result
)
Return true if the message is delayed. This condition may be true during a faul tolerant take over.
MAMAExpDLL mama_status mamaMsg_getIsOutOfSequence(
mamaMsg msg,
int * result
)
Return true when the FH sends the message out of sequence.
MAMAExpDLL mama_status mamaMsg_setNewBuffer(
mamaMsg msg,
void * buffer,
mama_size_t size
)
Parameters:
Set a new buffer for an existing mamaMsg. This approach is faster than creating a new message for buffers as the message can reuse memory allocated during previous use.
MAMAExpDLL mama_status mamaMsg_getNativeHandle(
const mamaMsg msg,
void ** result
)
Get the native middleware message handle. This is only intended for internal use.
MAMAExpDLL mama_status mamaMsgIterator_create(
mamaMsgIterator * iterator,
mamaDictionary dict
)
Parameters:
Return: mama_status The outcome of the operation
Creates a new iterator for use with a mamaMsg
MAMAExpDLL mama_status mamaMsgIterator_associate(
mamaMsgIterator iterator,
mamaMsg msg
)
Parameters:
Return: mama_status The outcome of the operation
Associate an iterator for use with a mamaMsg
MAMAExpDLL mama_status mamaMsgIterator_setDict(
mamaMsgIterator iterator,
mamaDictionary dict
)
Parameters:
Return: mama_status The outcome of the operation.
Associate a mamaDictionary for use with an iterator
MAMAExpDLL mamaMsgField mamaMsgIterator_next(
mamaMsgIterator iterator
)
Parameters:
Return: mamaMsgField The next field in the message
Return the next field in the mamaMsg
MAMAExpDLL mama_bool_t mamaMsgIterator_hasNext(
mamaMsgIterator iterator
)
Parameters:
Return: bool Does the message have another field
Return whether there is a next next field in the mamaMsg
MAMAExpDLL mamaMsgField mamaMsgIterator_begin(
mamaMsgIterator iterator
)
Parameters:
Return: mamaMsgField The first field in the message
Set iterator to first field in mamaMsg
MAMAExpDLL mamaMsgField mamaMsgIterator_end(
mamaMsgIterator iterator
)
Parameters:
Return: mamaMsgField The last field in the message
Set iterator to last field in mamaMsg
MAMAExpDLL mama_status mamaMsgIterator_destroy(
mamaMsgIterator iterator
)
Parameters:
Destroy iterator
mamaPayloadType;
MAMAIgnoreDeprecatedOpen const char id;
MAMAIgnoreDeprecatedOpen const char * msgString;
#define ENTITLE_FIELD_NAME "wEntitleCode"
#define ENTITLE_FIELD_ID 496
#define MAMA_PAYLOAD_ID_NULL '\0'
#define MAMA_PAYLOAD_ID_UNKNOWN 'U'
/* $Id$
*
* OpenMAMA: The open middleware agnostic messaging API
* Copyright (C) 2011 NYSE Technologies, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#ifndef MamaMsgH__
#define MamaMsgH__
#include <mama/types.h>
#include <mama/status.h>
#include <mama/fielddesc.h>
#include <mama/msgtype.h>
#include "wombat/port.h"
#include <stdlib.h>
#define ENTITLE_FIELD_NAME "wEntitleCode"
#define ENTITLE_FIELD_ID 496
#if defined(__cplusplus)
extern "C" {
#endif
#define MAMA_PAYLOAD_ID_NULL '\0'
#define MAMA_PAYLOAD_ID_UNKNOWN 'U'
struct wombatMsg_;
MAMAIgnoreDeprecatedOpen
MAMATypeDeprecated(mamaPayloadType,
"mamaPayloadType has been deprecated, use dynamic loading instead!")
typedef enum mamaPayloadType_
{
MAMA_PAYLOAD_SOLACE = '1',
MAMA_PAYLOAD_V5 = '5',
MAMA_PAYLOAD_AVIS = 'A',
MAMA_PAYLOAD_TICK42BLP = 'B',
MAMA_PAYLOAD_FAST = 'F',
MAMA_PAYLOAD_HMS = 'H',
MAMA_PAYLOAD_RAI = 'I',
MAMA_PAYLOAD_KWANTUM = 'K',
MAMA_PAYLOAD_UMS = 'L',
MAMA_PAYLOAD_INRUSH = 'N',
MAMA_PAYLOAD_TICK42RMDS = 'P',
MAMA_PAYLOAD_QPID = 'Q',
MAMA_PAYLOAD_TIBRV = 'R',
MAMA_PAYLOAD_IBMWFO = 'S',
MAMA_PAYLOAD_ACTIV = 'T',
MAMA_PAYLOAD_VULCAN = 'V',
MAMA_PAYLOAD_WOMBAT_MSG = 'W',
MAMA_PAYLOAD_EXEGY = 'X',
/* Unknown Payload */
MAMA_PAYLOAD_UNKNOWN = 'U',
MAMA_PAYLOAD_NULL = MAMA_PAYLOAD_ID_NULL
} mamaPayloadType;
MAMAIgnoreDeprecatedClose
MAMAIgnoreDeprecatedOpen
MAMAExpDLL
extern const char*
mamaPayload_convertToString (mamaPayloadType payloadType);
MAMAIgnoreDeprecatedClose
MAMAExpDLL
extern mama_status
mamaMsg_create (mamaMsg* msg);
MAMAIgnoreDeprecatedOpen
MAMAExpDeprecatedDLL(
"mamaMsg_createForPayload has been deprecated, use dynamic loading instead!")
extern mama_status
mamaMsg_createForPayload (mamaMsg* msg, const char id);
MAMAIgnoreDeprecatedClose
MAMAExpDLL
extern mama_status
mamaMsg_createForPayloadBridge (mamaMsg* msg, mamaPayloadBridge payloadBridge);
MAMAExpDLL
extern mama_status
mamaMsg_createForTemplate (mamaMsg* msg, mama_u32_t templateId);
MAMAExpDLL
extern mama_status
mamaMsg_copy (mamaMsg src, mamaMsg *copy);
MAMAExpDLL
extern mama_status
mamaMsg_getTempCopy (mamaMsg src, mamaMsg* copy);
MAMAExpDLL
extern mama_status
mamaMsg_clear (mamaMsg msg);
MAMAExpDLL
mama_status
mamaMsg_getSendSubject (const mamaMsg msg, const char** subject);
MAMAExpDLL
extern mama_status
mamaMsg_destroy (mamaMsg msg);
MAMAIgnoreDeprecatedOpen
MAMAExpDLL
extern mama_status
mamaMsg_getPayloadType (mamaMsg msg, mamaPayloadType* payloadType);
MAMAIgnoreDeprecatedClose
MAMAExpDLL
extern mama_status
mamaMsg_getByteSize (
const mamaMsg msg,
mama_size_t* size);
MAMAExpDLL
extern mama_status
mamaMsg_addBool(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_bool_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addChar(
mamaMsg msg,
const char* name,
mama_fid_t fid,
char value);
MAMAExpDLL
extern mama_status
mamaMsg_addI8(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i8_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addU8(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u8_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addI16(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i16_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addU16(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u16_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addI32(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i32_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addU32(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u32_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addI64(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i64_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addU64(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u64_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addF32(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f32_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addF64(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f64_t value);
MAMAExpDLL
extern mama_status
mamaMsg_addString(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const char* value);
MAMAExpDLL
extern mama_status
mamaMsg_addOpaque (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const void* value,
mama_size_t size);
MAMAExpDLL
extern mama_status
mamaMsg_addDateTime (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaDateTime value);
MAMAExpDLL
extern mama_status
mamaMsg_addPrice (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaPrice value);
MAMAExpDLL
extern mama_status
mamaMsg_addMsg(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaMsg value);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorBool (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_bool_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorChar (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const char value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorI8 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i8_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorU8 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u8_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorI16 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i16_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorU16 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u16_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorI32 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i32_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorU32 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u32_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorI64 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i64_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorU64 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u64_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorF32 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_f32_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorF64 (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_f64_t value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorString (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const char* value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorMsg(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaMsg value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorDateTime (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaDateTime value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_addVectorPrice (
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaPrice value[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateBool(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_bool_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateChar(
mamaMsg msg,
const char* name,
mama_fid_t fid,
char value);
MAMAExpDLL
extern mama_status
mamaMsg_updateI8(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i8_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateU8(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u8_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateI16(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i16_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateU16(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u16_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateI32(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i32_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateU32(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u32_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateI64(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i64_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateU64(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u64_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateF32(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f32_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateF64(
mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f64_t value);
MAMAExpDLL
extern mama_status
mamaMsg_updateString(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const char* value);
MAMAExpDLL
extern mama_status
mamaMsg_updateOpaque(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const void* value,
mama_size_t size);
MAMAExpDLL
extern mama_status
mamaMsg_updateDateTime(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaDateTime value);
MAMAExpDLL
extern mama_status
mamaMsg_updatePrice(
mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaPrice value);
MAMAExpDLL
extern mama_status
mamaMsg_getBool(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_bool_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_applyMsg (mamaMsg dest, mamaMsg src);
MAMAExpDLL
extern mama_status
mamaMsg_getNativeMsg (mamaMsg msg, void** nativeMsg);
MAMAExpDLL
extern mama_status
mamaMsg_getReplyHandle (mamaMsg msg, mamaMsgReply* replyHandle);
MAMAExpDLL
extern mama_status
mamaMsg_setReplyHandle (mamaMsg msg, mamaMsgReply replyHandle);
MAMAExpDLL
extern mama_status
mamaMsg_copyReplyHandle (mamaMsgReply src, mamaMsgReply* copy);
MAMAExpDLL
extern mama_status
mamaMsg_destroyReplyHandle (mamaMsgReply replyHandle);
MAMAExpDLL
extern mama_status
mamaMsg_updateSubMsg (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mamaMsg subMsg);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorMsg (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mamaMsg msgList[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorString (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const char* strList[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorBool (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_bool_t boolList[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorChar (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const char charList[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorI8 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_i8_t i8List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorU8 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_u8_t u8List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorI16 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_i16_t i16List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorU16 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_u16_t u16List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorI32 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_i32_t i32List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorU32 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_u32_t u32List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorI64 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_i64_t i64List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorU64 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_u64_t u64List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorF32 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_f32_t f32List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorF64 (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mama_f64_t f64List[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorPrice (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mamaPrice priceList[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_updateVectorTime (
mamaMsg msg,
const char* fname,
mama_fid_t fid,
const mamaDateTime timeList[],
mama_size_t numElements);
MAMAExpDLL
extern mama_status
mamaMsg_getChar(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
char* result);
MAMAExpDLL
extern mama_status
mamaMsg_getI8(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i8_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getU8(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u8_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getI16(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i16_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getU16(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u16_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getI32(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i32_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getU32(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u32_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getI64(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_i64_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getU64(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u64_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getF32(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f32_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getF64(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f64_t* result);
MAMAExpDLL
extern mama_status
mamaMsg_getString(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const char** result);
MAMAExpDLL
extern mama_status
mamaMsg_getOpaque(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const void** result,
mama_size_t* size);
MAMAExpDLL
extern mama_status
mamaMsg_getField(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mamaMsgField* result);
MAMAExpDLL
extern mama_status
mamaMsg_getDateTime(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mamaDateTime result);
MAMAExpDLL
extern
mama_status
mamaMsg_getDateTimeMSec(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_u64_t* milliseconds);
MAMAExpDLL
extern
mama_status
mamaMsg_getDateTimeSeconds(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mama_f64_t* seconds);
MAMAExpDLL
extern mama_status
mamaMsg_getPrice(
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mamaPrice result);
MAMAExpDLL
extern mama_status
mamaMsg_getMsg (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
mamaMsg* result);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorBool (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_bool_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorChar (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const char** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorI8 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i8_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorU8 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u8_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorI16 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i16_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorU16 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u16_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorI32 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i32_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorU32 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u32_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorI64 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_i64_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorU64 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_u64_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorF32 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_f32_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorF64 (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mama_f64_t** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorString (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const char*** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorDateTime (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaDateTime** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorPrice (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaPrice** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getVectorMsg (
const mamaMsg msg,
const char* name,
mama_fid_t fid,
const mamaMsg** result,
mama_size_t* resultLen);
MAMAExpDLL
extern mama_status
mamaMsg_getNumFields(
const mamaMsg msg,
mama_size_t* numFields);
MAMAExpDLL
extern const char*
mamaMsg_toString(
const mamaMsg msg);
MAMAExpDLL
extern const char*
mamaMsg_toNormalizedString(
const mamaMsg msg);
MAMAExpDLL
extern const char*
mamaMsg_toJsonString(
const mamaMsg msg);
MAMAExpDLL
extern const char*
mamaMsg_toJsonStringWithDictionary(
const mamaMsg msg,
const mamaDictionary dictionary);
MAMAIgnoreDeprecatedOpen
MAMAExpDeprecatedDLL(
"mamaMsg_freeString has been deprecated - memory now managed by bridge")
extern void
mamaMsg_freeString(
const mamaMsg msg,
const char* msgString );
MAMAIgnoreDeprecatedClose
MAMAExpDLL
extern mama_status
mamaMsg_getEntitleCode(
const mamaMsg msg,
mama_i32_t* code );
MAMAExpDLL
extern mama_status
mamaMsg_getSeqNum(
const mamaMsg msg,
mama_seqnum_t* seqNum);
MAMAExpDLL
extern mamaMsgType
mamaMsgType_typeForMsg (const mamaMsg msg);
MAMAExpDLL
extern const char* mamaMsgType_stringForMsg (const mamaMsg msg);
MAMAExpDLL
extern const char* mamaMsgType_stringForType (const mamaMsgType type);
MAMAExpDLL
extern mama_status
mamaMsg_getFieldAsString (
const mamaMsg msg,
const char* fieldName,
mama_fid_t fid,
char* buf,
mama_size_t length);
typedef void(MAMACALLTYPE *mamaMsgIteratorCb)(const mamaMsg msg,
const mamaMsgField field,
void* closure);
MAMAExpDLL
extern mama_status
mamaMsg_iterateFields (const mamaMsg msg,
mamaMsgIteratorCb callback,
const mamaDictionary dict,
void* closure);
MAMAExpDLL
extern mama_status
mamaMsg_getPlatformError (const mamaMsg msg,
void** error);
MAMAExpDLL
extern int
mamaMsg_isFromInbox (const mamaMsg msg);
MAMAExpDLL
extern mama_status
mamaMsg_createFromByteBuffer (
mamaMsg* msg,
const void* buffer,
mama_size_t bufferLength);
MAMAExpDLL
extern mama_status
mamaMsg_getByteBuffer (const mamaMsg msg,
const void** buffer,
mama_size_t* bufferLength);
MAMAExpDLL
extern mama_status
mamaMsg_detach (mamaMsg msg);
MAMAExpDLL
mama_status
mamaMsg_getIsDefinitelyDuplicate (mamaMsg msg, int* result);
MAMAExpDLL
mama_status
mamaMsg_getIsPossiblyDuplicate (mamaMsg msg, int* result);
MAMAExpDLL
mama_status
mamaMsg_getIsPossiblyDelayed (mamaMsg msg, int* result);
MAMAExpDLL
mama_status
mamaMsg_getIsDefinitelyDelayed (mamaMsg msg, int* result);
MAMAExpDLL
mama_status
mamaMsg_getIsOutOfSequence (mamaMsg msg, int* result);
MAMAExpDLL
mama_status
mamaMsg_setNewBuffer (mamaMsg msg,
void* buffer,
mama_size_t size);
MAMAExpDLL
mama_status
mamaMsg_getNativeHandle (const mamaMsg msg,
void** result);
MAMAExpDLL
mama_status
mamaMsgIterator_create (mamaMsgIterator* iterator, mamaDictionary dict);
MAMAExpDLL
mama_status mamaMsgIterator_associate (mamaMsgIterator iterator, mamaMsg msg);
MAMAExpDLL
mama_status mamaMsgIterator_setDict (mamaMsgIterator iterator,
mamaDictionary dict);
MAMAExpDLL
mamaMsgField
mamaMsgIterator_next (mamaMsgIterator iterator);
MAMAExpDLL
mama_bool_t
mamaMsgIterator_hasNext (mamaMsgIterator iterator);
MAMAExpDLL
mamaMsgField
mamaMsgIterator_begin (mamaMsgIterator iterator);
MAMAExpDLL
mamaMsgField
mamaMsgIterator_end (mamaMsgIterator iterator);
MAMAExpDLL
mama_status
mamaMsgIterator_destroy (mamaMsgIterator iterator);
#if defined(__cplusplus)
}
#endif
#endif /* MamaMsgH__ */
Updated on 2023-03-31 at 15:29:16 +0100