55 virtual bool readCommand(
char **packet, uint32_t& packet_length)
57 while (not to_execute.empty())
59 Queue::value_type next= to_execute.front();
60 packet_buffer.assign(next.begin(), next.end());
61 *packet= &packet_buffer[0];
62 packet_length= next.size();
69 packet_buffer.resize(1);
71 *packet= &packet_buffer[0];