Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
platf::batched_send_info_t Struct Reference

Public Member Functions

buffer_descriptor_t buffer_for_payload_offset (ptrdiff_t offset)
 Returns a payload buffer descriptor for the given payload offset.

Public Attributes

const char * headers
size_t header_size
std::vector< buffer_descriptor_t > & payload_buffers
size_t payload_size
size_t block_offset
size_t block_count
std::uintptr_t native_socket
boost::asio::ip::address & target_address
uint16_t target_port
boost::asio::ip::address & source_address

Detailed Description

Definition at line 738 of file common.h.

Member Function Documentation

◆ buffer_for_payload_offset()

buffer_descriptor_t platf::batched_send_info_t::buffer_for_payload_offset ( ptrdiff_t offset)
inline

Returns a payload buffer descriptor for the given payload offset.

Parameters
offsetThe offset in the total payload data (bytes).
Returns
Buffer descriptor describing the region at the given offset.

Definition at line 766 of file common.h.

Member Data Documentation

◆ block_count

size_t platf::batched_send_info_t::block_count

Definition at line 754 of file common.h.

◆ block_offset

size_t platf::batched_send_info_t::block_offset

Definition at line 751 of file common.h.

◆ header_size

size_t platf::batched_send_info_t::header_size

Definition at line 741 of file common.h.

◆ headers

const char* platf::batched_send_info_t::headers

Definition at line 740 of file common.h.

◆ native_socket

std::uintptr_t platf::batched_send_info_t::native_socket

Definition at line 756 of file common.h.

◆ payload_buffers

std::vector<buffer_descriptor_t>& platf::batched_send_info_t::payload_buffers

Definition at line 746 of file common.h.

◆ payload_size

size_t platf::batched_send_info_t::payload_size

Definition at line 747 of file common.h.

◆ source_address

boost::asio::ip::address& platf::batched_send_info_t::source_address

Definition at line 759 of file common.h.

◆ target_address

boost::asio::ip::address& platf::batched_send_info_t::target_address

Definition at line 757 of file common.h.

◆ target_port

uint16_t platf::batched_send_info_t::target_port

Definition at line 758 of file common.h.


The documentation for this struct was generated from the following file: