* This constructor receives an already populated OctetSeq so the write pointer is advanced */
| 247 | * This constructor receives an already populated OctetSeq so the write pointer is advanced |
| 248 | */ |
| 249 | explicit MessageBlockHelper(const T& seq) |
| 250 | : db_(seq.length(), ACE_Message_Block::MB_DATA, |
| 251 | reinterpret_cast<const char*>(seq.get_buffer()), |
| 252 | 0 /*alloc*/, 0 /*lock*/, ACE_Message_Block::DONT_DELETE, 0 /*db_alloc*/) |
| 253 | , mb_(&db_, ACE_Message_Block::DONT_DELETE, 0 /*mb_alloc*/) |
| 254 | { |
| 255 | mb_.wr_ptr(mb_.space()); |
| 256 | } |
| 257 | |
| 258 | explicit MessageBlockHelper(T& seq) |
| 259 | : db_(seq.length(), ACE_Message_Block::MB_DATA, |
nothing calls this directly
no test coverage detected