feisty meow concerns codebase
2.140
|
#include <socket_data.h>
Public Member Functions | |
socket_data (int socket=0, bool server=true, int server_socket=0, bool connected_mode=true) | |
~socket_data () | |
bool | server () const |
bool | client () const |
basis::astring | text_form () const |
Public Attributes | |
int | _socket |
basis::byte_array | _partially_sent |
basis::byte_array | _partially_received |
basis::byte_array | _receive_buffer |
bool | _is_server |
int | _registered_interests |
bool | _connection_pending |
int | _server_socket |
bool | _connected_mode |
timely::time_stamp | _last_conn_alert |
Definition at line 31 of file socket_data.h.
|
inline |
Definition at line 51 of file socket_data.h.
|
inline |
Definition at line 56 of file socket_data.h.
|
inline |
Definition at line 59 of file socket_data.h.
References _is_server.
|
inline |
Definition at line 58 of file socket_data.h.
References _is_server.
basis::astring sockets::socket_data::text_form | ( | ) | const |
Definition at line 69 of file socket_data.h.
References _connection_pending, _is_server, _partially_received, _partially_sent, _registered_interests, _socket, sockets::raw_socket::interest_name(), basis::array< contents >::length(), and basis::astring::s().
Referenced by sockets::socket_minder::text_form().
bool sockets::socket_data::_connected_mode |
Definition at line 47 of file socket_data.h.
Referenced by sockets::socket_minder::push_receives().
bool sockets::socket_data::_connection_pending |
Definition at line 42 of file socket_data.h.
Referenced by sockets::socket_minder::add_socket_data(), sockets::socket_minder::evaluate_interest(), sockets::socket_minder::get_sockets(), sockets::socket_minder::handle_pending_connecters(), sockets::socket_minder::is_connection_pending(), sockets::socket_minder::push_receives(), sockets::socket_minder::push_sends(), sockets::socket_minder::set_connection_pending(), and text_form().
bool sockets::socket_data::_is_server |
Definition at line 38 of file socket_data.h.
Referenced by client(), sockets::socket_minder::handle_pending_connecters(), server(), and text_form().
timely::time_stamp sockets::socket_data::_last_conn_alert |
Definition at line 48 of file socket_data.h.
Referenced by sockets::socket_minder::handle_pending_connecters().
basis::byte_array sockets::socket_data::_partially_received |
Definition at line 36 of file socket_data.h.
Referenced by sockets::socket_minder::push_receives(), and text_form().
basis::byte_array sockets::socket_data::_partially_sent |
Definition at line 35 of file socket_data.h.
Referenced by sockets::socket_minder::get_sockets(), sockets::socket_minder::push_receives(), sockets::socket_minder::push_sends(), and text_form().
basis::byte_array sockets::socket_data::_receive_buffer |
Definition at line 37 of file socket_data.h.
Referenced by sockets::socket_minder::push_receives().
int sockets::socket_data::_registered_interests |
Definition at line 39 of file socket_data.h.
Referenced by sockets::socket_minder::evaluate_interest(), sockets::socket_minder::handle_pending_connecters(), sockets::socket_minder::register_interest(), and text_form().
int sockets::socket_data::_server_socket |
Definition at line 46 of file socket_data.h.
int sockets::socket_data::_socket |
Definition at line 34 of file socket_data.h.
Referenced by sockets::socket_minder::evaluate_interest(), sockets::socket_minder::get_sockets(), sockets::socket_minder::handle_pending_connecters(), sockets::socket_minder::push_receives(), sockets::socket_minder::push_sends(), and text_form().