#include "mama/types.h"
Go to the source code of this file.
Typedefs | |
typedef enum mamaServiceLevel_ | mamaServiceLevel |
mamaServiceLevel is an enumeration that represents the service level (a) requested by a subscribing application, or (b) provided by the publisher. More... | |
Enumerations | |
enum | mamaServiceLevel_ { MAMA_SERVICE_LEVEL_REAL_TIME = 0, MAMA_SERVICE_LEVEL_SNAPSHOT = 1, MAMA_SERVICE_LEVEL_REPEATING_SNAPSHOT = 2, MAMA_SERVICE_LEVEL_CONFLATED = 5, MAMA_SERVICE_LEVEL_UNKNOWN = 99 } |
mamaServiceLevel is an enumeration that represents the service level (a) requested by a subscribing application, or (b) provided by the publisher. More... | |
Functions | |
MAMAExpDLL mamaServiceLevel | mamaServiceLevel_getFromMsg (const mamaMsg msg) |
Extract the subscription service level from a message. More... | |
MAMAExpDLL const char * | mamaServiceLevel_getFromMsgAsString (const mamaMsg msg) |
Extract the subscription service level as a string from a message. More... | |
MAMAExpDLL const char * | mamaServiceLevel_toString (mamaServiceLevel type) |
Convert a mamaServiceLevel to a string. More... | |
typedef enum mamaServiceLevel_ mamaServiceLevel |
mamaServiceLevel is an enumeration that represents the service level (a) requested by a subscribing application, or (b) provided by the publisher.
In the future, the service level provided to the application might change dynamically, depending upon infrastructure capacity. So, even though the requested service level is "real time", if service deteriorates for any reason, the subscription may automatically switch to a conflated level (after notifying the application of the switch).
enum mamaServiceLevel_ |
mamaServiceLevel is an enumeration that represents the service level (a) requested by a subscribing application, or (b) provided by the publisher.
In the future, the service level provided to the application might change dynamically, depending upon infrastructure capacity. So, even though the requested service level is "real time", if service deteriorates for any reason, the subscription may automatically switch to a conflated level (after notifying the application of the switch).
MAMAExpDLL mamaServiceLevel mamaServiceLevel_getFromMsg | ( | const mamaMsg | msg) |
Extract the subscription service level from a message.
msg | The message. |
MAMAExpDLL const char* mamaServiceLevel_getFromMsgAsString | ( | const mamaMsg | msg) |
Extract the subscription service level as a string from a message.
msg | The message. |
MAMAExpDLL const char* mamaServiceLevel_toString | ( | mamaServiceLevel | type) |
Convert a mamaServiceLevel to a string.
type | The mamaServiceLevel. |