/** * @file Message.h * @brief * @copyright 2015 Dual Inventive Technology Centre B.V. * * */ #ifndef INCLUDE_MESSAGE_H_ #define INCLUDE_MESSAGE_H_ #include #include struct Message { enum di_rpc_ll_msg_type type; /**< enum of message types */ bool positive; /**< whether the response of the message is successful */ std::string deviceUid; /**< sting with device UID */ std::shared_ptr identity; /**< ZeroMQ requester identity */ std::shared_ptr json; /**< Raw JSON RPC message */ std::shared_ptr rpc; /**< RPC message object */ Message() : type(DI_RPC_LL_MSG_TYPE_PLAIN), positive(true) { } }; #endif /* INCLUDE_MESSAGE_H_ */