#include <common.h>
Public Member Functions | |
InputChannel () | |
bool | IsEmpty () const |
virtual std::size_t | Receive (char *data, std::size_t size) |
void | SetData (const std::vector< char > &data) |
virtual | ~InputChannel () |
Private Attributes | |
std::vector< char >::iterator | CurPos |
std::vector< char > | SerializedData |
Definition at line 125 of file tests/protocol/common.h.
InputChannel::InputChannel | ( | ) | [inline] |
Definition at line 128 of file tests/protocol/common.h.
virtual InputChannel::~InputChannel | ( | ) | [inline, virtual] |
Definition at line 133 of file tests/protocol/common.h.
bool InputChannel::IsEmpty | ( | ) | const [inline] |
Definition at line 156 of file tests/protocol/common.h.
virtual std::size_t InputChannel::Receive | ( | char * | data, |
std::size_t | size | ||
) | [inline, virtual] |
Definition at line 137 of file tests/protocol/common.h.
void InputChannel::SetData | ( | const std::vector< char > & | data | ) | [inline] |
Definition at line 150 of file tests/protocol/common.h.
std::vector<char>::iterator InputChannel::CurPos [private] |
Definition at line 163 of file tests/protocol/common.h.
std::vector<char> InputChannel::SerializedData [private] |
Definition at line 162 of file tests/protocol/common.h.