#include <unix_buffer.H>


Public Member Functions | |
| virtual | ~Cnetwork_connection_methods () |
| void | set_RCVBUF (const int size) |
| void | set_SNDBUF (const int size) |
| int | get_RCVBUF () |
| get buffer size for input | |
| int | get_SNDBUF () |
| get buffer size for output | |
| void | set_RCV_timeout (const int secs, const int u_secs=0) |
| set a connection timeout for receiving data | |
| void | set_SND_timeout (const int secs, const int u_secs=0) |
| set a connection timeout for sending data | |
| int | get_RCV_timeout () |
| get connection timeout for receiving data | |
| int | get_SND_timeout () |
| get connection timeout for sending data | |
| void | set_timeout (const int secs, const int u_secs=0) |
| set a connection timeout for receiving and sending data | |
| void | set_TCP_NODELAY (const bool flag=true) |
| set tcp connection to TCP_NODELAY mode (on/off) | |
| bool | get_TCP_NODELAY () |
| get tcp connection TCP_NODELAY mode (on/off) | |
| void | set_LINGER (const signed int seconds) |
| set linger value (time that a dead connection lingers before it can be reassigned) | |
| signed int | get_LINGER () |
| get linger value (time that a dead connection lingers before it can be reassigned) | |
| const std::string | peer_info () |
| const std::string | socket_info () |
| const std::string | connection_info () |
Definition at line 452 of file unix_buffer.H.
| virtual Cnetwork_connection_methods::~Cnetwork_connection_methods | ( | ) | [inline, virtual] |
Definition at line 455 of file unix_buffer.H.
| void Cnetwork_connection_methods::set_RCVBUF | ( | const int | size | ) | [inline] |
set buffer size for input
| size | new size of input buffer |
Definition at line 466 of file unix_buffer.H.
| void Cnetwork_connection_methods::set_SNDBUF | ( | const int | size | ) | [inline] |
set buffer size for output
| size | new size of output buffer |
Definition at line 481 of file unix_buffer.H.
| int Cnetwork_connection_methods::get_RCVBUF | ( | ) | [inline] |
| int Cnetwork_connection_methods::get_SNDBUF | ( | ) | [inline] |
| void Cnetwork_connection_methods::set_RCV_timeout | ( | const int | secs, | |
| const int | u_secs = 0 | |||
| ) | [inline] |
| void Cnetwork_connection_methods::set_SND_timeout | ( | const int | secs, | |
| const int | u_secs = 0 | |||
| ) | [inline] |
| int Cnetwork_connection_methods::get_RCV_timeout | ( | ) | [inline] |
| int Cnetwork_connection_methods::get_SND_timeout | ( | ) | [inline] |
| void Cnetwork_connection_methods::set_timeout | ( | const int | secs, | |
| const int | u_secs = 0 | |||
| ) | [inline] |
set a connection timeout for receiving and sending data
Definition at line 569 of file unix_buffer.H.
| void Cnetwork_connection_methods::set_TCP_NODELAY | ( | const bool | flag = true |
) | [inline] |
set tcp connection to TCP_NODELAY mode (on/off)
Definition at line 582 of file unix_buffer.H.
Referenced by Cprocess_clients::process_data_stream().
| bool Cnetwork_connection_methods::get_TCP_NODELAY | ( | ) | [inline] |
| void Cnetwork_connection_methods::set_LINGER | ( | const signed int | seconds | ) | [inline] |
set linger value (time that a dead connection lingers before it can be reassigned)
Definition at line 602 of file unix_buffer.H.
| signed int Cnetwork_connection_methods::get_LINGER | ( | ) | [inline] |
get linger value (time that a dead connection lingers before it can be reassigned)
Definition at line 615 of file unix_buffer.H.
| const std::string Cnetwork_connection_methods::peer_info | ( | ) | [inline] |
Definition at line 634 of file unix_buffer.H.
| const std::string Cnetwork_connection_methods::socket_info | ( | ) | [inline] |
Definition at line 644 of file unix_buffer.H.
| const std::string Cnetwork_connection_methods::connection_info | ( | ) | [inline] |
Definition at line 655 of file unix_buffer.H.
Referenced by send_notification(), and wait_for_notification().
1.5.4