Public Member Functions | Private Attributes | List of all members
zmq::socks_request_encoder_t Class Reference

#include <socks.hpp>

Public Member Functions

void encode (const socks_request_t &req_)
 
bool has_pending_data () const
 
int output (fd_t fd_)
 
void reset ()
 
 socks_request_encoder_t ()
 

Private Attributes

uint8_t _buf [4+UINT8_MAX+1+2]
 
size_t _bytes_encoded
 
size_t _bytes_written
 

Detailed Description

Definition at line 111 of file socks.hpp.

Constructor & Destructor Documentation

◆ socks_request_encoder_t()

zmq::socks_request_encoder_t::socks_request_encoder_t ( )

Definition at line 201 of file socks.cpp.

Member Function Documentation

◆ encode()

void zmq::socks_request_encoder_t::encode ( const socks_request_t req_)

Definition at line 206 of file socks.cpp.

◆ has_pending_data()

bool zmq::socks_request_encoder_t::has_pending_data ( ) const

Definition at line 265 of file socks.cpp.

◆ output()

int zmq::socks_request_encoder_t::output ( fd_t  fd_)

Definition at line 256 of file socks.cpp.

◆ reset()

void zmq::socks_request_encoder_t::reset ( )

Definition at line 270 of file socks.cpp.

Member Data Documentation

◆ _buf

uint8_t zmq::socks_request_encoder_t::_buf[4+UINT8_MAX+1+2]
private

Definition at line 123 of file socks.hpp.

◆ _bytes_encoded

size_t zmq::socks_request_encoder_t::_bytes_encoded
private

Definition at line 121 of file socks.hpp.

◆ _bytes_written

size_t zmq::socks_request_encoder_t::_bytes_written
private

Definition at line 122 of file socks.hpp.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11