|
Ripples 1.0
High Performant Software Architecture For Transaction Processing
|
#include <channel.h>
Data Fields | |
| uint64_t | id |
| channel_bss_ops_t | op |
| void * | p |
| size_t | result |
Structure describes an bss channel message.
| uint64_t channel_bss_msg_s::id |
Message ID.
| channel_bss_ops_t channel_bss_msg_s::op |
Operation this message is for.
| void* channel_bss_msg_s::p |
Pointer to data relating to specific operation. For resource messages sender sets this to point to new data. For query log flip messages responder sets this to buffer that has data to be logged.
| size_t channel_bss_msg_s::result |
Result of the operation. For resource messages sender (bss) sets this to 0, and responder sets this to: 0 - error, 1 - success. For query log flip messages responder sets this to length of data in query log buffer.