Contains the functions to seralise and unserialise GDF datatypes. More...
#include <string>#include <vector>#include <boost/range/adaptor/reversed.hpp>#include "datatypes.hpp"

Classes | |
| class | stateline::comms::Message | 
| Define valid messages to send on the GDFP-SW (GDF Server-Worker Protocol)  More... | |
Namespaces | |
| stateline | |
| stateline::comms | |
Enumerations | |
| enum | stateline::comms::Subject : uint {  HELLO = 0, HEARTBEAT = 1, PROBLEMSPEC = 2, JOBREQUEST = 3, JOB = 4, JOBSWAP = 5, ALLDONE = 6, GOODBYE = 7 }  | 
| Defines the bytes actually sent in the subject frame of GDF messages. Allows us to use a switch statement on the subject.  | |
Functions | |
| std::string | stateline::comms::subjectString (Subject s) | 
| Convert a subject into a string.  More... | |
| std::ostream & | stateline::comms::operator<< (std::ostream &os, const Message &m) | 
| Print a message for logging and debugging purposes.  More... | |
| std::string | stateline::comms::addressAsString (const std::vector< std::string > &addr) | 
| Convert an address to a string.  More... | |
| void | stateline::comms::print (const Message &m) | 
| Print a message for logging and debugging purposes.  More... | |
Contains the functions to seralise and unserialise GDF datatypes.