50 if (serobj.
data->size() != serobj.
pos)
52 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
76 memcpy(&tmpheader, &serstr->at(0),
sizeof(tmpheader));
133 printf(
"%s %i anomaly %i\n", __FILE__, __LINE__, tmpheader.
payloadtype);
149 serstr=((
class Message *)
this)->ser();
189 printf(
"%s %i anomaly %i\n", __FILE__, __LINE__,
212 socketStruct({socketarg, eventsarg, listenertypearg})
232 if (serobj.
data->size() != serobj.
pos)
234 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
290 if (serobj.
data->size() != serobj.
pos)
292 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
356 if (serobj.
data->size() != serobj.
pos)
358 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
406 if (serobj.
data->size() != serobj.
pos)
408 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
433 subtransactionStruct (), fieldVal ()
457 if (serobj.
data->size() != serobj.
pos)
459 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
519 if (serobj.
data->size() != serobj.
pos)
521 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
566 if (serobj.
data->size() != serobj.
pos)
568 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
613 ackdispatchStruct ({transactionidarg, statusarg})
632 if (serobj.
data->size() != serobj.
pos)
634 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
663 int64_t domainidarg) :
664 applyStruct ({subtransactionidarg, applieridarg, domainidarg})
685 if (serobj.
data->size() != serobj.
pos)
687 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
738 int64_t applieridarg, int64_t partitionidarg,
740 ackapplyStruct ({subtransactionidarg, applieridarg, partitionidarg,
760 if (serobj.
data->size() != serobj.
pos)
762 fprintf(
logfile,
"%s %i ser %i size %lu pos %lu\n", __FILE__, __LINE__,
803 memcpy(&tmpheader,
data->c_str(),
sizeof(tmpheader));
810 memcpy(&
data->at(
pos), dataptr, s);
816 memcpy(dataptr, &
data->at(
pos), s);
823 memcpy(&
data->at(
pos), &d,
sizeof(d));
834 memcpy(d, &
data->at(
pos),
sizeof(*d));
840 memcpy(&
data->at(
pos), &d,
sizeof(d));
851 memcpy(d, &
data->at(
pos),
sizeof(*d));
857 memcpy(&
data->at(
pos), &d,
sizeof(d));
868 memcpy(d, &
data->at(
pos),
sizeof(*d));
874 memcpy(&
data->at(
pos), &d,
sizeof(d));
885 memcpy(d, &
data->at(
pos),
sizeof(*d));
892 ser((int64_t)d.size());
895 memcpy(&
data->at(
pos), d.c_str(), d.size());
902 return sizeof(int64_t)+d.size();
911 d.assign((
const char *)&
data->at(
pos), s);
919 memcpy(&
data->at(
pos), &s,
sizeof(s));
921 for (
size_t n=0; n<s; n++)
929 return sizeof(size_t) + (d.size() *
sizeof(int64_t));
935 memcpy(&s, &
data->at(
pos),
sizeof(s));
938 for (
size_t n=0; n<s; n++)
948 ser((int64_t)d.size());
949 boost::unordered_map<int64_t, int64_t>::const_iterator it;
950 for (it=d.begin(); it != d.end(); ++it)
959 return d.size() + (d.size() * 2 *
sizeof(int64_t));
965 memcpy(&s, &
data->at(
pos),
sizeof(s));
967 for (
size_t n=0; n<s; n++)
979 memcpy(&
data->at(
pos), &d,
sizeof(d));
990 memcpy(&d, &
data->at(
pos),
sizeof(d));
997 memcpy(&
data->at(
pos), &d,
sizeof(d));
1008 memcpy(&d, &
data->at(
pos),
sizeof(d));
1014 memcpy(&
data->at(
pos), &d,
sizeof(d));
1025 memcpy(&d, &
data->at(
pos),
sizeof(d));
1031 memcpy(&
data->at(
pos), &d,
sizeof(d));
1042 memcpy(&d, &
data->at(
pos),
sizeof(d));
1048 memcpy(&
data->at(
pos), &d,
sizeof(d));
1059 memcpy(&d, &
data->at(
pos),
sizeof(d));
1065 memcpy(&
data->at(
pos), &d,
sizeof(d));
1076 memcpy(&d, &
data->at(
pos),
sizeof(d));
1082 memcpy(&
data->at(
pos), &d,
sizeof(d));
1093 memcpy(&d, &
data->at(
pos),
sizeof(d));
1099 memcpy(&
data->at(
pos), &d,
sizeof(d));
1110 memcpy(&d, &
data->at(
pos),
sizeof(d));
1116 memcpy(&
data->at(
pos), &d,
sizeof(d));
1127 memcpy(&d, &
data->at(
pos),
sizeof(d));
1133 memcpy(&
data->at(
pos), &d,
sizeof(d));
1144 memcpy(&d, &
data->at(
pos),
sizeof(d));
1150 memcpy(&
data->at(
pos), &d,
sizeof(d));
1161 memcpy(&d, &
data->at(
pos),
sizeof(d));
1167 memcpy(&
data->at(
pos), &d,
sizeof(d));
1178 memcpy(&d, &
data->at(
pos),
sizeof(d));
1187 boost::unordered_set<string>::const_iterator it;
1188 for (it=d.begin(); it != d.end(); ++it)
1196 size_t retval=
sizeof(size_t);
1197 boost::unordered_set<string>::const_iterator it;
1198 for (it=d.begin(); it != d.end(); ++it)
1209 for (
size_t n=0; n<s; n++)
1288 ser((int64_t)d.size());
1289 vector<nonLockingIndexEntry_s>::iterator it;
1290 for (it=d.begin(); it != d.end(); ++it)
1307 for (
size_t n=0; n<s; n++)
1335 ser((int64_t)d.size());
1336 vector<fieldValue_s>::iterator it;
1337 for (it=d.begin(); it != d.end(); ++it)
1345 size_t retval=
sizeof(int64_t);
1346 vector<fieldValue_s>::iterator it;
1347 for (it = d.begin(); it != d.end(); ++it)
1359 for (
size_t n=0; n<s; n++)
1369 ser((int64_t)d.size());
1370 vector<returnRow_s>::iterator it;
1371 for (it=d.begin(); it != d.end(); ++it)
1379 size_t retval=
sizeof(int64_t);
1380 vector<returnRow_s>::iterator it;
1381 for (it = d.begin(); it != d.end(); ++it)
1393 for (
size_t n=0; n<s; n++)
1403 ser((int64_t)d.size());
1404 vector<MessageDispatch::record_s>::iterator it;
1405 for (it=d.begin(); it != d.end(); ++it)
1413 size_t retval=
sizeof(int64_t);
1414 vector<MessageDispatch::record_s>::iterator it;
1415 for (it = d.begin(); it != d.end(); ++it)
1427 for (
size_t n=0; n<s; n++)
1514 des((int8_t *)&d.
op);
1521 ser((int64_t)d.size());
1522 vector<rowOrField_s>::iterator it;
1523 for (it=d.begin(); it != d.end(); ++it)
1531 size_t retval=
sizeof(int64_t);
1532 vector<rowOrField_s>::iterator it;
1533 for (it = d.begin(); it != d.end(); ++it)
1545 for (
size_t n=0; n<s; n++)
1555 ser((int64_t)d.size());
1556 vector<MessageApply::applyindex_s>::iterator it;
1557 for (it=d.begin(); it != d.end(); ++it)
1565 size_t retval=
sizeof(int64_t);
1566 vector<MessageApply::applyindex_s>::iterator it;
1567 for (it = d.begin(); it != d.end(); ++it)
1579 for (
size_t n=0; n<s; n++)
1588 vector<MessageDispatch::record_s> > &d)
1590 ser((int64_t)d.size());
1591 boost::unordered_map< int64_t,
1592 vector<MessageDispatch::record_s> >::iterator it;
1593 for (it=d.begin(); it != d.end(); ++it)
1601 vector<MessageDispatch::record_s> > &d)
1603 return d.size() + (d.size() * 2 *
sizeof(int64_t));
1607 vector<MessageDispatch::record_s> > &d)
1610 memcpy(&s, &
data->at(
pos),
sizeof(s));
1612 for (
size_t n=0; n<s; n++)
1616 vector<MessageDispatch::record_s> val2;