|
FireSync API
|
Represents message source information and an attached message.
kMsgInfo is a top-level container for a FireSync data message. Message content can be accessed via the Message property.
Each kMsgInfo instance also contains a small amount of metadata related to message routing. The Source property describes the origin of a message (node id, block id, port id). The Tag property is provided for use within data processing envionments, for implementation-specific purposes; this property should typically be ignored in application code.
The following example illustrates how to log various information related to a standard FireSync video message.

Public Member Functions | |
| kStatus | kMsgInfo_Construct (kMsgInfo *info, kMsgSource source, kSize tag, kMsgSet message, kAlloc allocator) |
| Constructs a kMsgInfo object. More... | |
| kMsgSet | kMsgInfo_Message (kMsgInfo info) |
| Gets the message object. More... | |
| kStatus | kMsgInfo_SetMessage (kMsgInfo info, kMsgSet message) |
| Sets the message object. More... | |
| kStatus | kMsgInfo_SetSource (kMsgInfo info, kMsgSource source) |
| Sets the message source. More... | |
| kStatus | kMsgInfo_SetTag (kMsgInfo info, kSize tag) |
| Sets the message tag. More... | |
| kMsgSource | kMsgInfo_Source (kMsgInfo info) |
| Gets the message source. More... | |
| kSize | kMsgInfo_Tag (kMsgInfo info) |
| Gets the message tag. More... | |
Related | |
| #define | kMsgInfo_SetSource_(INF, S) kxMsgInfo_SetSource_(INF, S) |
| Macro version of kMsgInfo_SetSource. | |
| #define | kMsgInfo_SetTag_(INF, T) kxMsgInfo_SetTag_(INF, T) |
| Macro version of kMsgInfo_SetTag. | |
| #define | kMsgInfo_SetMessage_(INF, M) kxMsgInfo_SetMessage_(INF, M) |
| Macro version of kMsgInfo_SetMessage. | |
| #define | kMsgInfo_Source_(INF) kxMsgInfo_Source_(INF) |
| Macro version of kMsgInfo_Source. | |
| #define | kMsgInfo_Tag_(INF) kxMsgInfo_Tag_(INF) |
| Macro version of kMsgInfo_Tag. | |
| #define | kMsgInfo_Message_(INF) kxMsgInfo_Message_(INF) |
| Macro version of kMsgInfo_Message. | |