Class which encapsulates the messages used in the MAMA infrastructure
Inherits from Wombat.MamaWrapper, IDisposable
Name | |
---|---|
MamaMsg() Create a msg using the default payload. |
|
MamaMsg(mamaPayloadType payloadId) NOTE: This function has been deprecated in line with the deprecation of the mamaPayloadType enum. Create a msg using the payload specified. The payload ID to create the message for |
|
MamaMsg(char payloadId) Create a msg using the payload specified. Char identifying the payload to create the msg for |
|
MamaMsg(MamaPayloadBridge payloadBridge) Create a msg using the payload bridge specified. |
|
MamaMsg(MamaMsg mamaMsgSrc) Create a deep copy of a message. |
|
void | getByteBuffer(ref byte[] byteBuffer, ref int size) |
void | createFromBuffer(byte[] byteBuffer, int size) |
void | createForBridgeFromBuffer(byte[] byteBuffer, int size, MamaBridge bridgeImpl) |
MamaMsg | detach() |
mamaMsgType | getType() Extract the type |
mamaMsgStatus | getStatus() Return the status |
mamaPayloadType | getPayloadType() |
void | iterateFields(MamaMsgFieldIterator iterator, MamaDictionary dictionary, object closure) Invoke the specified callback for each field in the message. |
void | clear() Clear a msg. All fields are removed. |
void | destroy() Destroy a message and free any resources associated with it. |
int | getByteSize() Get the size of the underlying message in bytes. Only works for tibrvMsg and wombatmsg types. |
void | addBool(string name, ushort fid, bool val) Add a new bool field. |
void | addChar(string name, ushort fid, char val) Add a new char field. |
void | addI8(string name, ushort fid, sbyte val) Add a new 8 bit signed int field. |
void | addU8(string name, ushort fid, byte val) Add a new 8 bit unsigned int field. |
void | addI16(string name, ushort fid, short val) Add a new 16 bit signed int field. |
void | addU16(string name, ushort fid, ushort val) Add a new 16 bit unsigned int field. |
void | addI32(string name, ushort fid, int val) Add a new 32 bit unsigned int field. |
void | addU32(string name, ushort fid, uint val) Add a new 32 bit signed int field. |
void | addI64(string name, ushort fid, long val) Add a new I64 field. |
void | addU64(string name, ushort fid, ulong val) Add a new U64 field. |
void | addF32(string name, ushort fid, float val) Add a new float (f32) field. |
void | addF64(string name, ushort fid, double val) Add a new f64 field. |
void | addString(string name, ushort fid, string val) Add a string field. |
void | addOpaque(string name, ushort fid, byte[] val) Add an opaque field. |
void | addDateTime(string name, ushort fid, DateTime val) Add a MAMA date/time field. |
void | addPrice(string name, ushort fid, MamaPrice val) Add a MAMA price field. |
void | addMsg(string name, ushort fid, MamaMsg val) Add a MamaMsg to the msg |
void | addVectorBool(string name, ushort fid, bool[] val) Add an array of booleans to the message. |
void | addVectorChar(string name, ushort fid, char[] val) Add an array of characters to the message. |
void | addVectorI8(string name, ushort fid, sbyte[] val) Add an array of signed 8 bit integers to the message. |
void | addVectorU8(string name, ushort fid, byte[] val) Add an array of unsigned 8 bit integers to the message. |
void | addVectorI16(string name, ushort fid, short[] val) Add an array of signed 16 bit integers to the message. |
void | addVectorU16(string name, ushort fid, ushort[] val) Add an array of unsigned 16 bit integers to the message. |
void | addVectorI32(string name, ushort fid, int[] val) Add an array of signed 32 bit integers to the message. |
void | addVectorU32(string name, ushort fid, uint[] val) Add an array of unsigned 32 bit integers to the message. |
void | addVectorI64(string name, ushort fid, long[] val) Add an array of signed 64 bit integers to the message. |
void | addVectorU64(string name, ushort fid, ulong[] val) Add an array of unsigned 64 bit integers to the message. |
void | addVectorF32(string name, ushort fid, float[] val) Add an array of 32 bit floating point numbers to the message. |
void | addVectorF64(string name, ushort fid, double[] val) Add an array of 64 bit floating point numbers to the message. |
void | addVectorDateTime(string name, ushort fid, DateTime[] val) Add an array of timestamps to the message. |
void | updateBool(string name, ushort fid, bool val) Update the value of an existing bool field. If the field does not exist it is added. |
void | updateChar(string name, ushort fid, char val) Update the value of an existing char field. If the field does not exist it is added. |
void | updateI8(string name, ushort fid, sbyte val) Update the value of an existing I8 field. If the field does not exist it is added. |
void | updateU8(string name, ushort fid, byte val) Update the value of an existing U8 field. If the field does not exist it is added. |
void | updateI16(string name, ushort fid, short val) Update the value of an existing I16 field. If the field does not exist it is added. |
void | updateU16(string name, ushort fid, ushort val) Update the value of an existing U16 field. If the field does not exist it is added. |
void | updateI32(string name, ushort fid, int val) Update the value of an existing I32 field. If the field does not exist it is added. |
void | updateU32(string name, ushort fid, uint val) Update the value of an existing U32 field. If the field does not exist it is added. |
void | updateI64(string name, ushort fid, long val) Update the value of an existing I64 field. If the field does not exist it is added. |
void | updateU64(string name, ushort fid, ulong val) Update the value of an existing U64 field. If the field does not exist it is added. |
void | updateF32(string name, ushort fid, float val) Update the value of an existing float field. If the field does not exist it is added. |
void | updateF64(string name, ushort fid, double val) Update the value of an existing f64 field. If the field does not exist it is added. |
void | updateString(string name, ushort fid, string val) Update the value of an existing string field. If the field does not exist it is added. |
void | updateOpaque(string name, ushort fid, byte[] val) Update an opaque field. |
void | updateDateTime(string name, ushort fid, DateTime val) Update a MAMA date/time field. |
void | updatePrice(string name, ushort fid, MamaPrice val) Update a MAMA price field. |
void | updateVectorBool(string name, ushort fid, bool[] val) Update an array of booleans. |
void | updateVectorChar(string name, ushort fid, char[] val) Update an array of characters. |
void | updateVectorI8(string name, ushort fid, sbyte[] val) Update an array of signed 8 bit integers. |
void | updateVectorU8(string name, ushort fid, byte[] val) Update an array of unsigned 8 bit integers. |
void | updateVectorI16(string name, ushort fid, short[] val) Update an array of signed 16 bit integers. |
void | updateVectorU16(string name, ushort fid, ushort[] val) Update an array of unsigned 16 bit integers. |
void | updateVectorI32(string name, ushort fid, int[] val) Update an array of signed 32 bit integers. |
void | updateVectorU32(string name, ushort fid, uint[] val) Update an array of unsigned 32 bit integers. |
void | updateVectorI64(string name, ushort fid, long[] val) Update an array of signed 64 bit integers. |
void | updateVectorU64(string name, ushort fid, ulong[] val) Update an array of unsigned 64 bit integers. |
void | updateVectorF32(string name, ushort fid, float[] val) Update an array of 32 bit floating point numbers. |
void | updateVectorF64(string name, ushort fid, double[] val) Update an array of 64 bit floating point numbers. |
void | updateVectorDateTime(string name, ushort fid, DateTime[] val) Update an array of timestamps. |
bool | getBool(string name, ushort fid) Get a bool field. |
bool | getBool(MamaFieldDescriptor descriptor) Get a bool field. |
bool | getBool(string name, ushort fid, bool valueIfMissing) Get a bool field. |
bool | getBool(MamaFieldDescriptor descriptor, bool valueIfMissing) Get a bool field. |
char | getChar(string name, ushort fid) Get a char field. |
char | getChar(MamaFieldDescriptor descriptor) Get a char field. |
char | getChar(string name, ushort fid, char valueIfMissing) Get a char field. |
char | getChar(MamaFieldDescriptor descriptor, char valueIfMissing) Get a char field. |
sbyte | getI8(string name, ushort fid) Get a I8, signed 8 bit integer, field. |
sbyte | getI8(MamaFieldDescriptor descriptor) Get a I8, signed 8 bit integer, field. |
sbyte | getI8(string name, ushort fid, sbyte valueIfMissing) Get a I8, signed 8 bit integer, field. |
sbyte | getI8(MamaFieldDescriptor descriptor, sbyte valueIfMissing) Get a I8, signed 8 bit integer, field. |
byte | getU8(string name, ushort fid) Get a U8, unsigned 8 bit integer, field. |
byte | getU8(MamaFieldDescriptor descriptor) Get a U8, unsigned 8 bit integer, field. |
byte | getU8(string name, ushort fid, byte valueIfMissing) Get a U8, unsigned 8 bit integer, field. |
byte | getU8(MamaFieldDescriptor descriptor, byte valueIfMissing) Get a U8, unsigned 8 bit integer, field. |
short | getI16(string name, ushort fid) Get a I16, signed 16 bit integer, field. |
short | getI16(MamaFieldDescriptor descriptor) Get a I16, signed 16 bit integer, field. |
short | getI16(string name, ushort fid, short valueIfMissing) Get a I16, signed 16 bit integer, field. |
short | getI16(MamaFieldDescriptor descriptor, short valueIfMissing) Get a I16, signed 16 bit integer, field. |
ushort | getU16(string name, ushort fid) Get a U16, unsigned 16 bit integer, field. |
ushort | getU16(MamaFieldDescriptor descriptor) Get a U16, unsigned 16 bit integer, field. |
ushort | getU16(string name, ushort fid, ushort valueIfMissing) Get a U16, unsigned 16 bit integer, field. |
ushort | getU16(MamaFieldDescriptor descriptor, ushort valueIfMissing) Get a U16, unsigned 16 bit integer, field. |
int | getI32(string name, ushort fid) Get a I32, signed 32 bit integer, field. |
int | getI32(MamaFieldDescriptor descriptor) Get a I32, signed 32 bit integer, field. |
int | getI32(string name, ushort fid, int valueIfMissing) Get a I32, signed 32 bit integer, field. |
int | getI32(MamaFieldDescriptor descriptor, int valueIfMissing) Get a I32, signed 32 bit integer, field. |
uint | getU32(string name, ushort fid) Get a U32, unsigned 32 bit integer, field. |
uint | getU32(MamaFieldDescriptor descriptor) Get a U32, unsigned 32 bit integer, field. |
uint | getU32(string name, ushort fid, uint valueIfMissing) Get a U32, unsigned 32 bit integer, field. |
uint | getU32(MamaFieldDescriptor descriptor, uint valueIfMissing) Get a U32, unsigned 32 bit integer, field. |
long | getI64(string name, ushort fid) Get a I64, signed 64 bit integer, field. |
long | getI64(MamaFieldDescriptor descriptor) Get a I64, signed 64 bit integer, field. |
long | getI64(string name, ushort fid, long valueIfMissing) Get a I64, signed 64 bit integer, field. |
long | getI64(MamaFieldDescriptor descriptor, long valueIfMissing) Get a I64, signed 64 bit integer, field. |
ulong | getU64(string name, ushort fid) Get a U64, unsigned 64 bit integer, field. |
ulong | getU64(MamaFieldDescriptor descriptor) Get a U64, unsigned 64 bit integer, field. |
ulong | getU64(string name, ushort fid, ulong valueIfMissing) Get a U64, unsigned 64 bit integer, field. |
ulong | getU64(MamaFieldDescriptor descriptor, ulong valueIfMissing) Get a U64, unsigned 64 bit integer, field. |
float | getF32(string name, ushort fid) Get a float (f32) field. |
float | getF32(MamaFieldDescriptor descriptor) Get a float (f32) field. |
float | getF32(string name, ushort fid, float valueIfMissing) Get a float (f32) field. |
float | getF32(MamaFieldDescriptor descriptor, float valueIfMissing) Get a float (f32) field. |
double | getF64(string name, ushort fid) Get a F64 field. |
double | getF64(MamaFieldDescriptor descriptor) Get a F64 field. |
double | getF64(string name, ushort fid, double valueIfMissing) Get a F64 field. |
double | getF64(MamaFieldDescriptor descriptor, double valueIfMissing) Get a F64 field. |
string | getString(string name, ushort fid) Get a string field. |
bool | tryStringAnsi(string name, ushort fid, ref IntPtr result) |
bool | tryStringAnsi(MamaFieldDescriptor descriptor, ref IntPtr result) |
string | getString(MamaFieldDescriptor descriptor) Get a string field. |
string | getString(string name, ushort fid, string valueIfMissing) Get a string field. |
string | getString(MamaFieldDescriptor descriptor, string valueIfMissing) Get a string field. |
byte[] | getOpaque(string name, ushort fid) Get an opaque field. |
byte[] | getOpaque(MamaFieldDescriptor descriptor) Get a opaque field. |
byte[] | getOpaque(string name, ushort fid, byte[] valueIfMissing) Get a opaque field. |
byte[] | getOpaque(MamaFieldDescriptor descriptor, byte[] valueIfMissing) Get a opaque field. |
DateTime | getDateTime(string name, ushort fid) Get a MAMA date/time field. |
DateTime | getDateTime(MamaFieldDescriptor descriptor) Get a MAMA date/time field. |
DateTime | getDateTime(string name, ushort fid, DateTime valueIfMissing) Get a MAMA date/time field. |
DateTime | getDateTime(MamaFieldDescriptor descriptor, DateTime valueIfMissing) Get a MAMA date/time field. |
MamaPrice | getPrice(string name, ushort fid) Get a MAMA price field. |
MamaPrice | getPrice(MamaFieldDescriptor descriptor) Get a MAMA price field. |
MamaPrice | getPrice(string name, ushort fid, MamaPrice valueIfMissing) Get a MAMA price field. |
MamaPrice | getPrice(MamaFieldDescriptor descriptor, MamaPrice valueIfMissing) Get a MAMA price field. |
MamaMsg | getMsg(string name, ushort fid) Get a submessage. |
MamaMsg | getMsg(MamaFieldDescriptor descriptor) Get a submessage. |
MamaMsg | getMsg(string name, ushort fid, MamaMsg valueIfMissing) Get a submessage. |
MamaMsg | getMsg(MamaFieldDescriptor descriptor, MamaMsg valueIfMissing) Get a submessage. |
MamaMsgField | getField(string name, ushort fid) Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object. |
MamaMsgField | getField(MamaFieldDescriptor descriptor) Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object. |
MamaMsgField | getField(string name, ushort fid, MamaMsgField valueIfMissing) Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object. |
MamaMsgField | getField(MamaFieldDescriptor descriptor, MamaMsgField valueIfMissing) Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object. |
bool[] | getVectorBool(string name, ushort fid) Get a vector of booleans. |
bool[] | getVectorBool(MamaFieldDescriptor descriptor) Get a vector of booleans. |
bool[] | getVectorBool(string name, ushort fid, bool[] valueIfMissing) Get a vector of booleans. |
bool[] | getVectorBool(MamaFieldDescriptor descriptor, bool[] valueIfMissing) Get a vector of booleans. |
char[] | getVectorChar(string name, ushort fid) Get a vector of chars. |
char[] | getVectorChar(MamaFieldDescriptor descriptor) Get a vector of chars. |
char[] | getVectorChar(string name, ushort fid, char[] valueIfMissing) Get a vector of chars. |
char[] | getVectorChar(MamaFieldDescriptor descriptor, char[] valueIfMissing) Get a vector of chars. |
sbyte[] | getVectorI8(string name, ushort fid) Get a vector of signed 8 bit integers. |
sbyte[] | getVectorI8(MamaFieldDescriptor descriptor) Get a vector of signed 8 bit integers. |
sbyte[] | getVectorI8(string name, ushort fid, sbyte[] valueIfMissing) Get a vector of signed 8 bit integers. |
sbyte[] | getVectorI8(MamaFieldDescriptor descriptor, sbyte[] valueIfMissing) Get a vector of signed 8 bit integers. |
byte[] | getVectorU8(string name, ushort fid) Get a vector of unsigned 8 bit integers. |
byte[] | getVectorU8(MamaFieldDescriptor descriptor) Get a vector of unsigned 8 bit integers. |
byte[] | getVectorU8(string name, ushort fid, byte[] valueIfMissing) Get a vector of unsigned 8 bit integers. |
byte[] | getVectorU8(MamaFieldDescriptor descriptor, byte[] valueIfMissing) Get a vector of unsigned 8 bit integers. |
short[] | getVectorI16(string name, ushort fid) Get a vector of signed 16 bit integers. |
short[] | getVectorI16(MamaFieldDescriptor descriptor) Get a vector of signed 16 bit integers. |
short[] | getVectorI16(string name, ushort fid, short[] valueIfMissing) Get a vector of signed 16 bit integers. |
short[] | getVectorI16(MamaFieldDescriptor descriptor, short[] valueIfMissing) Get a vector of signed 16 bit integers. |
ushort[] | getVectorU16(string name, ushort fid) Get a vector of unsigned 16 bit integers. |
ushort[] | getVectorU16(MamaFieldDescriptor descriptor) Get a vector of unsigned 16 bit integers. |
ushort[] | getVectorU16(string name, ushort fid, ushort[] valueIfMissing) Get a vector of unsigned 16 bit integers. |
ushort[] | getVectorU16(MamaFieldDescriptor descriptor, ushort[] valueIfMissing) Get a vector of unsigned 16 bit integers. |
int[] | getVectorI32(string name, ushort fid) Get a vector of signed 32 bit integers. |
int[] | getVectorI32(MamaFieldDescriptor descriptor) Get a vector of signed 32 bit integers. |
int[] | getVectorI32(string name, ushort fid, int[] valueIfMissing) Get a vector of signed 32 bit integers. |
int[] | getVectorI32(MamaFieldDescriptor descriptor, int[] valueIfMissing) Get a vector of signed 32 bit integers. |
uint[] | getVectorU32(string name, ushort fid) Get a vector of unsigned 32 bit integers. |
uint[] | getVectorU32(MamaFieldDescriptor descriptor) Get a vector of unsigned 32 bit integers. |
uint[] | getVectorU32(string name, ushort fid, uint[] valueIfMissing) Get a vector of unsigned 32 bit integers. |
uint[] | getVectorU32(MamaFieldDescriptor descriptor, uint[] valueIfMissing) Get a vector of unsigned 32 bit integers. |
long[] | getVectorI64(string name, ushort fid) Get a vector of signed 64 bit integers. |
long[] | getVectorI64(MamaFieldDescriptor descriptor) Get a vector of signed 64 bit integers. |
long[] | getVectorI64(string name, ushort fid, long[] valueIfMissing) Get a vector of signed 64 bit integers. |
long[] | getVectorI64(MamaFieldDescriptor descriptor, long[] valueIfMissing) Get a vector of signed 64 bit integers. |
ulong[] | getVectorU64(string name, ushort fid) Get a vector of unsigned 64 bit integers. |
ulong[] | getVectorU64(MamaFieldDescriptor descriptor) Get a vector of unsigned 64 bit integers. |
ulong[] | getVectorU64(string name, ushort fid, ulong[] valueIfMissing) Get a vector of unsigned 64 bit integers. |
ulong[] | getVectorU64(MamaFieldDescriptor descriptor, ulong[] valueIfMissing) Get a vector of unsigned 64 bit integers. |
float[] | getVectorF32(string name, ushort fid) Get a vector of 32 bit floating point numbers. |
float[] | getVectorF32(MamaFieldDescriptor descriptor) Get a vector of 32 bit floating point numbers. |
float[] | getVectorF32(string name, ushort fid, float[] valueIfMissing) Get a vector of 32 bit floating point numbers. |
float[] | getVectorF32(MamaFieldDescriptor descriptor, float[] valueIfMissing) Get a vector of 32 bit floating point numbers. |
double[] | getVectorF64(string name, ushort fid) Get a vector of 64 bit floating point numbers. |
double[] | getVectorF64(MamaFieldDescriptor descriptor) Get a vector of 64 bit floating point numbers. |
double[] | getVectorF64(string name, ushort fid, double[] valueIfMissing) Get a vector of 64 bit floating point numbers. |
double[] | getVectorF64(MamaFieldDescriptor descriptor, double[] valueIfMissing) Get a vector of 64 bit floating point numbers. |
string[] | getVectorString(string name, ushort fid) Get a vector of strings (char*). |
string[] | getVectorString(MamaFieldDescriptor descriptor) Get a vector of strings (char*). |
string[] | getVectorString(string name, ushort fid, string[] valueIfMissing) Get a vector of strings (char*). |
string[] | getVectorString(MamaFieldDescriptor descriptor, string[] valueIfMissing) Get a vector of strings (char*). |
DateTime[] | getVectorDateTime(string name, ushort fid) Get a vector of timestamps. |
DateTime[] | getVectorDateTime(MamaFieldDescriptor descriptor) Get a vector of timestamps. |
DateTime[] | getVectorDateTime(string name, ushort fid, DateTime[] valueIfMissing) Get a vector of timestamps. |
DateTime[] | getVectorDateTime(MamaFieldDescriptor descriptor, DateTime[] valueIfMissing) Get a vector of timestamps. |
MamaPrice[] | getVectorPrice(string name, ushort fid) Get a vector of prices. |
MamaPrice[] | getVectorPrice(MamaFieldDescriptor descriptor) Get a vector of prices. |
MamaPrice[] | getVectorPrice(string name, ushort fid, MamaPrice[] valueIfMissing) Get a vector of prices. |
MamaPrice[] | getVectorPrice(MamaFieldDescriptor descriptor, MamaPrice[] valueIfMissing) Get a vector of prices. |
MamaMsg[] | getVectorMsg(string name, ushort fid) Get a vector of submessages. |
MamaMsg[] | getVectorMsg(MamaFieldDescriptor descriptor) Get a vector of submessages. |
MamaMsg[] | getVectorMsg(string name, ushort fid, MamaMsg[] valueIfMissing) Get a vector of submessages. |
MamaMsg[] | getVectorMsg(MamaFieldDescriptor descriptor, MamaMsg[] valueIfMissing) Get a vector of submessages. |
bool | tryBool(string name, ushort fid, ref bool result) Try to get a bool field. |
bool | tryBool(MamaFieldDescriptor descriptor, ref bool result) Try to get a bool field. |
bool | tryChar(string name, ushort fid, ref char result) Try to get a char field. |
bool | tryChar(MamaFieldDescriptor descriptor, ref char result) Try to get a char field. |
bool | tryI8(string name, ushort fid, ref sbyte result) Try to get a I8, signed 8 bit integer, field. |
bool | tryI8(MamaFieldDescriptor descriptor, ref sbyte result) Try to get a I8, signed 8 bit integer, field. |
bool | tryU8(string name, ushort fid, ref byte result) Try to get a I8, signed 8 bit integer, field. |
bool | tryU8(MamaFieldDescriptor descriptor, ref byte result) Try to get a I8, signed 8 bit integer, field. |
bool | tryI16(string name, ushort fid, ref short result) Try to get a I16, signed 16 bit integer, field. |
bool | tryI16(MamaFieldDescriptor descriptor, ref short result) Try to get a I16, signed 16 bit integer, field. |
bool | tryU16(string name, ushort fid, ref ushort result) Try to get a U16, unsigned 16 bit integer, field. |
bool | tryU16(MamaFieldDescriptor descriptor, ref ushort result) Try to get a U16, unsigned 16 bit integer, field. |
bool | tryU32(string name, ushort fid, ref uint result) Try to get a U32, unsigned 32 bit integer, field. |
bool | tryU32(MamaFieldDescriptor descriptor, ref uint result) Try to get a U32, unsigned 32 bit integer, field. |
bool | tryI32(string name, ushort fid, ref int result) Try to get a I32, signed 32 bit integer, field. |
bool | tryI32(MamaFieldDescriptor descriptor, ref int result) Try to get a I32, signed 32 bit integer, field. |
bool | tryI64(string name, ushort fid, ref long result) |
bool | tryI64(MamaFieldDescriptor descriptor, ref long result) |
bool | tryU64(string name, ushort fid, ref ulong result) Try to get a U64, unsigned 64 bit integer, field. |
bool | tryU64(MamaFieldDescriptor descriptor, ref ulong result) Try to get a U64, unsigned 64 bit integer, field. |
bool | tryF32(string name, ushort fid, ref float result) Try to get a float (f32) field. |
bool | tryF32(MamaFieldDescriptor descriptor, ref float result) Try to get a float (f32) field. |
bool | tryF64(string name, ushort fid, ref double result) Try to get a f64 field. |
bool | tryF64(MamaFieldDescriptor descriptor, ref double result) Try to get a f64 field. |
bool | tryString(string name, ushort fid, ref string result) Try to get a string field. |
bool | tryString(MamaFieldDescriptor descriptor, ref string result) Try to get a string field. |
bool | tryOpaque(string name, ushort fid, ref byte[] result) Try to get an opaque field. |
bool | tryOpaque(MamaFieldDescriptor descriptor, ref byte[] result) Try to get an opaque field. |
bool | tryDateTime(string name, ushort fid, ref DateTime result) |
bool | tryDateTime(MamaFieldDescriptor descriptor, ref DateTime result) |
bool | tryPrice(string name, ushort fid, ref MamaPrice result) Try to get a MAMA price field. |
bool | tryPrice(string name, ushort fid, MamaPrice result) |
bool | tryPrice(MamaFieldDescriptor descriptor, ref MamaPrice result) Try to get a MAMA price field. |
bool | tryMsg(string name, ushort fid, ref MamaMsg result) Try to get a submessage. |
bool | tryMsg(MamaFieldDescriptor descriptor, ref MamaMsg result) Try to get a submessage. |
bool | tryVectorBool(string name, ushort fid, ref bool[] result) Try to get a vector of booleans. |
bool | tryVectorBool(MamaFieldDescriptor descriptor, ref bool[] result) Try to get a vector of booleans. |
bool | tryVectorChar(string name, ushort fid, ref char[] result) Try to get a vector of chars. |
bool | tryVectorChar(MamaFieldDescriptor descriptor, ref char[] result) Try to get a vector of chars. |
bool | tryVectorI8(string name, ushort fid, ref sbyte[] result) Try to get a vector of signed 8 bit integers. |
bool | tryVectorI8(MamaFieldDescriptor descriptor, ref sbyte[] result) Try to get a vector of signed 8 bit integers. |
bool | tryVectorU8(string name, ushort fid, ref byte[] result) Try to get a vector of unsigned 8 bit integers. |
bool | tryVectorU8(MamaFieldDescriptor descriptor, ref byte[] result) Try to get a vector of unsigned 8 bit integers. |
bool | tryVectorI16(string name, ushort fid, ref short[] result) Try to get a vector of signed 16 bit integers. |
bool | tryVectorI16(MamaFieldDescriptor descriptor, ref short[] result) Try to get a vector of signed 16 bit integers. |
bool | tryVectorU16(string name, ushort fid, ref ushort[] result) Try to get a vector of unsigned 16 bit integers. |
bool | tryVectorU16(MamaFieldDescriptor descriptor, ref ushort[] result) Try to get a vector of unsigned 16 bit integers. |
bool | tryVectorI32(string name, ushort fid, ref int[] result) Try to get a vector of signed 32 bit integers. |
bool | tryVectorI32(MamaFieldDescriptor descriptor, ref int[] result) Try to get a vector of signed 32 bit integers. |
bool | tryVectorU32(string name, ushort fid, ref uint[] result) Try to get a vector of unsigned 32 bit integers. |
bool | tryVectorU32(MamaFieldDescriptor descriptor, ref uint[] result) Try to get a vector of unsigned 32 bit integers. |
bool | tryVectorI64(string name, ushort fid, ref long[] result) Try get a vector of signed 64 bit integers. |
bool | tryVectorI64(MamaFieldDescriptor descriptor, ref long[] result) Try get a vector of signed 64 bit integers. |
bool | tryVectorU64(string name, ushort fid, ref ulong[] result) Try to get a vector of unsigned 64 bit integers. |
bool | tryVectorU64(MamaFieldDescriptor descriptor, ref ulong[] result) Try to get a vector of unsigned 64 bit integers. |
bool | tryVectorF32(string name, ushort fid, ref float[] result) Try to get a vector of 32 bit floating point numbers. |
bool | tryVectorF32(MamaFieldDescriptor descriptor, ref float[] result) Try to get a vector of 32 bit floating point numbers. |
bool | tryVectorF64(string name, ushort fid, ref double[] result) Try to get a vector of 64 bit floating point numbers. |
bool | tryVectorF64(MamaFieldDescriptor descriptor, ref double[] result) Try to get a vector of 64 bit floating point numbers. |
bool | tryVectorString(MamaFieldDescriptor descriptor, ref string[] result) Try to get a vector of strings (char*). |
bool | tryVectorDateTime(string name, ushort fid, ref DateTime[] result) Try to get a vector of timestamps. |
bool | tryVectorDateTime(MamaFieldDescriptor descriptor, ref DateTime[] result) Try to get a vector of timestamps. |
bool | tryVectorPrice(MamaFieldDescriptor descriptor, ref MamaPrice[] result) Try to get a vector of prices. |
bool | tryVectorMsg(string name, ushort fid, ref MamaMsg[] result) |
bool | tryVectorMsg(MamaFieldDescriptor descriptor, ref MamaMsg[] result) |
bool | tryField(string name, ushort fid, ref MamaMsgField result) Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object. |
bool | tryField(MamaFieldDescriptor descriptor, ref MamaMsgField result) Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object. |
bool | tryI32(string name, ushort fid, ref NullableInt result) |
bool | tryI32(MamaFieldDescriptor descriptor, ref NullableInt result) |
bool | tryI64(string name, ushort fid, ref NullableLong result) |
bool | tryI64(MamaFieldDescriptor descriptor, ref NullableLong result) |
int | getNumFields() Returns the total number of fields in the message. Sub-messages count as a single field. |
override string | ToString() Return a string representation the message. |
string | ToJsonString() Return a json string representation the message. |
string | ToJsonString(MamaDictionary dictionary) Return a json string representation the message. |
string | ToNormalizedString() Return a normalized string representation the message. |
int | getEntitleCode() Get the entitle code for this message. The result defaults to 0 (no entitlement) if the field is not present. |
uint | getSeqNum() Return the sequence |
mamaMsgType | typeForMsg() Extract the type from the supplied message. |
string | stringForMsg() Return the string for this message |
string | stringForType(mamaMsgType type) Return the type name. |
string | stringForStatus(mamaMsgStatus type) Return the status string |
string | getFieldAsString(string name, ushort fid) Return the field value as string |
void | begin(ref MamaMsgIterator iterator) |
void | end(ref MamaMsgIterator iterator) |
void | addVectorString(string name, ushort fid, string[] val) Add an array of strings (char*) to the message. |
void | addVectorPrice(string name, ushort fid, MamaPrice[] val) Add an array of prices to the message. |
void | addVectorMsg(string name, ushort fid, MamaMsg[] val) Add an array of nativeHandle objects to the message. |
void | updateVectorString(string name, ushort fid, string[] val) Update an array of strings (char*). |
void | updateVectorPrice(string name, ushort fid, MamaPrice[] val) Update an array of prices. |
void | updateVectorMsg(string name, ushort fid, MamaMsg[] val) Update an array of nativeHandle objects. |
bool | tryVectorString(string name, ushort fid, ref string[] result) Try to get a vector of strings (char*). |
bool | tryVectorPrice(string name, ushort fid, ref MamaPrice[] result) Try to get a vector of prices. |
Name | |
---|---|
virtual override void | OnDispose() |
virtual override MamaStatus.mamaStatus | DestroyNativePeer() |
Name | |
---|---|
bool | isFromInbox |
Public Functions inherited from Wombat.MamaWrapper
Name | |
---|---|
void | Dispose() Destroys the underlying peer object and unbinds the wrapper from it. |
void | setNativeHandle(IntPtr nHandle) Sets the native handle of the native peer object. Should only be used by subclasses and in the same assembly. |
Protected Functions inherited from Wombat.MamaWrapper
Name | |
---|---|
MamaWrapper() Constructs a new wrapper object but doesn’t create it. If the object is not explicitly disposed it will remain registered for finalization and will attempt the destroy the native peer object when finalized. |
|
MamaWrapper(IntPtr nativeHandle) Constructs a managed wrapper from an existing native peer. The peer object will not be automatically finalized |
|
virtual void | Dispose(bool disposing, bool destroyNativeHandle =true) The actual implementation of Dispose - called by both the Dispose method and the finalizer. |
Protected Attributes inherited from Wombat.MamaWrapper
Name | |
---|---|
IntPtr | nativeHandle the handle to the native peer object |
MamaMsg()
Create a msg using the default payload.
MamaMsg(
mamaPayloadType payloadId
)
NOTE: This function has been deprecated in line with the deprecation of the mamaPayloadType enum. Create a msg using the payload specified. The payload ID to create the message for
MamaMsg(
char payloadId
)
Create a msg using the payload specified. Char identifying the payload to create the msg for
MamaMsg(
MamaPayloadBridge payloadBridge
)
Create a msg using the payload bridge specified.
Parameters:
MamaMsg(
MamaMsg mamaMsgSrc
)
Create a deep copy of a message.
void getByteBuffer(
ref byte[] byteBuffer,
ref int size
)
void createFromBuffer(
byte[] byteBuffer,
int size
)
void createForBridgeFromBuffer(
byte[] byteBuffer,
int size,
MamaBridge bridgeImpl
)
MamaMsg detach()
mamaMsgType getType()
Extract the type
Return:
mamaMsgStatus getStatus()
Return the status
Return:
summary> Return the payload type /summary>
mamaPayloadType getPayloadType()
void iterateFields(
MamaMsgFieldIterator iterator,
MamaDictionary dictionary,
object closure
)
Invoke the specified callback for each field in the message.
Parameters:
void clear()
Clear a msg. All fields are removed.
void destroy()
Destroy a message and free any resources associated with it.
int getByteSize()
Get the size of the underlying message in bytes. Only works for tibrvMsg and wombatmsg types.
void addBool(
string name,
ushort fid,
bool val
)
Add a new bool field.
void addChar(
string name,
ushort fid,
char val
)
Add a new char field.
void addI8(
string name,
ushort fid,
sbyte val
)
Add a new 8 bit signed int field.
void addU8(
string name,
ushort fid,
byte val
)
Add a new 8 bit unsigned int field.
void addI16(
string name,
ushort fid,
short val
)
Add a new 16 bit signed int field.
void addU16(
string name,
ushort fid,
ushort val
)
Add a new 16 bit unsigned int field.
void addI32(
string name,
ushort fid,
int val
)
Add a new 32 bit unsigned int field.
void addU32(
string name,
ushort fid,
uint val
)
Add a new 32 bit signed int field.
void addI64(
string name,
ushort fid,
long val
)
Add a new I64 field.
void addU64(
string name,
ushort fid,
ulong val
)
Add a new U64 field.
void addF32(
string name,
ushort fid,
float val
)
Add a new float (f32) field.
void addF64(
string name,
ushort fid,
double val
)
Add a new f64 field.
void addString(
string name,
ushort fid,
string val
)
Add a string field.
void addOpaque(
string name,
ushort fid,
byte[] val
)
Add an opaque field.
void addDateTime(
string name,
ushort fid,
DateTime val
)
Add a MAMA date/time field.
void addPrice(
string name,
ushort fid,
MamaPrice val
)
Add a MAMA price field.
void addMsg(
string name,
ushort fid,
MamaMsg val
)
Add a MamaMsg to the msg
void addVectorBool(
string name,
ushort fid,
bool[] val
)
Add an array of booleans to the message.
void addVectorChar(
string name,
ushort fid,
char[] val
)
Add an array of characters to the message.
void addVectorI8(
string name,
ushort fid,
sbyte[] val
)
Add an array of signed 8 bit integers to the message.
void addVectorU8(
string name,
ushort fid,
byte[] val
)
Add an array of unsigned 8 bit integers to the message.
void addVectorI16(
string name,
ushort fid,
short[] val
)
Add an array of signed 16 bit integers to the message.
void addVectorU16(
string name,
ushort fid,
ushort[] val
)
Add an array of unsigned 16 bit integers to the message.
void addVectorI32(
string name,
ushort fid,
int[] val
)
Add an array of signed 32 bit integers to the message.
void addVectorU32(
string name,
ushort fid,
uint[] val
)
Add an array of unsigned 32 bit integers to the message.
void addVectorI64(
string name,
ushort fid,
long[] val
)
Add an array of signed 64 bit integers to the message.
void addVectorU64(
string name,
ushort fid,
ulong[] val
)
Add an array of unsigned 64 bit integers to the message.
void addVectorF32(
string name,
ushort fid,
float[] val
)
Add an array of 32 bit floating point numbers to the message.
void addVectorF64(
string name,
ushort fid,
double[] val
)
Add an array of 64 bit floating point numbers to the message.
void addVectorDateTime(
string name,
ushort fid,
DateTime[] val
)
Add an array of timestamps to the message.
void updateBool(
string name,
ushort fid,
bool val
)
Update the value of an existing bool field. If the field does not exist it is added.
void updateChar(
string name,
ushort fid,
char val
)
Update the value of an existing char field. If the field does not exist it is added.
void updateI8(
string name,
ushort fid,
sbyte val
)
Update the value of an existing I8 field. If the field does not exist it is added.
void updateU8(
string name,
ushort fid,
byte val
)
Update the value of an existing U8 field. If the field does not exist it is added.
void updateI16(
string name,
ushort fid,
short val
)
Update the value of an existing I16 field. If the field does not exist it is added.
void updateU16(
string name,
ushort fid,
ushort val
)
Update the value of an existing U16 field. If the field does not exist it is added.
void updateI32(
string name,
ushort fid,
int val
)
Update the value of an existing I32 field. If the field does not exist it is added.
void updateU32(
string name,
ushort fid,
uint val
)
Update the value of an existing U32 field. If the field does not exist it is added.
void updateI64(
string name,
ushort fid,
long val
)
Update the value of an existing I64 field. If the field does not exist it is added.
void updateU64(
string name,
ushort fid,
ulong val
)
Update the value of an existing U64 field. If the field does not exist it is added.
void updateF32(
string name,
ushort fid,
float val
)
Update the value of an existing float field. If the field does not exist it is added.
void updateF64(
string name,
ushort fid,
double val
)
Update the value of an existing f64 field. If the field does not exist it is added.
void updateString(
string name,
ushort fid,
string val
)
Update the value of an existing string field. If the field does not exist it is added.
void updateOpaque(
string name,
ushort fid,
byte[] val
)
Update an opaque field.
void updateDateTime(
string name,
ushort fid,
DateTime val
)
Update a MAMA date/time field.
void updatePrice(
string name,
ushort fid,
MamaPrice val
)
Update a MAMA price field.
void updateVectorBool(
string name,
ushort fid,
bool[] val
)
Update an array of booleans.
void updateVectorChar(
string name,
ushort fid,
char[] val
)
Update an array of characters.
void updateVectorI8(
string name,
ushort fid,
sbyte[] val
)
Update an array of signed 8 bit integers.
void updateVectorU8(
string name,
ushort fid,
byte[] val
)
Update an array of unsigned 8 bit integers.
void updateVectorI16(
string name,
ushort fid,
short[] val
)
Update an array of signed 16 bit integers.
void updateVectorU16(
string name,
ushort fid,
ushort[] val
)
Update an array of unsigned 16 bit integers.
void updateVectorI32(
string name,
ushort fid,
int[] val
)
Update an array of signed 32 bit integers.
void updateVectorU32(
string name,
ushort fid,
uint[] val
)
Update an array of unsigned 32 bit integers.
void updateVectorI64(
string name,
ushort fid,
long[] val
)
Update an array of signed 64 bit integers.
void updateVectorU64(
string name,
ushort fid,
ulong[] val
)
Update an array of unsigned 64 bit integers.
void updateVectorF32(
string name,
ushort fid,
float[] val
)
Update an array of 32 bit floating point numbers.
void updateVectorF64(
string name,
ushort fid,
double[] val
)
Update an array of 64 bit floating point numbers.
void updateVectorDateTime(
string name,
ushort fid,
DateTime[] val
)
Update an array of timestamps.
bool getBool(
string name,
ushort fid
)
Get a bool field.
bool getBool(
MamaFieldDescriptor descriptor
)
Get a bool field.
bool getBool(
string name,
ushort fid,
bool valueIfMissing
)
Get a bool field.
bool getBool(
MamaFieldDescriptor descriptor,
bool valueIfMissing
)
Get a bool field.
char getChar(
string name,
ushort fid
)
Get a char field.
char getChar(
MamaFieldDescriptor descriptor
)
Get a char field.
char getChar(
string name,
ushort fid,
char valueIfMissing
)
Get a char field.
char getChar(
MamaFieldDescriptor descriptor,
char valueIfMissing
)
Get a char field.
sbyte getI8(
string name,
ushort fid
)
Get a I8, signed 8 bit integer, field.
sbyte getI8(
MamaFieldDescriptor descriptor
)
Get a I8, signed 8 bit integer, field.
sbyte getI8(
string name,
ushort fid,
sbyte valueIfMissing
)
Get a I8, signed 8 bit integer, field.
sbyte getI8(
MamaFieldDescriptor descriptor,
sbyte valueIfMissing
)
Get a I8, signed 8 bit integer, field.
byte getU8(
string name,
ushort fid
)
Get a U8, unsigned 8 bit integer, field.
byte getU8(
MamaFieldDescriptor descriptor
)
Get a U8, unsigned 8 bit integer, field.
byte getU8(
string name,
ushort fid,
byte valueIfMissing
)
Get a U8, unsigned 8 bit integer, field.
byte getU8(
MamaFieldDescriptor descriptor,
byte valueIfMissing
)
Get a U8, unsigned 8 bit integer, field.
short getI16(
string name,
ushort fid
)
Get a I16, signed 16 bit integer, field.
short getI16(
MamaFieldDescriptor descriptor
)
Get a I16, signed 16 bit integer, field.
short getI16(
string name,
ushort fid,
short valueIfMissing
)
Get a I16, signed 16 bit integer, field.
short getI16(
MamaFieldDescriptor descriptor,
short valueIfMissing
)
Get a I16, signed 16 bit integer, field.
ushort getU16(
string name,
ushort fid
)
Get a U16, unsigned 16 bit integer, field.
ushort getU16(
MamaFieldDescriptor descriptor
)
Get a U16, unsigned 16 bit integer, field.
ushort getU16(
string name,
ushort fid,
ushort valueIfMissing
)
Get a U16, unsigned 16 bit integer, field.
ushort getU16(
MamaFieldDescriptor descriptor,
ushort valueIfMissing
)
Get a U16, unsigned 16 bit integer, field.
int getI32(
string name,
ushort fid
)
Get a I32, signed 32 bit integer, field.
int getI32(
MamaFieldDescriptor descriptor
)
Get a I32, signed 32 bit integer, field.
int getI32(
string name,
ushort fid,
int valueIfMissing
)
Get a I32, signed 32 bit integer, field.
int getI32(
MamaFieldDescriptor descriptor,
int valueIfMissing
)
Get a I32, signed 32 bit integer, field.
uint getU32(
string name,
ushort fid
)
Get a U32, unsigned 32 bit integer, field.
uint getU32(
MamaFieldDescriptor descriptor
)
Get a U32, unsigned 32 bit integer, field.
uint getU32(
string name,
ushort fid,
uint valueIfMissing
)
Get a U32, unsigned 32 bit integer, field.
uint getU32(
MamaFieldDescriptor descriptor,
uint valueIfMissing
)
Get a U32, unsigned 32 bit integer, field.
long getI64(
string name,
ushort fid
)
Get a I64, signed 64 bit integer, field.
long getI64(
MamaFieldDescriptor descriptor
)
Get a I64, signed 64 bit integer, field.
long getI64(
string name,
ushort fid,
long valueIfMissing
)
Get a I64, signed 64 bit integer, field.
long getI64(
MamaFieldDescriptor descriptor,
long valueIfMissing
)
Get a I64, signed 64 bit integer, field.
ulong getU64(
string name,
ushort fid
)
Get a U64, unsigned 64 bit integer, field.
ulong getU64(
MamaFieldDescriptor descriptor
)
Get a U64, unsigned 64 bit integer, field.
ulong getU64(
string name,
ushort fid,
ulong valueIfMissing
)
Get a U64, unsigned 64 bit integer, field.
ulong getU64(
MamaFieldDescriptor descriptor,
ulong valueIfMissing
)
Get a U64, unsigned 64 bit integer, field.
float getF32(
string name,
ushort fid
)
Get a float (f32) field.
float getF32(
MamaFieldDescriptor descriptor
)
Get a float (f32) field.
float getF32(
string name,
ushort fid,
float valueIfMissing
)
Get a float (f32) field.
float getF32(
MamaFieldDescriptor descriptor,
float valueIfMissing
)
Get a float (f32) field.
double getF64(
string name,
ushort fid
)
Get a F64 field.
double getF64(
MamaFieldDescriptor descriptor
)
Get a F64 field.
double getF64(
string name,
ushort fid,
double valueIfMissing
)
Get a F64 field.
double getF64(
MamaFieldDescriptor descriptor,
double valueIfMissing
)
Get a F64 field.
string getString(
string name,
ushort fid
)
Get a string field.
bool tryStringAnsi(
string name,
ushort fid,
ref IntPtr result
)
bool tryStringAnsi(
MamaFieldDescriptor descriptor,
ref IntPtr result
)
string getString(
MamaFieldDescriptor descriptor
)
Get a string field.
string getString(
string name,
ushort fid,
string valueIfMissing
)
Get a string field.
string getString(
MamaFieldDescriptor descriptor,
string valueIfMissing
)
Get a string field.
byte[] getOpaque(
string name,
ushort fid
)
Get an opaque field.
byte[] getOpaque(
MamaFieldDescriptor descriptor
)
Get a opaque field.
byte[] getOpaque(
string name,
ushort fid,
byte[] valueIfMissing
)
Get a opaque field.
byte[] getOpaque(
MamaFieldDescriptor descriptor,
byte[] valueIfMissing
)
Get a opaque field.
DateTime getDateTime(
string name,
ushort fid
)
Get a MAMA date/time field.
DateTime getDateTime(
MamaFieldDescriptor descriptor
)
Get a MAMA date/time field.
DateTime getDateTime(
string name,
ushort fid,
DateTime valueIfMissing
)
Get a MAMA date/time field.
DateTime getDateTime(
MamaFieldDescriptor descriptor,
DateTime valueIfMissing
)
Get a MAMA date/time field.
MamaPrice getPrice(
string name,
ushort fid
)
Get a MAMA price field.
MamaPrice getPrice(
MamaFieldDescriptor descriptor
)
Get a MAMA price field.
MamaPrice getPrice(
string name,
ushort fid,
MamaPrice valueIfMissing
)
Get a MAMA price field.
MamaPrice getPrice(
MamaFieldDescriptor descriptor,
MamaPrice valueIfMissing
)
Get a MAMA price field.
MamaMsg getMsg(
string name,
ushort fid
)
Get a submessage.
MamaMsg getMsg(
MamaFieldDescriptor descriptor
)
Get a submessage.
MamaMsg getMsg(
string name,
ushort fid,
MamaMsg valueIfMissing
)
Get a submessage.
Parameters:
Return:
MamaMsg getMsg(
MamaFieldDescriptor descriptor,
MamaMsg valueIfMissing
)
Get a submessage.
Parameters:
Return:
MamaMsgField getField(
string name,
ushort fid
)
Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
MamaMsgField getField(
MamaFieldDescriptor descriptor
)
Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
MamaMsgField getField(
string name,
ushort fid,
MamaMsgField valueIfMissing
)
Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
MamaMsgField getField(
MamaFieldDescriptor descriptor,
MamaMsgField valueIfMissing
)
Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
bool[] getVectorBool(
string name,
ushort fid
)
Get a vector of booleans.
bool[] getVectorBool(
MamaFieldDescriptor descriptor
)
Get a vector of booleans.
bool[] getVectorBool(
string name,
ushort fid,
bool[] valueIfMissing
)
Get a vector of booleans.
bool[] getVectorBool(
MamaFieldDescriptor descriptor,
bool[] valueIfMissing
)
Get a vector of booleans.
char[] getVectorChar(
string name,
ushort fid
)
Get a vector of chars.
char[] getVectorChar(
MamaFieldDescriptor descriptor
)
Get a vector of chars.
char[] getVectorChar(
string name,
ushort fid,
char[] valueIfMissing
)
Get a vector of chars.
char[] getVectorChar(
MamaFieldDescriptor descriptor,
char[] valueIfMissing
)
Get a vector of chars.
sbyte[] getVectorI8(
string name,
ushort fid
)
Get a vector of signed 8 bit integers.
sbyte[] getVectorI8(
MamaFieldDescriptor descriptor
)
Get a vector of signed 8 bit integers.
sbyte[] getVectorI8(
string name,
ushort fid,
sbyte[] valueIfMissing
)
Get a vector of signed 8 bit integers.
sbyte[] getVectorI8(
MamaFieldDescriptor descriptor,
sbyte[] valueIfMissing
)
Get a vector of signed 8 bit integers.
byte[] getVectorU8(
string name,
ushort fid
)
Get a vector of unsigned 8 bit integers.
byte[] getVectorU8(
MamaFieldDescriptor descriptor
)
Get a vector of unsigned 8 bit integers.
byte[] getVectorU8(
string name,
ushort fid,
byte[] valueIfMissing
)
Get a vector of unsigned 8 bit integers.
byte[] getVectorU8(
MamaFieldDescriptor descriptor,
byte[] valueIfMissing
)
Get a vector of unsigned 8 bit integers.
short[] getVectorI16(
string name,
ushort fid
)
Get a vector of signed 16 bit integers.
short[] getVectorI16(
MamaFieldDescriptor descriptor
)
Get a vector of signed 16 bit integers.
short[] getVectorI16(
string name,
ushort fid,
short[] valueIfMissing
)
Get a vector of signed 16 bit integers.
short[] getVectorI16(
MamaFieldDescriptor descriptor,
short[] valueIfMissing
)
Get a vector of signed 16 bit integers.
ushort[] getVectorU16(
string name,
ushort fid
)
Get a vector of unsigned 16 bit integers.
ushort[] getVectorU16(
MamaFieldDescriptor descriptor
)
Get a vector of unsigned 16 bit integers.
ushort[] getVectorU16(
string name,
ushort fid,
ushort[] valueIfMissing
)
Get a vector of unsigned 16 bit integers.
ushort[] getVectorU16(
MamaFieldDescriptor descriptor,
ushort[] valueIfMissing
)
Get a vector of unsigned 16 bit integers.
int[] getVectorI32(
string name,
ushort fid
)
Get a vector of signed 32 bit integers.
int[] getVectorI32(
MamaFieldDescriptor descriptor
)
Get a vector of signed 32 bit integers.
int[] getVectorI32(
string name,
ushort fid,
int[] valueIfMissing
)
Get a vector of signed 32 bit integers.
int[] getVectorI32(
MamaFieldDescriptor descriptor,
int[] valueIfMissing
)
Get a vector of signed 32 bit integers.
uint[] getVectorU32(
string name,
ushort fid
)
Get a vector of unsigned 32 bit integers.
uint[] getVectorU32(
MamaFieldDescriptor descriptor
)
Get a vector of unsigned 32 bit integers.
uint[] getVectorU32(
string name,
ushort fid,
uint[] valueIfMissing
)
Get a vector of unsigned 32 bit integers.
uint[] getVectorU32(
MamaFieldDescriptor descriptor,
uint[] valueIfMissing
)
Get a vector of unsigned 32 bit integers.
long[] getVectorI64(
string name,
ushort fid
)
Get a vector of signed 64 bit integers.
long[] getVectorI64(
MamaFieldDescriptor descriptor
)
Get a vector of signed 64 bit integers.
long[] getVectorI64(
string name,
ushort fid,
long[] valueIfMissing
)
Get a vector of signed 64 bit integers.
long[] getVectorI64(
MamaFieldDescriptor descriptor,
long[] valueIfMissing
)
Get a vector of signed 64 bit integers.
ulong[] getVectorU64(
string name,
ushort fid
)
Get a vector of unsigned 64 bit integers.
ulong[] getVectorU64(
MamaFieldDescriptor descriptor
)
Get a vector of unsigned 64 bit integers.
ulong[] getVectorU64(
string name,
ushort fid,
ulong[] valueIfMissing
)
Get a vector of unsigned 64 bit integers.
ulong[] getVectorU64(
MamaFieldDescriptor descriptor,
ulong[] valueIfMissing
)
Get a vector of unsigned 64 bit integers.
float[] getVectorF32(
string name,
ushort fid
)
Get a vector of 32 bit floating point numbers.
float[] getVectorF32(
MamaFieldDescriptor descriptor
)
Get a vector of 32 bit floating point numbers.
float[] getVectorF32(
string name,
ushort fid,
float[] valueIfMissing
)
Get a vector of 32 bit floating point numbers.
float[] getVectorF32(
MamaFieldDescriptor descriptor,
float[] valueIfMissing
)
Get a vector of 32 bit floating point numbers.
double[] getVectorF64(
string name,
ushort fid
)
Get a vector of 64 bit floating point numbers.
double[] getVectorF64(
MamaFieldDescriptor descriptor
)
Get a vector of 64 bit floating point numbers.
double[] getVectorF64(
string name,
ushort fid,
double[] valueIfMissing
)
Get a vector of 64 bit floating point numbers.
double[] getVectorF64(
MamaFieldDescriptor descriptor,
double[] valueIfMissing
)
Get a vector of 64 bit floating point numbers.
string[] getVectorString(
string name,
ushort fid
)
Get a vector of strings (char*).
Parameters:
Exceptions:
string[] getVectorString(
MamaFieldDescriptor descriptor
)
Get a vector of strings (char*).
string[] getVectorString(
string name,
ushort fid,
string[] valueIfMissing
)
Get a vector of strings (char*).
string[] getVectorString(
MamaFieldDescriptor descriptor,
string[] valueIfMissing
)
Get a vector of strings (char*).
DateTime[] getVectorDateTime(
string name,
ushort fid
)
Get a vector of timestamps.
DateTime[] getVectorDateTime(
MamaFieldDescriptor descriptor
)
Get a vector of timestamps.
DateTime[] getVectorDateTime(
string name,
ushort fid,
DateTime[] valueIfMissing
)
Get a vector of timestamps.
DateTime[] getVectorDateTime(
MamaFieldDescriptor descriptor,
DateTime[] valueIfMissing
)
Get a vector of timestamps.
MamaPrice[] getVectorPrice(
string name,
ushort fid
)
Get a vector of prices.
MamaPrice[] getVectorPrice(
MamaFieldDescriptor descriptor
)
Get a vector of prices.
MamaPrice[] getVectorPrice(
string name,
ushort fid,
MamaPrice[] valueIfMissing
)
Get a vector of prices.
MamaPrice[] getVectorPrice(
MamaFieldDescriptor descriptor,
MamaPrice[] valueIfMissing
)
Get a vector of prices.
MamaMsg[] getVectorMsg(
string name,
ushort fid
)
Get a vector of submessages.
MamaMsg[] getVectorMsg(
MamaFieldDescriptor descriptor
)
Get a vector of submessages.
MamaMsg[] getVectorMsg(
string name,
ushort fid,
MamaMsg[] valueIfMissing
)
Get a vector of submessages.
Parameters:
Return:
MamaMsg[] getVectorMsg(
MamaFieldDescriptor descriptor,
MamaMsg[] valueIfMissing
)
Get a vector of submessages.
Parameters:
Return:
bool tryBool(
string name,
ushort fid,
ref bool result
)
Try to get a bool field.
bool tryBool(
MamaFieldDescriptor descriptor,
ref bool result
)
Try to get a bool field.
bool tryChar(
string name,
ushort fid,
ref char result
)
Try to get a char field.
bool tryChar(
MamaFieldDescriptor descriptor,
ref char result
)
Try to get a char field.
bool tryI8(
string name,
ushort fid,
ref sbyte result
)
Try to get a I8, signed 8 bit integer, field.
bool tryI8(
MamaFieldDescriptor descriptor,
ref sbyte result
)
Try to get a I8, signed 8 bit integer, field.
bool tryU8(
string name,
ushort fid,
ref byte result
)
Try to get a I8, signed 8 bit integer, field.
bool tryU8(
MamaFieldDescriptor descriptor,
ref byte result
)
Try to get a I8, signed 8 bit integer, field.
bool tryI16(
string name,
ushort fid,
ref short result
)
Try to get a I16, signed 16 bit integer, field.
bool tryI16(
MamaFieldDescriptor descriptor,
ref short result
)
Try to get a I16, signed 16 bit integer, field.
bool tryU16(
string name,
ushort fid,
ref ushort result
)
Try to get a U16, unsigned 16 bit integer, field.
bool tryU16(
MamaFieldDescriptor descriptor,
ref ushort result
)
Try to get a U16, unsigned 16 bit integer, field.
bool tryU32(
string name,
ushort fid,
ref uint result
)
Try to get a U32, unsigned 32 bit integer, field.
bool tryU32(
MamaFieldDescriptor descriptor,
ref uint result
)
Try to get a U32, unsigned 32 bit integer, field.
bool tryI32(
string name,
ushort fid,
ref int result
)
Try to get a I32, signed 32 bit integer, field.
Parameters:
Return:
bool tryI32(
MamaFieldDescriptor descriptor,
ref int result
)
Try to get a I32, signed 32 bit integer, field.
Parameters:
Return:
bool tryI64(
string name,
ushort fid,
ref long result
)
bool tryI64(
MamaFieldDescriptor descriptor,
ref long result
)
bool tryU64(
string name,
ushort fid,
ref ulong result
)
Try to get a U64, unsigned 64 bit integer, field.
bool tryU64(
MamaFieldDescriptor descriptor,
ref ulong result
)
Try to get a U64, unsigned 64 bit integer, field.
bool tryF32(
string name,
ushort fid,
ref float result
)
Try to get a float (f32) field.
bool tryF32(
MamaFieldDescriptor descriptor,
ref float result
)
Try to get a float (f32) field.
bool tryF64(
string name,
ushort fid,
ref double result
)
Try to get a f64 field.
bool tryF64(
MamaFieldDescriptor descriptor,
ref double result
)
Try to get a f64 field.
bool tryString(
string name,
ushort fid,
ref string result
)
Try to get a string field.
bool tryString(
MamaFieldDescriptor descriptor,
ref string result
)
Try to get a string field.
bool tryOpaque(
string name,
ushort fid,
ref byte[] result
)
Try to get an opaque field.
bool tryOpaque(
MamaFieldDescriptor descriptor,
ref byte[] result
)
Try to get an opaque field.
bool tryDateTime(
string name,
ushort fid,
ref DateTime result
)
bool tryDateTime(
MamaFieldDescriptor descriptor,
ref DateTime result
)
bool tryPrice(
string name,
ushort fid,
ref MamaPrice result
)
Try to get a MAMA price field.
bool tryPrice(
string name,
ushort fid,
MamaPrice result
)
Try to get a MAMA price field.
bool tryPrice(
MamaFieldDescriptor descriptor,
ref MamaPrice result
)
Try to get a MAMA price field.
bool tryMsg(
string name,
ushort fid,
ref MamaMsg result
)
Try to get a submessage.
bool tryMsg(
MamaFieldDescriptor descriptor,
ref MamaMsg result
)
Try to get a submessage.
bool tryVectorBool(
string name,
ushort fid,
ref bool[] result
)
Try to get a vector of booleans.
bool tryVectorBool(
MamaFieldDescriptor descriptor,
ref bool[] result
)
Try to get a vector of booleans.
bool tryVectorChar(
string name,
ushort fid,
ref char[] result
)
Try to get a vector of chars.
bool tryVectorChar(
MamaFieldDescriptor descriptor,
ref char[] result
)
Try to get a vector of chars.
bool tryVectorI8(
string name,
ushort fid,
ref sbyte[] result
)
Try to get a vector of signed 8 bit integers.
bool tryVectorI8(
MamaFieldDescriptor descriptor,
ref sbyte[] result
)
Try to get a vector of signed 8 bit integers.
bool tryVectorU8(
string name,
ushort fid,
ref byte[] result
)
Try to get a vector of unsigned 8 bit integers.
bool tryVectorU8(
MamaFieldDescriptor descriptor,
ref byte[] result
)
Try to get a vector of unsigned 8 bit integers.
bool tryVectorI16(
string name,
ushort fid,
ref short[] result
)
Try to get a vector of signed 16 bit integers.
bool tryVectorI16(
MamaFieldDescriptor descriptor,
ref short[] result
)
Try to get a vector of signed 16 bit integers.
bool tryVectorU16(
string name,
ushort fid,
ref ushort[] result
)
Try to get a vector of unsigned 16 bit integers.
bool tryVectorU16(
MamaFieldDescriptor descriptor,
ref ushort[] result
)
Try to get a vector of unsigned 16 bit integers.
bool tryVectorI32(
string name,
ushort fid,
ref int[] result
)
Try to get a vector of signed 32 bit integers.
bool tryVectorI32(
MamaFieldDescriptor descriptor,
ref int[] result
)
Try to get a vector of signed 32 bit integers.
bool tryVectorU32(
string name,
ushort fid,
ref uint[] result
)
Try to get a vector of unsigned 32 bit integers.
bool tryVectorU32(
MamaFieldDescriptor descriptor,
ref uint[] result
)
Try to get a vector of unsigned 32 bit integers.
bool tryVectorI64(
string name,
ushort fid,
ref long[] result
)
Try get a vector of signed 64 bit integers.
bool tryVectorI64(
MamaFieldDescriptor descriptor,
ref long[] result
)
Try get a vector of signed 64 bit integers.
bool tryVectorU64(
string name,
ushort fid,
ref ulong[] result
)
Try to get a vector of unsigned 64 bit integers.
bool tryVectorU64(
MamaFieldDescriptor descriptor,
ref ulong[] result
)
Try to get a vector of unsigned 64 bit integers.
bool tryVectorF32(
string name,
ushort fid,
ref float[] result
)
Try to get a vector of 32 bit floating point numbers.
bool tryVectorF32(
MamaFieldDescriptor descriptor,
ref float[] result
)
Try to get a vector of 32 bit floating point numbers.
bool tryVectorF64(
string name,
ushort fid,
ref double[] result
)
Try to get a vector of 64 bit floating point numbers.
bool tryVectorF64(
MamaFieldDescriptor descriptor,
ref double[] result
)
Try to get a vector of 64 bit floating point numbers.
bool tryVectorString(
MamaFieldDescriptor descriptor,
ref string[] result
)
Try to get a vector of strings (char*).
bool tryVectorDateTime(
string name,
ushort fid,
ref DateTime[] result
)
Try to get a vector of timestamps.
bool tryVectorDateTime(
MamaFieldDescriptor descriptor,
ref DateTime[] result
)
Try to get a vector of timestamps.
bool tryVectorPrice(
MamaFieldDescriptor descriptor,
ref MamaPrice[] result
)
Try to get a vector of prices.
bool tryVectorMsg(
string name,
ushort fid,
ref MamaMsg[] result
)
bool tryVectorMsg(
MamaFieldDescriptor descriptor,
ref MamaMsg[] result
)
bool tryField(
string name,
ushort fid,
ref MamaMsgField result
)
Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
bool tryField(
MamaFieldDescriptor descriptor,
ref MamaMsgField result
)
Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
bool tryI32(
string name,
ushort fid,
ref NullableInt result
)
bool tryI32(
MamaFieldDescriptor descriptor,
ref NullableInt result
)
bool tryI64(
string name,
ushort fid,
ref NullableLong result
)
bool tryI64(
MamaFieldDescriptor descriptor,
ref NullableLong result
)
int getNumFields()
Returns the total number of fields in the message. Sub-messages count as a single field.
override string ToString()
Return a string representation the message.
string ToJsonString()
Return a json string representation the message.
string ToJsonString(
MamaDictionary dictionary
)
Return a json string representation the message.
string ToNormalizedString()
Return a normalized string representation the message.
int getEntitleCode()
Get the entitle code for this message. The result defaults to 0 (no entitlement) if the field is not present.
uint getSeqNum()
Return the sequence
Return:
mamaMsgType typeForMsg()
Extract the type from the supplied message.
string stringForMsg()
Return the string for this message
string stringForType(
mamaMsgType type
)
Return the type name.
string stringForStatus(
mamaMsgStatus type
)
Return the status string
string getFieldAsString(
string name,
ushort fid
)
Return the field value as string
void begin(
ref MamaMsgIterator iterator
)
void end(
ref MamaMsgIterator iterator
)
void addVectorString(
string name,
ushort fid,
string[] val
)
Add an array of strings (char*) to the message.
Parameters:
Exceptions:
void addVectorPrice(
string name,
ushort fid,
MamaPrice[] val
)
Add an array of prices to the message.
Parameters:
Exceptions:
void addVectorMsg(
string name,
ushort fid,
MamaMsg[] val
)
Add an array of nativeHandle objects to the message.
Parameters:
Exceptions:
void updateVectorString(
string name,
ushort fid,
string[] val
)
Update an array of strings (char*).
Parameters:
Exceptions:
void updateVectorPrice(
string name,
ushort fid,
MamaPrice[] val
)
Update an array of prices.
Parameters:
Exceptions:
void updateVectorMsg(
string name,
ushort fid,
MamaMsg[] val
)
Update an array of nativeHandle objects.
Parameters:
Exceptions:
bool tryVectorString(
string name,
ushort fid,
ref string[] result
)
Try to get a vector of strings (char*).
Parameters:
Return: false if the field could not be found. Note that true is returned if an empty array is returned.
bool tryVectorPrice(
string name,
ushort fid,
ref MamaPrice[] result
)
Try to get a vector of prices.
Parameters:
Return: false if the field could not be found. Note that true is returned if an empty array is returned.
virtual override void OnDispose()
Reimplements: Wombat::MamaWrapper::OnDispose
virtual override MamaStatus.mamaStatus DestroyNativePeer()
Return:
Reimplements: Wombat::MamaWrapper::DestroyNativePeer
bool isFromInbox;
Updated on 2023-03-31 at 15:29:32 +0100