feisty meow concerns codebase  2.140
sockets::socket_data Class Reference

#include <socket_data.h>

Collaboration diagram for sockets::socket_data:

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
 

Detailed Description

Definition at line 31 of file socket_data.h.

Constructor & Destructor Documentation

◆ socket_data()

sockets::socket_data::socket_data ( int  socket = 0,
bool  server = true,
int  server_socket = 0,
bool  connected_mode = true 
)
inline

Definition at line 51 of file socket_data.h.

◆ ~socket_data()

sockets::socket_data::~socket_data ( )
inline

Definition at line 56 of file socket_data.h.

Member Function Documentation

◆ client()

bool sockets::socket_data::client ( ) const
inline

Definition at line 59 of file socket_data.h.

References _is_server.

◆ server()

bool sockets::socket_data::server ( ) const
inline

Definition at line 58 of file socket_data.h.

References _is_server.

◆ text_form()

Member Data Documentation

◆ _connected_mode

bool sockets::socket_data::_connected_mode

Definition at line 47 of file socket_data.h.

Referenced by sockets::socket_minder::push_receives().

◆ _connection_pending

◆ _is_server

bool sockets::socket_data::_is_server

◆ _last_conn_alert

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().

◆ _partially_received

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().

◆ _partially_sent

◆ _receive_buffer

basis::byte_array sockets::socket_data::_receive_buffer

Definition at line 37 of file socket_data.h.

Referenced by sockets::socket_minder::push_receives().

◆ _registered_interests

◆ _server_socket

int sockets::socket_data::_server_socket

Definition at line 46 of file socket_data.h.

◆ _socket


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