Name | |
---|---|
MamaMsg() | |
MamaMsg(char payloadId) | |
MamaMsg(MamaPayloadBridge payloadBridge) | |
MamaBuffer | getStringAsBuffer(MamaFieldDescriptor fieldDesc) |
MamaBuffer | getStringAsBuffer(String name, int fid) |
boolean | tryStringAsBuffer(String name, int fid, MamaBuffer mamaBuffer) |
long | getPointerVal() |
Iterator | iterator(MamaDictionary dictionary) |
Iterator | iterator() |
native int | getNumFields() |
native boolean | getBoolean(String name, int fid) |
boolean | getBoolean(MamaFieldDescriptor fieldDesc) |
native char | getChar(String name, int fid) |
char | getChar(MamaFieldDescriptor fieldDesc) |
native byte | getI8(String name, int fid) |
byte | getI8(MamaFieldDescriptor fieldDesc) |
native short | getU8(String name, int fid) |
short | getU8(MamaFieldDescriptor fieldDesc) |
native short | getI16(String name, int fid) |
short | getI16(MamaFieldDescriptor fieldDesc) |
native int | getU16(String name, int fid) |
int | getU16(MamaFieldDescriptor fieldDesc) |
native int | getI32(String name, int fid) |
int | getI32(MamaFieldDescriptor fieldDesc) |
native long | getU32(String name, int fid) |
long | getU32(MamaFieldDescriptor fieldDesc) |
native long | getI64(String name, int fid) |
long | getI64(MamaFieldDescriptor fieldDesc) |
native long | getU64(String name, int fid) |
long | getU64(MamaFieldDescriptor fieldDesc) |
native float | getF32(String name, int fid) |
float | getF32(MamaFieldDescriptor fieldDesc) |
native double | getF64(String name, int fid) |
double | getF64(MamaFieldDescriptor fieldDesc) |
native String | getString(String name, int fid) |
String | getString(MamaFieldDescriptor fieldDesc) |
native MamaMsg | getMsg(String name, int fid) |
MamaMsg | getMsg(MamaFieldDescriptor fieldDesc) |
native byte[] | getByteBuffer() |
void | createFromByteBuffer(byte[] byteArray) |
void | setNewBuffer(byte[] byteArray) |
native byte[] | getOpaque(String name, int fid) |
byte[] | getOpaque(MamaFieldDescriptor fieldDesc) |
MamaDateTime | getDateTime(String name, int fid) |
MamaDateTime | getDateTime(MamaFieldDescriptor fieldDesc) |
MamaPrice | getPrice(String name, int fid) |
MamaPrice | getPrice(MamaFieldDescriptor fieldDesc) |
native MamaMsg[] | getArrayMsg(String name, int fid) |
MamaMsg[] | getArrayMsg(MamaFieldDescriptor fieldDesc) |
native byte[] | getArrayI8(String name, int fid) |
byte[] | getArrayI8(MamaFieldDescriptor fieldDesc) |
native short[] | getArrayU8(String name, int fid) |
short[] | getArrayU8(MamaFieldDescriptor fieldDesc) |
native short[] | getArrayI16(String name, int fid) |
short[] | getArrayI16(MamaFieldDescriptor fieldDesc) |
native int[] | getArrayU16(String name, int fid) |
int[] | getArrayU16(MamaFieldDescriptor fieldDesc) |
native int[] | getArrayI32(String name, int fid) |
int[] | getArrayI32(MamaFieldDescriptor fieldDesc) |
native long[] | getArrayU32(String name, int fid) |
long[] | getArrayU32(MamaFieldDescriptor fieldDesc) |
native long[] | getArrayI64(String name, int fid) |
long[] | getArrayI64(MamaFieldDescriptor fieldDesc) |
native long[] | getArrayU64(String name, int fid) |
long[] | getArrayU64(MamaFieldDescriptor fieldDesc) |
native float[] | getArrayF32(String name, int fid) |
float[] | getArrayF32(MamaFieldDescriptor fieldDesc) |
native double[] | getArrayF64(String name, int fid) |
double[] | getArrayF64(MamaFieldDescriptor fieldDesc) |
native String[] | getArrayString(String name, int fid) |
String[] | getArrayString(MamaFieldDescriptor fieldDesc) |
native boolean | getIsDefinitelyDuplicate() |
native boolean | getIsPossiblyDuplicate() |
native boolean | getIsPossiblyDelayed() |
native boolean | getIsDefinitelyDelayed() |
native boolean | getIsOutOfSequence() |
native long | getSeqNum() |
void | addBool(String name, int fid, boolean value) |
native void | addBoolean(String name, int fid, boolean value) |
native void | addChar(String name, int fid, char value) |
native void | addI8(String name, int fid, byte value) |
native void | addU8(String name, int fid, short value) |
native void | addI16(String name, int fid, short value) |
native void | addU16(String name, int fid, int value) |
native void | addI32(String name, int fid, int value) |
native void | addU32(String name, int fid, long value) |
native void | addI64(String name, int fid, long value) |
native void | addU64(String name, int fid, long value) |
native void | addF32(String name, int fid, float value) |
native void | addF64(String name, int fid, double value) |
native void | addString(String name, int fid, String value) |
native void | addDateTime(String name, int fid, MamaDateTime value) |
native void | addPrice(String name, int fid, MamaPrice value) |
native void | addMsg(String name, int fid, MamaMsg value) |
native void | addOpaque(String name, int fid, byte[] value) |
native void | addArrayI8(String name, int fid, byte[] value) |
native void | addArrayU8(String name, int fid, short[] value) |
native void | addArrayI16(String name, int fid, short[] value) |
native void | addArrayU16(String name, int fid, int[] value) |
native void | addArrayI32(String name, int fid, int[] value) |
native void | addArrayU32(String name, int fid, long[] value) |
native void | addArrayI64(String name, int fid, long[] value) |
native void | addArrayU64(String name, int fid, long[] value) |
native void | addArrayF32(String name, int fid, float[] value) |
native void | addArrayF64(String name, int fid, double[] value) |
native void | addArrayMsg(String name, int fid, MamaMsg[] value) |
native void | addArrayMsgWithLength(String name, int fid, MamaMsg[] value, int length) |
native void | addArrayString(String name, int fid, String[] value, int length) |
void | addArrayString(String name, int fid, String[] value) |
native void | updateI8(String name, int fid, byte value) |
native void | updateU8(String name, int fid, short value) |
native void | updateI16(String name, int fid, short value) |
native void | updateU16(String name, int fid, int value) |
native void | updateI32(String name, int fid, int value) |
native void | updateU32(String name, int fid, long value) |
native void | updateI64(String name, int fid, long value) |
native void | updateU64(String name, int fid, long value) |
native void | updateF32(String name, int fid, float value) |
native void | updateF64(String name, int fid, double value) |
native void | updateString(String name, int fid, String value) |
native void | updatePrice(String name, int fid, MamaPrice value) |
native void | updateBoolean(String name, int fid, boolean value) |
native void | updateChar(String name, int fid, char value) |
native void | updateDateTime(String name, int fid, MamaDateTime value) |
native void | updateArrayI8(String name, int fid, byte[] value) |
native void | updateArrayU8(String name, int fid, short[] value) |
native void | updateArrayI16(String name, int fid, short[] value) |
native void | updateArrayU16(String name, int fid, int[] value) |
native void | updateArrayI32(String name, int fid, int[] value) |
native void | updateArrayU32(String name, int fid, long[] value) |
native void | updateArrayI64(String name, int fid, long[] value) |
native void | updateArrayU64(String name, int fid, long[] value) |
native void | updateArrayF32(String name, int fid, float[] value) |
native void | updateArrayF64(String name, int fid, double[] value) |
char | getChar(String name, int fid, char defaultValue) |
char | getChar(MamaFieldDescriptor fieldDesc, char defaultValue) |
byte | getI8(String name, int fid, byte defaultValue) |
byte | getI8(MamaFieldDescriptor fieldDesc, byte defaultValue) |
short | getU8(String name, int fid, short defaultValue) |
short | getU8(MamaFieldDescriptor fieldDesc, short defaultValue) |
short | getI16(String name, int fid, short defaultValue) |
short | getI16(MamaFieldDescriptor fieldDesc, short defaultValue) |
int | getU16(String name, int fid, int defaultValue) |
int | getU16(MamaFieldDescriptor fieldDesc, int defaultValue) |
int | getI32(String name, int fid, int defaultValue) |
int | getI32(MamaFieldDescriptor fieldDesc, int defaultValue) |
long | getU32(String name, int fid, long defaultValue) |
long | getU32(MamaFieldDescriptor fieldDesc, long defaultValue) |
long | getI64(String name, int fid, long defaultValue) |
long | getI64(MamaFieldDescriptor fieldDesc, long defaultValue) |
long | getU64(String name, int fid, long defaultValue) |
long | getU64(MamaFieldDescriptor fieldDesc, long defaultValue) |
float | getF32(String name, int fid, float defaultValue) |
float | getF32(MamaFieldDescriptor fieldDesc, float defaultValue) |
double | getF64(String name, int fid, double defaultValue) |
double | getF64(MamaFieldDescriptor fieldDesc, double defaultValue) |
String | getString(String name, int fid, String defaultValue) |
String | getString(MamaFieldDescriptor fieldDesc, String defaultValue) |
MamaPrice | getPrice(String name, int fid, MamaPrice defaultValue) |
MamaPrice | getPrice(MamaFieldDescriptor fieldDesc, MamaPrice defaultValue) |
MamaMsg | getMsg(MamaFieldDescriptor fieldDesc, MamaMsg defaultValue) |
int[] | getArrayI32(MamaFieldDescriptor fieldDesc, int[] defaultValue) |
MamaMsg[] | getArrayMsg(MamaFieldDescriptor fieldDesc, MamaMsg[] defaultValue) |
native boolean | tryBoolean(String name, int fid, MamaBoolean result) |
boolean | tryBoolean(MamaFieldDescriptor field, MamaBoolean result) |
native boolean | tryChar(String name, int fid, MamaChar result) |
boolean | tryChar(MamaFieldDescriptor field, MamaChar result) |
native boolean | tryI8(String name, int fid, MamaByte result) |
boolean | tryI8(MamaFieldDescriptor field, MamaByte result) |
native boolean | tryU8(String name, int fid, MamaShort result) |
boolean | tryU8(MamaFieldDescriptor field, MamaShort result) |
native boolean | tryI16(String name, int fid, MamaShort result) |
boolean | tryI16(MamaFieldDescriptor field, MamaShort result) |
native boolean | tryU16(String name, int fid, MamaInteger result) |
boolean | tryU16(MamaFieldDescriptor field, MamaInteger result) |
native boolean | tryI32(String name, int fid, MamaInteger result) |
boolean | tryI32(MamaFieldDescriptor field, MamaInteger result) |
native boolean | tryU32(String name, int fid, MamaLong result) |
boolean | tryU32(MamaFieldDescriptor field, MamaLong result) |
native boolean | tryI64(String name, int fid, MamaLong result) |
boolean | tryI64(MamaFieldDescriptor field, MamaLong result) |
native boolean | tryU64(String name, int fid, MamaLong result) |
boolean | tryU64(MamaFieldDescriptor field, MamaLong result) |
native boolean | tryF32(String name, int fid, MamaFloat result) |
boolean | tryF32(MamaFieldDescriptor field, MamaFloat result) |
native boolean | tryF64(String name, int fid, MamaDouble result) |
boolean | tryF64(MamaFieldDescriptor field, MamaDouble result) |
boolean | tryDateTime(MamaFieldDescriptor field, MamaDateTime result) |
native boolean | tryDateTime(String name, int fid, MamaDateTime result) |
boolean | tryPrice(MamaFieldDescriptor field, MamaPrice result) |
native boolean | tryPrice(String name, int fid, MamaPrice result) |
native boolean | tryString(String name, int fid, MamaString result) |
boolean | tryString(MamaFieldDescriptor field, MamaString result) |
boolean | tryOpaque(String name, int fid, MamaOpaque result) |
boolean | tryOpaque(MamaFieldDescriptor field, MamaOpaque result) |
boolean | tryMsg(String name, int fid, MamaMessage result) |
boolean | tryMsg(MamaFieldDescriptor field, MamaMessage result) |
boolean | tryArrayI32(String name, int fid, MamaArrayInt result) |
boolean | tryArrayI32(MamaFieldDescriptor field, MamaArrayInt result) |
boolean | tryArrayU16(String name, int fid, MamaArrayInt result) |
boolean | tryArrayU16(MamaFieldDescriptor field, MamaArrayInt result) |
boolean | tryArrayMsg(String name, int fid, MamaArrayMsg result) |
boolean | tryArrayMsg(MamaFieldDescriptor field, MamaArrayMsg result) |
boolean | tryArrayString(String name, int fid, MamaArrayString result) |
boolean | tryArrayString(MamaFieldDescriptor field, MamaArrayString result) |
void | iterateFields(MamaMsgFieldIterator iterator, MamaDictionary dictionary, Object closure) |
native String | getFieldAsString(int fid, MamaDictionary dictionary) |
native boolean | isFromInbox() |
native String | toString() |
native String | toJsonString() |
String | toJsonString(MamaDictionary dictionary) |
native String | toNormalizedString() |
native char | getPayloadType() |
void | destroy() |
native void | clear() |
native void | copy(MamaMsg rhs) |
native MamaMsg | detach() |
native void | apply(MamaMsg rhs) |
MamaMsgField | getField(MamaFieldDescriptor field, MamaDictionary dict) |
MamaMsgField | getField(String fieldName, int fid, MamaDictionary dict) |
Name | |
---|---|
void | finalize() |
class com::wombat::mama::MamaMsg;
Wrapper class for the native C mama msg structure.
Field identifiers must be greater than or equal to 0. A field identifier of 0 indicates that there is no unique FID and multiple fields with the same name may have FID == 0.
Field lookup proceeds in the following manner.
getShort
for an integer field with a value greater than Short.MAX_VALUE
might return Short.MIN_VALUE
. It is also valid to throw a ClassCastException
or other appropriate RuntimeException
.Since some message implementations may not natively support all data types, the behaviour may vary substantially. In creating and accessing messages the Wombat APIs assume that the underlying values are stored in the smallest possible fields, and accesses them accordingly. For this reason the minimal requirement is that the methods for accessing and creating fields support the full range of values appropriate for their type. How they deal with larger values should be irrelevant.
inline MamaMsg()
The default construction behaviour is to create the underlying C message structure. We need this when users are creating their own messages when using the publishing API.
inline MamaMsg(
char payloadId
)
Parameters:
Create a MamaMsg.
inline MamaMsg(
MamaPayloadBridge payloadBridge
)
Parameters:
Create a MamaMsg.
inline MamaBuffer getStringAsBuffer(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: A MamaBuffer containing single byte ASCII characters, to obtain a unicode string call MamaBuffer.asCharBuffer.
This function will obtain a string from the mama message and return it inside a MamaBuffer object without performing any memory allocation that would cause future garbage collection.
inline MamaBuffer getStringAsBuffer(
String name,
int fid
)
Parameters:
Return: A MamaBuffer containing single byte ASCII characters, to obtain a unicode string call MamaBuffer.asCharBuffer.
This function will obtain a string from the mama message and return it inside a MamaBuffer object without performing any memory allocation that would cause future garbage collection.
inline boolean tryStringAsBuffer(
String name,
int fid,
MamaBuffer mamaBuffer
)
Parameters:
Return: Boolean indicating of the field was present in the message or not.
This function will obtain a string from the mama message and return it inside a MamaBuffer object without performing any memory allocation that would cause future garbage collection. If the field is not in the message the function will return FALSE.
inline long getPointerVal()
Return: The message pointer (Long)
Return the native message pointer.
inline Iterator iterator(
MamaDictionary dictionary
)
Parameters:
Return: The message iterator (Iterator)
Return a iterator for use with this MamaMsg
inline Iterator iterator()
Return: A message iterator (Iterator)
Return an iterator for use with this MamaMsg
native int getNumFields()
Return: Number of fields in the message as in int
Returns the total number of fields in the message.
native boolean getBoolean(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a boolean
Returns a Boolean value from the underlying message.
inline boolean getBoolean(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a boolean
Returns a Boolean value from the underlying message.
native char getChar(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a char
Returns a Char value from the underlying message.
inline char getChar(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a boolean
Returns a Char value from the underlying message.
native byte getI8(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a byte
Returns an I8 value from the underlying message.
inline byte getI8(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a byte
Returns a Integer (I8) value from the underlying message.
native short getU8(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a short
Returns a U8 value from the underlying message.
inline short getU8(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a short
Returns a Unsigned Integer (U8) value from the underlying message.
native short getI16(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a short
Returns an I16 value from the underlying message.
inline short getI16(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a short
Returns a Integer (U16) value from the underlying message.
native int getU16(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a int
Returns a U16 value from the underlying message.
inline int getU16(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a int
Returns a Unsigned Integer (U16) value from the underlying message.
native int getI32(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a int
Returns an I32 value from the underlying message.
inline int getI32(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a int
Returns a Integer (I32) value from the underlying message.
native long getU32(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a long
Returns a U32 value from the underlying message.
inline long getU32(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a long
Returns a Unsigned Integer (U32) value from the underlying message.
native long getI64(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a long
Returns an I64 value from the underlying message.
inline long getI64(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a long
Returns a Integer (I64) value from the underlying message.
native long getU64(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a long
Returns a U64 value from the underlying message.
inline long getU64(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a long
Returns a Unsigned Integer (U64) value from the underlying message.
native float getF32(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a float
Returns an F32 value from the underlying message.
inline float getF32(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a float
Returns a Float (F32) value from the underlying message.
native double getF64(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a double
Returns an F64 value from the underlying message.
inline double getF64(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a double
Returns a Double (F64) value from the underlying message.
native String getString(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a String
Returns a String value from the underlying message.
inline String getString(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a string
Returns a String value from the underlying message.
native MamaMsg getMsg(
String name,
int fid
)
Parameters:
Exceptions:
Return: The field value as a MamaMsg
Returns a MamaMsg value from the underlying message.
inline MamaMsg getMsg(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a MamaMsg
Returns a MamaMsg value from the underlying message.
native byte[] getByteBuffer()
Return: The byte array containing the message wire format
Return the internal message buffer as an array of bytes which is suitable for writing to a file. Note that this is a copy of the bytes in the current buffer.
inline void createFromByteBuffer(
byte[] byteArray
)
Parameters:
Create a mamaMsg from the provided byte buffer. This function causes a memory buffer to be allocated that is persisted for the lifetime of the message. Therefore calling this function a second time will cause an error. Instead destroy the message and then re-created it using this function.
inline void setNewBuffer(
byte[] byteArray
)
Parameters:
Exceptions:
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.
native byte[] getOpaque(
String name,
int fid
)
Parameters:
Return: The field value as a byte[]
Returns a Opaque value from the underlying message.
inline byte[] getOpaque(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a byte[]
Returns a Opaque (byte[]) value from the underlying message.
inline MamaDateTime getDateTime(
String name,
int fid
)
Parameters:
Return: The field value as a MamaDateTime
Returns a MamaDateTime value from the underlying message.
inline MamaDateTime getDateTime(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a MamaDateTime
Returns a MamaDateTime value from the underlying message.
inline MamaPrice getPrice(
String name,
int fid
)
Parameters:
Return: The field value as a MamaPrice
Returns a MamaPrice value from the underlying message.
inline MamaPrice getPrice(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a MamaPrice
Returns a MamaPrice value from the underlying message.
native MamaMsg[] getArrayMsg(
String name,
int fid
)
Parameters:
Return: The field value as a MamaMsg[]
Returns a Message Array value from the underlying message.
inline MamaMsg[] getArrayMsg(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a MamaMsg[]
Returns a MamaMsg Array (MamaMsg[]) value from the underlying message.
native byte[] getArrayI8(
String name,
int fid
)
Parameters:
Return: The field value as a byte[]
Returns an I8 Array value from the underlying message.
inline byte[] getArrayI8(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a byte[]
Returns an I8 Array (byte[]) value from the underlying message.
native short[] getArrayU8(
String name,
int fid
)
Parameters:
Return: The field value as a short[]
Returns a U8 Array value from the underlying message.
inline short[] getArrayU8(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a short[]
Returns a U8 Array (short[]) value from the underlying message.
native short[] getArrayI16(
String name,
int fid
)
Parameters:
Return: The field value as a short[]
Returns an I16 Array value from the underlying message.
inline short[] getArrayI16(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a short[]
Returns a I16 Array (short[]) value from the underlying message.
native int[] getArrayU16(
String name,
int fid
)
Parameters:
Return: The field value as a int[]
Returns a U16 Array value from the underlying message.
inline int[] getArrayU16(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a int[]
Returns a U16 Array (int[]) value from the underlying message.
native int[] getArrayI32(
String name,
int fid
)
Parameters:
Return: The field value as a int[]
Returns an I32 Array value from the underlying message.
inline int[] getArrayI32(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a int[]
Returns a I32 Array (int[]) value from the underlying message.
native long[] getArrayU32(
String name,
int fid
)
Parameters:
Return: The field value as a long[]
Returns a U32 Array value from the underlying message.
inline long[] getArrayU32(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a long[]
Returns a U32 Array (long[]) value from the underlying message.
native long[] getArrayI64(
String name,
int fid
)
Parameters:
Return: The field value as a long[]
Returns an I64 Array value from the underlying message.
inline long[] getArrayI64(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a long[]
Returns a I64 Array (long[]) value from the underlying message.
native long[] getArrayU64(
String name,
int fid
)
Parameters:
Return: The field value as a long[]
Returns an U64 Array value from the underlying message.
inline long[] getArrayU64(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a long[]
Returns a U64 Array (long[]) value from the underlying message.
native float[] getArrayF32(
String name,
int fid
)
Parameters:
Return: The field value as a float[]
Returns an F32 Array value from the underlying message.
inline float[] getArrayF32(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a float[]
Returns a F32 Array (float[]) value from the underlying message.
native double[] getArrayF64(
String name,
int fid
)
Parameters:
Return: The field value as a double[]
Returns an F64 Array value from the underlying message.
inline double[] getArrayF64(
MamaFieldDescriptor fieldDesc
)
Parameters:
Return: The field value as a double[]
Returns a F32 Array (double[]) value from the underlying message.
native String[] getArrayString(
String name,
int fid
)
Parameters:
Return: The field value as a string[]
Returns an String Array value from the underlying message.
inline String[] getArrayString(
MamaFieldDescriptor fieldDesc
)
Parameters:
Exceptions:
Return: The field value as a string[]
Returns a String Array (string[]) value from the underlying message.
native boolean getIsDefinitelyDuplicate()
Exceptions:
Return: Boolean indiciating whether the message is a duplicate
Returns Boolean indiciating whether the underlying message is definitely duplicate.
native boolean getIsPossiblyDuplicate()
Exceptions:
Return: Boolean indiciating whether the message is a possibly a duplicate
Returns Boolean indiciating whether the underlying message is possibly duplicate.
native boolean getIsPossiblyDelayed()
Exceptions:
Return: Boolean indiciating whether the message is a possibly delayed
Returns Boolean indiciating whether the underlying message is possibly delayed.
native boolean getIsDefinitelyDelayed()
Exceptions:
Return: Boolean indiciating whether the message is a definitely delayed
Returns Boolean indiciating whether the underlying message is definitely delayed.
native boolean getIsOutOfSequence()
Exceptions:
Return: Boolean indiciating whether the message is out of sequence
Returns Boolean indiciating whether the underlying message is out of sequence.
native long getSeqNum()
Return: The field value as a long
Returns the Sequence Number from the underlying message.
inline void addBool(
String name,
int fid,
boolean value
)
Parameters:
Exceptions:
Add a Boolean value to the underlying message.
native void addBoolean(
String name,
int fid,
boolean value
)
Parameters:
Exceptions:
Add a Boolean value to the underlying message.
native void addChar(
String name,
int fid,
char value
)
Parameters:
Exceptions:
Add a Char value to the underlying message.
native void addI8(
String name,
int fid,
byte value
)
Parameters:
Exceptions:
Add an I8 (byte) value to the underlying message.
native void addU8(
String name,
int fid,
short value
)
Parameters:
Exceptions:
Add an U8 (byte) value to the underlying message.
native void addI16(
String name,
int fid,
short value
)
Parameters:
Exceptions:
Add an I16 (short) value to the underlying message.
native void addU16(
String name,
int fid,
int value
)
Parameters:
Exceptions:
Add an U16 (short) value to the underlying message.
native void addI32(
String name,
int fid,
int value
)
Parameters:
Exceptions:
Add an I32 (int) value to the underlying message.
native void addU32(
String name,
int fid,
long value
)
Parameters:
Exceptions:
Add an U32 (int) value to the underlying message.
native void addI64(
String name,
int fid,
long value
)
Parameters:
Exceptions:
Add an I64 (long) value to the underlying message.
native void addU64(
String name,
int fid,
long value
)
Parameters:
Exceptions:
Add an U64 (long) value to the underlying message.
native void addF32(
String name,
int fid,
float value
)
Parameters:
Exceptions:
Add an F32 (float) value to the underlying message.
native void addF64(
String name,
int fid,
double value
)
Parameters:
Exceptions:
Add an F64 (double) value to the underlying message.
native void addString(
String name,
int fid,
String value
)
Parameters:
Exceptions:
Add an String (Java String) value to the underlying message.
native void addDateTime(
String name,
int fid,
MamaDateTime value
)
Parameters:
Exceptions:
Add an MamaDateTime value to the underlying message.
native void addPrice(
String name,
int fid,
MamaPrice value
)
Parameters:
Exceptions:
Add an MamaPrice value to the underlying message.
native void addMsg(
String name,
int fid,
MamaMsg value
)
Parameters:
Exceptions:
Add an MamaMsg value to the underlying message.
native void addOpaque(
String name,
int fid,
byte[] value
)
Parameters:
Exceptions:
Add an Opaque (byte[]) value to the underlying message.
native void addArrayI8(
String name,
int fid,
byte[] value
)
Parameters:
Exceptions:
Add an I8 Array (byte[]) value to the underlying message.
native void addArrayU8(
String name,
int fid,
short[] value
)
Parameters:
Exceptions:
Add a U8 Array (short[]) value to the underlying message.
native void addArrayI16(
String name,
int fid,
short[] value
)
Parameters:
Exceptions:
Add an I16 Array (short[]) value to the underlying message.
native void addArrayU16(
String name,
int fid,
int[] value
)
Parameters:
Exceptions:
Add a U16 Array (int[]) value to the underlying message.
native void addArrayI32(
String name,
int fid,
int[] value
)
Parameters:
Exceptions:
Add an I32 Array (int[]) value to the underlying message.
native void addArrayU32(
String name,
int fid,
long[] value
)
Parameters:
Exceptions:
Add a U32 Array (long[]) value to the underlying message.
native void addArrayI64(
String name,
int fid,
long[] value
)
Parameters:
Exceptions:
Add an I64 Array (long[]) value to the underlying message.
native void addArrayU64(
String name,
int fid,
long[] value
)
Parameters:
Exceptions:
Add a U64 Array (long[]) value to the underlying message.
native void addArrayF32(
String name,
int fid,
float[] value
)
Parameters:
Exceptions:
Add a F32 Array (float[]) value to the underlying message.
native void addArrayF64(
String name,
int fid,
double[] value
)
Parameters:
Exceptions:
Add a F64 Array (double[]) value to the underlying message.
native void addArrayMsg(
String name,
int fid,
MamaMsg[] value
)
Parameters:
Exceptions:
Add a MamaMsg Array (MamaMsg[]) value to the underlying message.
native void addArrayMsgWithLength(
String name,
int fid,
MamaMsg[] value,
int length
)
Parameters:
Exceptions:
This function will add a new field containing an array of messages. Unlinke addArrayMsg it will not add the entire array but only the number of messages supplied in the length parameter.
native void addArrayString(
String name,
int fid,
String[] value,
int length
)
Parameters:
Exceptions:
Add a String Array (String[]) value to the underlying message.
inline void addArrayString(
String name,
int fid,
String[] value
)
Parameters:
Exceptions:
Add a String Array (String[]) value to the underlying message.
native void updateI8(
String name,
int fid,
byte value
)
Parameters:
Exceptions:
Update the value of an I8 (byte) value in the underlying message.
native void updateU8(
String name,
int fid,
short value
)
Parameters:
Exceptions:
Update the value of a U8 (byte) value in the underlying message.
native void updateI16(
String name,
int fid,
short value
)
Parameters:
Exceptions:
Update the value of an I16 (short) value in the underlying message.
native void updateU16(
String name,
int fid,
int value
)
Parameters:
Exceptions:
Update the value of a U16 (short) value in the underlying message.
native void updateI32(
String name,
int fid,
int value
)
Parameters:
Exceptions:
Update the value of an I32 (int) value in the underlying message.
native void updateU32(
String name,
int fid,
long value
)
Parameters:
Exceptions:
Update the value of a U32 (int) value in the underlying message.
native void updateI64(
String name,
int fid,
long value
)
Parameters:
Exceptions:
Update the value of an I64 (long) value in the underlying message.
native void updateU64(
String name,
int fid,
long value
)
Parameters:
Exceptions:
Update the value of a U64 (long) value in the underlying message.
native void updateF32(
String name,
int fid,
float value
)
Parameters:
Exceptions:
Update the value of an F32 (float) value in the underlying message.
native void updateF64(
String name,
int fid,
double value
)
Parameters:
Exceptions:
Update the value of an F64 (double) value in the underlying message.
native void updateString(
String name,
int fid,
String value
)
Parameters:
Exceptions:
Update the value of an String (Java String) value in the underlying message.
native void updatePrice(
String name,
int fid,
MamaPrice value
)
Parameters:
Exceptions:
Update the value of a MamaPrice value in the underlying message.
native void updateBoolean(
String name,
int fid,
boolean value
)
Parameters:
Exceptions:
Update the value of a Boolean value in the underlying message.
native void updateChar(
String name,
int fid,
char value
)
Parameters:
Exceptions:
Update the value of an Char value in the underlying message.
native void updateDateTime(
String name,
int fid,
MamaDateTime value
)
Parameters:
Exceptions:
Update the value of an MamaDateTime value in the underlying message.
native void updateArrayI8(
String name,
int fid,
byte[] value
)
Parameters:
Exceptions:
Update the value of an I8 (byte[]) value in the underlying message.
native void updateArrayU8(
String name,
int fid,
short[] value
)
Parameters:
Exceptions:
Update the value of a U8 (short[]) value in the underlying message.
native void updateArrayI16(
String name,
int fid,
short[] value
)
Parameters:
Exceptions:
Update the value of an I16 (short[]) value in the underlying message.
native void updateArrayU16(
String name,
int fid,
int[] value
)
Parameters:
Exceptions:
Update the value of a U16 (int[]) value in the underlying message.
native void updateArrayI32(
String name,
int fid,
int[] value
)
Parameters:
Exceptions:
Update the value of an I32 (int[]) value in the underlying message.
native void updateArrayU32(
String name,
int fid,
long[] value
)
Parameters:
Exceptions:
Update the value of a U32 (long[]) value in the underlying message.
native void updateArrayI64(
String name,
int fid,
long[] value
)
Parameters:
Exceptions:
Update the value of an I64 (long[]) value in the underlying message.
native void updateArrayU64(
String name,
int fid,
long[] value
)
Parameters:
Exceptions:
Update the value of a U64 (long[]) value in the underlying message.
native void updateArrayF32(
String name,
int fid,
float[] value
)
Parameters:
Exceptions:
Update the value of an F32 (float[]) value in the underlying message.
native void updateArrayF64(
String name,
int fid,
double[] value
)
Parameters:
Exceptions:
Update the value of an F64 (double[]) value in the underlying message.
inline char getChar(
String name,
int fid,
char defaultValue
)
Parameters:
Return: The value as a char
Return the value of a Char field from the underlying message.
inline char getChar(
MamaFieldDescriptor fieldDesc,
char defaultValue
)
Parameters:
Return: The value as a char
Return the value of a Char field from the underlying message.
inline byte getI8(
String name,
int fid,
byte defaultValue
)
Parameters:
Return: The value as a byte
Return the value of an I8 field from the underlying message.
inline byte getI8(
MamaFieldDescriptor fieldDesc,
byte defaultValue
)
Parameters:
Return: The value as a byte
Return the value of an I8 field from the underlying message.
inline short getU8(
String name,
int fid,
short defaultValue
)
Parameters:
Return: The value as a short
Return the value of a U8 field from the underlying message.
inline short getU8(
MamaFieldDescriptor fieldDesc,
short defaultValue
)
Parameters:
Return: The value as a short
Return the value of a U8 field from the underlying message.
inline short getI16(
String name,
int fid,
short defaultValue
)
Parameters:
Return: The value as a short
Return the value of an I16 field from the underlying message.
inline short getI16(
MamaFieldDescriptor fieldDesc,
short defaultValue
)
Parameters:
Return: The value as a short
Return the value of an I16 field from the underlying message.
inline int getU16(
String name,
int fid,
int defaultValue
)
Parameters:
Return: The value as a int
Return the value of a U16 field from the underlying message.
inline int getU16(
MamaFieldDescriptor fieldDesc,
int defaultValue
)
Parameters:
Return: The value as a int
Return the value of a U16 field from the underlying message.
inline int getI32(
String name,
int fid,
int defaultValue
)
Parameters:
Return: The value as a int
Return the value of an I32 field from the underlying message.
inline int getI32(
MamaFieldDescriptor fieldDesc,
int defaultValue
)
Parameters:
Return: The value as a int
Return the value of an I32 field from the underlying message.
inline long getU32(
String name,
int fid,
long defaultValue
)
Parameters:
Return: The value as a long
Return the value of a U32 field from the underlying message.
inline long getU32(
MamaFieldDescriptor fieldDesc,
long defaultValue
)
Parameters:
Return: The value as a long
Return the value of a U32 field from the underlying message.
inline long getI64(
String name,
int fid,
long defaultValue
)
Parameters:
Return: The value as a long
Return the value of an I64 field from the underlying message.
inline long getI64(
MamaFieldDescriptor fieldDesc,
long defaultValue
)
Parameters:
Return: The value as a long
Return the value of an I64 field from the underlying message.
inline long getU64(
String name,
int fid,
long defaultValue
)
Parameters:
Return: The value as a long
Return the value of a U64 field from the underlying message.
inline long getU64(
MamaFieldDescriptor fieldDesc,
long defaultValue
)
Parameters:
Return: The value as a long
Return the value of a U64 field from the underlying message.
inline float getF32(
String name,
int fid,
float defaultValue
)
Parameters:
Return: The value as a float
Return the value of an F32 field from the underlying message.
inline float getF32(
MamaFieldDescriptor fieldDesc,
float defaultValue
)
Parameters:
Return: The value as a float
Return the value of an F32 field from the underlying message.
inline double getF64(
String name,
int fid,
double defaultValue
)
Parameters:
Return: The value as a double
Return the value of an F64 field from the underlying message.
inline double getF64(
MamaFieldDescriptor fieldDesc,
double defaultValue
)
Parameters:
Return: The value as a double
Return the value of an F64 field from the underlying message.
inline String getString(
String name,
int fid,
String defaultValue
)
Parameters:
Return: The value as a String
Return the value of a String field from the underlying message.
inline String getString(
MamaFieldDescriptor fieldDesc,
String defaultValue
)
Parameters:
Return: The value as a String
Return the value of a String field from the underlying message.
inline MamaPrice getPrice(
String name,
int fid,
MamaPrice defaultValue
)
Parameters:
Return: The value as a MamaPrice
Return the value of a MamaPrice field from the underlying message.
inline MamaPrice getPrice(
MamaFieldDescriptor fieldDesc,
MamaPrice defaultValue
)
Parameters:
Return: The value as a MamaPrice
Return the value of a MamaPrice field from the underlying message.
inline MamaMsg getMsg(
MamaFieldDescriptor fieldDesc,
MamaMsg defaultValue
)
Parameters:
Return: The value as a MamaMsg
Return the value of a MamaMsg field from the underlying message.
inline int[] getArrayI32(
MamaFieldDescriptor fieldDesc,
int[] defaultValue
)
Parameters:
Return: The value as a int[]
Return the value of an I32 Array field from the underlying message.
inline MamaMsg[] getArrayMsg(
MamaFieldDescriptor fieldDesc,
MamaMsg[] defaultValue
)
Parameters:
Return: The value as a MamaMsg[]
Return the value of a MamaMsg Array field from the underlying message.
native boolean tryBoolean(
String name,
int fid,
MamaBoolean result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a Boolean field from the underlying message.
inline boolean tryBoolean(
MamaFieldDescriptor field,
MamaBoolean result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaBoolean field from the underlying message.
native boolean tryChar(
String name,
int fid,
MamaChar result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaChar field from the underlying message.
inline boolean tryChar(
MamaFieldDescriptor field,
MamaChar result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaChar field from the underlying message.
native boolean tryI8(
String name,
int fid,
MamaByte result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaByte field from the underlying message.
inline boolean tryI8(
MamaFieldDescriptor field,
MamaByte result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaByte field from the underlying message.
native boolean tryU8(
String name,
int fid,
MamaShort result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaShort field from the underlying message.
inline boolean tryU8(
MamaFieldDescriptor field,
MamaShort result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaShort field from the underlying message.
native boolean tryI16(
String name,
int fid,
MamaShort result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaShort field from the underlying message.
inline boolean tryI16(
MamaFieldDescriptor field,
MamaShort result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaShort field from the underlying message.
native boolean tryU16(
String name,
int fid,
MamaInteger result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaInteger field from the underlying message.
inline boolean tryU16(
MamaFieldDescriptor field,
MamaInteger result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaInteger field from the underlying message.
native boolean tryI32(
String name,
int fid,
MamaInteger result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaInteger field from the underlying message.
inline boolean tryI32(
MamaFieldDescriptor field,
MamaInteger result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaInteger field from the underlying message.
native boolean tryU32(
String name,
int fid,
MamaLong result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaLong field from the underlying message.
inline boolean tryU32(
MamaFieldDescriptor field,
MamaLong result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaLong field from the underlying message.
native boolean tryI64(
String name,
int fid,
MamaLong result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaLong field from the underlying message.
inline boolean tryI64(
MamaFieldDescriptor field,
MamaLong result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaLong field from the underlying message.
native boolean tryU64(
String name,
int fid,
MamaLong result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaLong field from the underlying message.
inline boolean tryU64(
MamaFieldDescriptor field,
MamaLong result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaLong field from the underlying message.
native boolean tryF32(
String name,
int fid,
MamaFloat result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaFloat field from the underlying message.
inline boolean tryF32(
MamaFieldDescriptor field,
MamaFloat result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaFloat field from the underlying message.
native boolean tryF64(
String name,
int fid,
MamaDouble result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaDouble field from the underlying message.
inline boolean tryF64(
MamaFieldDescriptor field,
MamaDouble result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaDouble field from the underlying message.
inline boolean tryDateTime(
MamaFieldDescriptor field,
MamaDateTime result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaDateTime field from the underlying message.
native boolean tryDateTime(
String name,
int fid,
MamaDateTime result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaDateTime field from the underlying message.
inline boolean tryPrice(
MamaFieldDescriptor field,
MamaPrice result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaPrice field from the underlying message.
native boolean tryPrice(
String name,
int fid,
MamaPrice result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaPrice field from the underlying message.
native boolean tryString(
String name,
int fid,
MamaString result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaString field from the underlying message.
inline boolean tryString(
MamaFieldDescriptor field,
MamaString result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaString field from the underlying message.
inline boolean tryOpaque(
String name,
int fid,
MamaOpaque result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaOpaque field from the underlying message.
inline boolean tryOpaque(
MamaFieldDescriptor field,
MamaOpaque result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaOpaque field from the underlying message.
inline boolean tryMsg(
String name,
int fid,
MamaMessage result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaMessage field from the underlying message.
inline boolean tryMsg(
MamaFieldDescriptor field,
MamaMessage result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaMessage field from the underlying message.
inline boolean tryArrayI32(
String name,
int fid,
MamaArrayInt result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaArrayInt field from the underlying message.
inline boolean tryArrayI32(
MamaFieldDescriptor field,
MamaArrayInt result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaArrayInt field from the underlying message.
inline boolean tryArrayU16(
String name,
int fid,
MamaArrayInt result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaArrayInt field from the underlying message.
inline boolean tryArrayU16(
MamaFieldDescriptor field,
MamaArrayInt result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaArrayInt field from the underlying message.
inline boolean tryArrayMsg(
String name,
int fid,
MamaArrayMsg result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaArrayMsg field from the underlying message.
inline boolean tryArrayMsg(
MamaFieldDescriptor field,
MamaArrayMsg result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaArrayMsg field from the underlying message.
inline boolean tryArrayString(
String name,
int fid,
MamaArrayString result
)
Parameters:
Return: Boolean representing whether the field was present or not
Try to get the value of a MamaArrayString field from the underlying message.
inline boolean tryArrayString(
MamaFieldDescriptor field,
MamaArrayString result
)
Parameters:
Return: Boolean representing whether the field was present or not
Return the value of a MamaArrayMsg field from the underlying message.
inline void iterateFields(
MamaMsgFieldIterator iterator,
MamaDictionary dictionary,
Object closure
)
Parameters:
onField()
Iterate over all of the fields within the message. The onField()
method of the [MamaMsgFieldIterator](interfacecom_1_1wombat_1_1mama_1_1MamaMsgFieldIterator.html)
instance will be invoked for each field in the underlying message.
native String getFieldAsString(
int fid,
MamaDictionary dictionary
)
Parameters:
Return: Return a String representation the field with the given fid
Return a String representation of the entire message.
native boolean isFromInbox()
Return: Boolean indicating whether this message is a p2p request
Return a String representation of the entire message.
native String toString()
Return: the String representation of the entire message.
Return a String representation of the entire message.
native String toJsonString()
Return: the String representation of the entire message.
Return a json String representation of the entire message.
inline String toJsonString(
MamaDictionary dictionary
)
Return: the String representation of the entire message.
Return a json String representation of the entire message using field names from the dictionary.
native String toNormalizedString()
Return: the String representation of the entire message.
Return a normalized String representation of the entire message.
native char getPayloadType()
Return: A MamaPayloadType indicating which message payload is used in the message.
Return as a character representation of the payload type used in the message.
inline void destroy()
Destroy the internal state of the MamaMsg object. Needed for JNI so we know when to free the underlying C strucure. Should only be called if the client app has created the message. i.e. do not call on messages passed in the callbacks as these are managed internal to the MAMA API
native void clear()
Clear the message. All fields are removed
native void copy(
MamaMsg rhs
)
Parameters:
Create a deep copy of the message.
native MamaMsg detach()
Detach the message. This will take a deep copy of the MamaMsg and transfer the ownership to the application and it will be the responsibility of the user to destroy.
native void apply(
MamaMsg rhs
)
Parameters:
Update the MamaMsg with the fields of another MamaMsg.
inline MamaMsgField getField(
MamaFieldDescriptor field,
MamaDictionary dict
)
Parameters:
Return: The MamaMsgField or null
Get a specified field from a message, or null if not found.
inline MamaMsgField getField(
String fieldName,
int fid,
MamaDictionary dict
)
Parameters:
Return: The MamaMsgField or null
Get a specified field from a message, or null if not found.
inline void finalize()
Updated on 2023-03-31 at 15:29:43 +0100