35 MessageBatch& parseFrom(
const std::string& payload, uint32_t batchSize);
37 MessageBatch& parseFrom(
const SharedBuffer& payload, uint32_t batchSize);
39 const std::vector<Message>& messages();
42 typedef std::shared_ptr<MessageImpl> MessageImplPtr;
46 std::vector<Message> batch_;