Kea 2.7.5
|
Base class for TCP messages. More...
#include <tcp_connection.h>
Public Member Functions | |
virtual | ~TcpMessage () |
Destructor. | |
const uint8_t * | getWireData () const |
Returns pointer to the first byte of the wire data. | |
size_t | getWireDataSize () const |
Returns current size of the wire data. | |
Protected Attributes | |
WireData | wire_data_ |
Buffer used for data in wire format data. | |
Base class for TCP messages.
Definition at line 34 of file tcp_connection.h.
|
inlinevirtual |
Destructor.
Definition at line 37 of file tcp_connection.h.
|
inline |
Returns pointer to the first byte of the wire data.
InvalidOperation | if wire data is empty (i.e. getWireDataSize() == 0). |
Definition at line 43 of file tcp_connection.h.
References isc_throw, and wire_data_.
|
inline |
Returns current size of the wire data.
Definition at line 52 of file tcp_connection.h.
References wire_data_.
|
protected |
Buffer used for data in wire format data.
Definition at line 58 of file tcp_connection.h.
Referenced by isc::tcp::TcpResponse::consumeWireData(), getWireData(), getWireDataSize(), isc::tcp::TcpStreamRequest::logFormatRequest(), isc::tcp::TcpStreamRequest::needData(), isc::tcp::TcpStreamResponse::pack(), isc::tcp::TcpStreamRequest::postBuffer(), isc::tcp::TcpStreamRequest::unpack(), and isc::tcp::TcpResponse::wireDataAvail().