Changeset 20247
- Timestamp:
- 05/22/07 08:39:23 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/gadgeteer/plugins/ApplicationDataManager/ApplicationDataServer.cpp
r20198 r20247 59 59 void ApplicationDataServer::serializeAndSend() 60 60 { 61 // Clear old data and reset the position.62 mDataPacket->getData().clear();63 mDataPacket->getPacketWriter()->setCurPos(0);64 65 61 mDataPacket->serialize(*mApplicationData); 66 62 67 63 // We must update the size of the actual data that we are going to send 68 64 mDataPacket->getHeader()->setPacketLength(Header::RIM_PACKET_HEAD_SIZE 69 + 16 /*Plugin GUID*/70 + 16 /*Plugin GUID*/71 65 + mDataPacket->getData().size()); 72 66
