#include <tcp_connection.h>
Inheritance diagram for CL_TCPConnection:

Public Member Functions | |
| CL_TCPConnection () | |
| Construction:. | |
| CL_TCPConnection (int socket_handle) | |
| ~CL_TCPConnection () | |
| CL_Event * | get_read_event () |
| Attributes:. | |
| CL_Event * | get_write_event () |
| CL_Event * | get_exception_event () |
| void | connect (const CL_String &server, const CL_String &port) |
| Operations:. | |
| void | connect (const CL_String &server, const CL_String &port, const CL_String &source_address, const CL_String &source_port) |
| int | send (const void *data, int len, bool send_all=true) |
| Operations:. | |
| int | receive (void *data, int len, bool receive_all=true) |
| int | peek (void *data, int len) |
| void | send_line (const CL_StringA &line) |
| CL_StringA | receive_line () |
Private Attributes | |
| int | handle |
| Implementation:. | |
| CL_SocketEventHandler * | socket_event_handler |
| CL_Event * | read_event |
| CL_Event * | write_event |
| CL_Event * | exception_event |
|
|
Construction:.
Definition at line 52 of file tcp_connection.cpp. References exception_event, handle, read_event, socket_event_handler, TEXT, and write_event. |
|
|
Definition at line 78 of file tcp_connection.cpp. References TEXT. |
|
|
Definition at line 91 of file tcp_connection.cpp. References exception_event, handle, read_event, socket_event_handler, and write_event. |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
Operations:.
Definition at line 125 of file tcp_connection.cpp. References handle, TEXT, CL_StringHelp::text_to_int(), and CL_StringHelp::text_to_local8(). Referenced by CL_DNSResolver::perform_query(). |
|
|
Definition at line 117 of file tcp_connection.cpp. References exception_event. |
|
|
Attributes:.
Definition at line 107 of file tcp_connection.cpp. References read_event. Referenced by CL_DNSResolver::perform_query(). |
|
|
Definition at line 112 of file tcp_connection.cpp. References write_event. |
|
||||||||||||
|
Implements CL_IODevice. Definition at line 185 of file tcp_connection.cpp. Referenced by receive_line(). |
|
||||||||||||||||
|
Implements CL_IODevice. Definition at line 168 of file tcp_connection.cpp. Referenced by CL_DNSResolver::perform_query(), and receive_line(). |
|
|
Definition at line 202 of file tcp_connection.cpp. |
|
||||||||||||||||
|
Operations:.
Implements CL_IODevice. Definition at line 151 of file tcp_connection.cpp. Referenced by CL_DNSResolver::perform_query(), and send_line(). |
|
|
Definition at line 196 of file tcp_connection.cpp. References send(). |
|
|
Definition at line 93 of file tcp_connection.h. Referenced by CL_TCPConnection(), get_exception_event(), and ~CL_TCPConnection(). |
|
|
Implementation:.
Definition at line 84 of file tcp_connection.h. Referenced by CL_TCPConnection(), connect(), peek(), receive(), send(), and ~CL_TCPConnection(). |
|
|
Definition at line 89 of file tcp_connection.h. Referenced by CL_TCPConnection(), get_read_event(), and ~CL_TCPConnection(). |
|
|
Definition at line 87 of file tcp_connection.h. Referenced by CL_TCPConnection(), and ~CL_TCPConnection(). |
|
|
Definition at line 91 of file tcp_connection.h. Referenced by CL_TCPConnection(), get_write_event(), and ~CL_TCPConnection(). |
1.4.1