|
MADARA_Export char * | madara::transport::add_fragment (const char *originator, uint64_t clock, uint32_t update_number, const char *fragment, uint32_t queue_length, OriginatorFragmentMap &map, bool clear=true) |
| Adds a fragment to an originator fragment map and returns the aggregate message if the message is complete. More...
|
|
MADARA_Export char * | madara::transport::defrag (FragmentMap &map) |
| Pieces together a fragment map into a single buffer. More...
|
|
MADARA_Export void | madara::transport::delete_fragments (FragmentMap &map) |
| Deletes fragments within a fragment map and clears the map. More...
|
|
MADARA_Export bool | madara::transport::exists (const char *originator, uint64_t clock, uint32_t update_number, OriginatorFragmentMap &map) |
| Checks if a fragment already exists within a fragment map. More...
|
|
MADARA_Export void | madara::transport::frag (char *source, uint32_t fragment_size, FragmentMap &map) |
| Breaks a large packet into smaller packets. More...
|
|
MADARA_Export bool | madara::transport::is_complete (const char *originator, uint64_t clock, OriginatorFragmentMap &map) |
| Breaks a large packet into smaller packets. More...
|
|
- Author
- James Edmondson jedmo.nosp@m.ndso.nosp@m.n@gma.nosp@m.il.c.nosp@m.om
This file contains the message header used by transports to piece together fragments of a large knowledge update and helpers classes for transports that want to handle fragmented updates
Definition in file Fragmentation.h.