#include <ws_engine.hpp>
Private Member Functions | |
bool | client_handshake () |
int | close_connection_after_close (msg_t *msg_) |
int | process_routing_id_msg (msg_t *msg_) |
int | produce_close_message (msg_t *msg_) |
int | produce_no_msg_after_close (msg_t *msg_) |
int | routing_id_msg (msg_t *msg_) |
bool | select_protocol (const char *protocol) |
bool | server_handshake () |
Private Attributes | |
ws_address_t | _address |
bool | _client |
ws_client_handshake_state_t | _client_handshake_state |
msg_t | _close_msg |
bool | _header_connection_upgrade |
char | _header_name [MAX_HEADER_NAME_LENGTH+1] |
int | _header_name_position |
bool | _header_upgrade_websocket |
char | _header_value [MAX_HEADER_VALUE_LENGTH+1] |
int | _header_value_position |
int | _heartbeat_timeout |
unsigned char | _read_buffer [WS_BUFFER_SIZE] |
ws_server_handshake_state_t | _server_handshake_state |
char | _websocket_accept [MAX_HEADER_VALUE_LENGTH+1] |
char | _websocket_key [MAX_HEADER_VALUE_LENGTH+1] |
char | _websocket_protocol [256] |
unsigned char | _write_buffer [WS_BUFFER_SIZE] |
Definition at line 100 of file ws_engine.hpp.
zmq::ws_engine_t::ws_engine_t | ( | fd_t | fd_, |
const options_t & | options_, | ||
const endpoint_uri_pair_t & | endpoint_uri_pair_, | ||
const ws_address_t & | address_, | ||
bool | client_ | ||
) |
Definition at line 63 of file ws_engine.cpp.
zmq::ws_engine_t::~ws_engine_t | ( | ) |
Definition at line 94 of file ws_engine.cpp.
|
private |
Definition at line 540 of file ws_engine.cpp.
|
private |
Definition at line 937 of file ws_engine.cpp.
|
protectedvirtual |
Reimplemented from zmq::stream_engine_base_t.
Definition at line 886 of file ws_engine.cpp.
|
protectedvirtual |
Reimplemented from zmq::stream_engine_base_t.
Reimplemented in zmq::wss_engine_t.
Definition at line 233 of file ws_engine.cpp.
|
protectedvirtual |
Reimplemented from zmq::stream_engine_base_t.
Reimplemented in zmq::wss_engine_t.
Definition at line 147 of file ws_engine.cpp.
|
protectedvirtual |
Reimplemented from zmq::stream_engine_base_t.
Definition at line 972 of file ws_engine.cpp.
|
private |
Definition at line 165 of file ws_engine.cpp.
|
private |
Definition at line 916 of file ws_engine.cpp.
|
private |
Definition at line 927 of file ws_engine.cpp.
|
protectedvirtual |
Reimplemented from zmq::stream_engine_base_t.
Definition at line 945 of file ws_engine.cpp.
|
protectedvirtual |
Reimplemented from zmq::stream_engine_base_t.
Definition at line 961 of file ws_engine.cpp.
|
private |
Definition at line 154 of file ws_engine.cpp.
|
private |
Definition at line 183 of file ws_engine.cpp.
|
private |
Definition at line 260 of file ws_engine.cpp.
|
protected |
Definition at line 99 of file ws_engine.cpp.
|
private |
Definition at line 132 of file ws_engine.hpp.
|
private |
Definition at line 131 of file ws_engine.hpp.
|
private |
Definition at line 134 of file ws_engine.hpp.
|
private |
Definition at line 151 of file ws_engine.hpp.
|
private |
Definition at line 145 of file ws_engine.hpp.
|
private |
Definition at line 139 of file ws_engine.hpp.
|
private |
Definition at line 140 of file ws_engine.hpp.
|
private |
Definition at line 144 of file ws_engine.hpp.
|
private |
Definition at line 141 of file ws_engine.hpp.
|
private |
Definition at line 142 of file ws_engine.hpp.
|
private |
Definition at line 150 of file ws_engine.hpp.
|
private |
Definition at line 137 of file ws_engine.hpp.
|
private |
Definition at line 135 of file ws_engine.hpp.
|
private |
Definition at line 148 of file ws_engine.hpp.
|
private |
Definition at line 147 of file ws_engine.hpp.
|
private |
Definition at line 146 of file ws_engine.hpp.
|
private |
Definition at line 138 of file ws_engine.hpp.