33 #include <rsc/logging/Logger.h>
38 using namespace rsc::logging;
41 LoggerPtr logger(Logger::getLogger(
"rsb.spread.SpreadMessage"));
47 SpreadMessage::SpreadMessage() :
48 type(OTHER), qos(UNRELIABLE) {
52 type(mt), qos(UNRELIABLE) {
56 data(d), type(OTHER), qos(UNRELIABLE) {
60 data(buf), type(OTHER), qos(UNRELIABLE) {
95 if (strlen(name.c_str()) > MAX_GROUP_NAME - 1) {
96 throw invalid_argument(
97 "Group name '" + name +
"' is too long for spread.");