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

#include <socks.hpp>

Public Member Functions

void encode (const socks_greeting_t &greeting_)
 
bool has_pending_data () const
 
int output (fd_t fd_)
 
void reset ()
 
 socks_greeting_encoder_t ()
 

Private Attributes

uint8_t _buf [2+UINT8_MAX]
 
size_t _bytes_encoded
 
size_t _bytes_written
 

Detailed Description

Definition at line 21 of file socks.hpp.

Constructor & Destructor Documentation

◆ socks_greeting_encoder_t()

zmq::socks_greeting_encoder_t::socks_greeting_encoder_t ( )

Definition at line 30 of file socks.cpp.

Member Function Documentation

◆ encode()

void zmq::socks_greeting_encoder_t::encode ( const socks_greeting_t greeting_)

Definition at line 35 of file socks.cpp.

◆ has_pending_data()

bool zmq::socks_greeting_encoder_t::has_pending_data ( ) const

Definition at line 57 of file socks.cpp.

◆ output()

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

Definition at line 48 of file socks.cpp.

◆ reset()

void zmq::socks_greeting_encoder_t::reset ( )

Definition at line 62 of file socks.cpp.

Member Data Documentation

◆ _buf

uint8_t zmq::socks_greeting_encoder_t::_buf[2+UINT8_MAX]
private

Definition at line 33 of file socks.hpp.

◆ _bytes_encoded

size_t zmq::socks_greeting_encoder_t::_bytes_encoded
private

Definition at line 31 of file socks.hpp.

◆ _bytes_written

size_t zmq::socks_greeting_encoder_t::_bytes_written
private

Definition at line 32 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