Equalizer
1.4.1
|
A receive buffer, containing the data for a co::ICommand. More...
#include <buffer.h>
Public Member Functions | |
CO_API | Buffer (BufferListener *listener=0) |
bool | isFree () const |
Static Public Member Functions | |
static CO_API size_t | getMinSize () |
Size of first read on receiver. | |
static CO_API size_t | getCacheSize () |
'small' CommandCache allocation size |
A receive buffer, containing the data for a co::ICommand.
The buffer does not auto-delete, that is, a BufferPtr is not a smart pointer. The BufferCache uses the BufferListener interface to reuse buffers which are unreferenced, i.e., unused by any ICommand.
bool co::Buffer::isFree | ( | ) | const [inline] |