1 #ifndef _MADARA_MESSAGE_HEADER_H_ 2 #define _MADARA_MESSAGE_HEADER_H_ 13 #include "madara/MADARA_export.h" 20 #define MADARA_IDENTIFIER_LENGTH 8 21 #define MADARA_IDENTIFIER "KaRL1.3" 22 #define MADARA_DOMAIN_MAX_LENGTH 32 23 #define PAIR_COUNT_TYPE uint32_t 24 #define KNOWLEDGE_QUALITY_TYPE uint32_t 25 #define CLOCK_TYPE uint64_t 26 #define MAX_KNOWLEDGE_KEY_LENGTH 64 27 #define MAX_ORIGINATOR_LENGTH 64 28 #define KNOWLEDGE_VALUE_TYPE madara::knowledge::KnowledgeRecord 75 virtual uint32_t encoded_size (
void)
const;
83 static uint32_t static_encoded_size (
void);
93 virtual const char * read (
const char * buffer,
94 int64_t & buffer_remaining);
104 virtual char * write (
char * buffer, int64_t & buffer_remaining);
123 static uint64_t get_size (
const char * buffer);
188 #endif // _MADARA_MESSAGE_HEADER_H_
static const int MAX_PACKET_SIZE
Copyright (c) 2015 Carnegie Mellon University.