|
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... | |