Public Member Functions | |
| void | init (int sock, uint32_t buffer_length) |
| bool | flush () |
| void | end () |
| void | close () |
| bool | peer_addr (char *buf, size_t buflen, uint16_t &) |
| void | keepalive (bool flag) |
| int | get_sd () const |
| void | set_write_timeout (uint32_t timeout) |
| void | set_read_timeout (uint32_t timeout) |
| bool | write (const void *, size_t) |
| bool | write_command (unsigned char command, data_ref header, data_ref body) |
| uint32_t | read () |
Public Attributes | |
| Vio * | vio |
| unsigned char * | buff |
| unsigned char * | buff_end |
| unsigned char * | write_pos |
| unsigned char * | read_pos |
| unsigned long | remain_in_buf |
| unsigned long | length |
| unsigned long | buf_length |
| unsigned long | where_b |
| unsigned long | max_packet |
| unsigned long | max_packet_size |
| unsigned int | pkt_nr |
| unsigned int | compress_pkt_nr |
| unsigned int | write_timeout_ |
| unsigned int | read_timeout_ |
| unsigned int | retry_count |
| char | save_char |
| bool | compress |
| unsigned int | last_errno |
| unsigned char | error_ |
Definition at line 30 of file net_serv.h.
| void drizzle_plugin::NET::init | ( | int | sock, |
| uint32_t | buffer_length | ||
| ) |
Init with packet info.
Definition at line 69 of file net_serv.cc.