MsgUnit Struct Reference

Holds a message All member pointers are allocated with malloc(), you need to free() them Needs to be consistent with MsgUnitUnmanaged declaration in C# (for P/Invoke). More...

#include <msgUtil.h>


Data Fields

const char * key
 XML formatted ASCII string of the message topic.
size_t contentLen
 Number of bytes in content.
const char * content
 Raw data (not 0 terminated).
const char * qos
 XML formatted ASCII string of Quality of Service.
char * responseQos
 Used to transport the response QoS string back to caller.


Detailed Description

Holds a message All member pointers are allocated with malloc(), you need to free() them Needs to be consistent with MsgUnitUnmanaged declaration in C# (for P/Invoke).

Definition at line 48 of file msgUtil.h.


Field Documentation

const char* MsgUnit::key

XML formatted ASCII string of the message topic.

Definition at line 49 of file msgUtil.h.

Referenced by encodeMsgUnit(), encodeXmlBlasterException(), freeMsgUnitData(), interceptUpdate(), main(), messageUnitToXmlLimited(), myUpdate(), parseMsgUnitArr(), xmlBlasterUnmanagedCEGet(), and xmlBlasterUnmanagedGet().

size_t MsgUnit::contentLen

Number of bytes in content.

Definition at line 50 of file msgUtil.h.

Referenced by encodeMsgUnit(), encodeMsgUnitArr(), freeMsgUnitData(), interceptUpdate(), main(), messageUnitToXmlLimited(), myUpdate(), parseMsgUnitArr(), sendXmlBlasterException(), xmlBlasterUnmanagedCEGet(), and xmlBlasterUnmanagedGet().

const char* MsgUnit::content

Raw data (not 0 terminated).

Definition at line 51 of file msgUtil.h.

Referenced by encodeMsgUnit(), freeMsgUnitData(), interceptUpdate(), main(), messageUnitToXmlLimited(), myUpdate(), parseMsgUnitArr(), sendXmlBlasterException(), xmlBlasterUnmanagedCEGet(), and xmlBlasterUnmanagedGet().

const char* MsgUnit::qos

XML formatted ASCII string of Quality of Service.

Definition at line 52 of file msgUtil.h.

Referenced by encodeMsgUnit(), encodeXmlBlasterException(), freeMsgUnitData(), interceptUpdate(), main(), messageUnitToXmlLimited(), myUpdate(), parseMsgUnitArr(), parseQosArr(), sendResponse(), sendXmlBlasterException(), xmlBlasterPublish(), xmlBlasterUnmanagedCEGet(), and xmlBlasterUnmanagedGet().

char* MsgUnit::responseQos

Used to transport the response QoS string back to caller.

Definition at line 53 of file msgUtil.h.

Referenced by freeMsgUnitData(), interceptUpdate(), myUpdate(), sendResponse(), xmlBlasterPublish(), xmlBlasterPublishArr(), xmlBlasterPublishOneway(), xmlBlasterUnmanagedCEGet(), and xmlBlasterUnmanagedGet().


The documentation for this struct was generated from the following file: