![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include <socks.hpp>

Public Member Functions | |
| socks_greeting_encoder_t () | |
| void | encode (const socks_greeting_t &greeting_) |
| bool | has_pending_data () const |
| int | output (fd_t fd_) |
| void | reset () |
Private Attributes | |
| uint8_t | buf [2+UINT8_MAX] |
| size_t | bytes_encoded |
| size_t | bytes_written |
| zmq::socks_greeting_encoder_t::socks_greeting_encoder_t | ( | ) |
| void zmq::socks_greeting_encoder_t::encode | ( | const socks_greeting_t & | greeting_ | ) |
Definition at line 62 of file socks.cpp.
References buf, bytes_encoded, bytes_written, zmq::socks_greeting_t::methods, and zmq::socks_greeting_t::num_methods.
Referenced by zmq::socks_connecter_t::out_event().

| bool zmq::socks_greeting_encoder_t::has_pending_data | ( | ) | const |
Definition at line 84 of file socks.cpp.
References bytes_encoded, and bytes_written.
Referenced by zmq::socks_connecter_t::out_event().

Definition at line 75 of file socks.cpp.
References buf, bytes_encoded, bytes_written, and zmq::tcp_write().
Referenced by zmq::socks_connecter_t::out_event().


| void zmq::socks_greeting_encoder_t::reset | ( | ) |
Definition at line 89 of file socks.cpp.
References bytes_encoded, and bytes_written.
Referenced by zmq::socks_connecter_t::error().

|
private |
|
private |