Kea 2.7.5
|
Container class which stores service invocation related data. More...
#include <ncr_udp.h>
Public Member Functions | |
Data (RawBufferPtr &buffer, const size_t buf_size, UDPEndpointPtr &data_source) | |
Constructor. | |
Public Attributes | |
size_t | buf_size_ |
Storage capacity of the buffer. | |
RawBufferPtr | buffer_ |
A pointer to the data transfer buffer. | |
size_t | bytes_transferred_ |
Stores the number of bytes transferred by completed IO service. | |
UDPEndpointPtr | data_source_ |
The UDP endpoint that is the origin of the data transferred. | |
boost::system::error_code | error_code_ |
Stores the IO layer result code of the completed IO service. | |
size_t | put_len_ |
Stores this size of the data within the buffer when written there manually. | |
Container class which stores service invocation related data.
Because the callback object may be copied numerous times during the course of service invocation, it does not directly contain data values. Rather it will retain a shared pointer to an instance of this structure thus ensuring that all copies of the callback object, ultimately refer to the same data values.
|
inline |
size_t isc::dhcp_ddns::UDPCallback::Data::buf_size_ |
RawBufferPtr isc::dhcp_ddns::UDPCallback::Data::buffer_ |
size_t isc::dhcp_ddns::UDPCallback::Data::bytes_transferred_ |
UDPEndpointPtr isc::dhcp_ddns::UDPCallback::Data::data_source_ |
boost::system::error_code isc::dhcp_ddns::UDPCallback::Data::error_code_ |
size_t isc::dhcp_ddns::UDPCallback::Data::put_len_ |
Stores this size of the data within the buffer when written there manually.
(See UDPCallback::putData()) .