Changes between Version 12 and Version 13 of ariba_0_9


Ignore:
Timestamp:
Jun 21, 2013, 12:33:16 PM (11 years ago)
Author:
hock@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ariba_0_9

    v12 v13  
    145145  - Message Pack      (http://en.wikipedia.org/wiki/MessagePack)
    146146
     147
    147148''' reboost::message_t '''
    148149
     150The reboost::message_t is an Copy-on-Write Message with Shared Buffers.
     151
     152A message holds a limited (defined by `message_max_buffers`, typically `8`) number of shared buffers. One can add new buffers and messages in front and at the end of a message. If the no. of buffers exceed `message_max_buffers`, then the two smallest successive buffers are compacted to one buffer.
     153
     154Typical operations:
     155  - void message_t::push_back(shared_buffer_t)
     156  - void message_t::push_front(shared_buffer_t)
     157  - shared_buffer_t message_t::linearize()
     158  - size_t message_t::size()
     159
     160''' reboost::shared_buffer_t '''