Structure containing information about the received PDU. More...
#include <rtm.h>
Data Fields | |
unsigned | request_id |
enum rtm_action_t | action |
union { | |
struct { | |
union { | |
char const * error | |
char const * info | |
} | |
char const * reason | |
} | |
struct { | |
char const * position | |
char const * subscription_id | |
union { | |
char const * message | |
rtm_list_iterator_t message_iterator | |
} | |
} | |
char const * body | |
char const * nonce | |
}; | |
Structure containing information about the received PDU.
Extra fields availability:
Action | Fields ------------------- | ------------- UNKNOWN | body AUTHENTICATE_ERROR | error, reason GENERAL_ERROR | error, reason DELETE_ERROR | error, reason HANDSHAKE_ERROR | error, reason PUBLISH_ERROR | error, reason READ_ERROR | error, reason WRITE_ERROR | error, reason SUBSCRIBE_ERROR | error, reason UNSUBSCRIBE_ERROR | error, reason SUBSCRIPTION_ERROR | subscription_id, error, reason SUBSCRIPTION_INFO | subscription_id, info, reason SUBSCRIPTION_DATA | subscription_id, message_iterator, position SUBSCRIBE_OK | subscription_id, position UNSUBSCRIBE_OK | subscription_id, position AUTHENTICATE_OK | --- HANDSHAKE_OK | nonce PUBLISH_OK | position DELETE_OK | position WRITE_OK | position READ_OK | message, position