Logo Search packages:      
Sourcecode: handlersocket version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

dena::hstcpcli Struct Reference

Inheritance diagram for dena::hstcpcli:
Inheritance graph
Collaboration diagram for dena::hstcpcli:
Collaboration graph

List of all members.

Public Member Functions

virtual void close ()
virtual std::string get_error ()
virtual int get_error_code ()
virtual const string_refget_next_row ()
 hstcpcli (const socket_args &args)
virtual int reconnect ()
virtual void request_buf_exec_generic (size_t pst_id, const string_ref &op, const string_ref *kvs, size_t kvslen, uint32_t limit, uint32_t skip, const string_ref &mod_op, const string_ref *mvs, size_t mvslen, const hstcpcli_filter *fils, size_t filslen)
virtual void request_buf_open_index (size_t pst_id, const char *dbn, const char *tbl, const char *idx, const char *retflds, const char *filflds)
virtual int request_send ()
virtual void response_buf_remove ()
virtual int response_recv (size_t &num_flds_r)
virtual bool stable_point ()

Static Public Member Functions

static hstcpcli_ptr create (const socket_args &args)

Private Member Functions

void clear_error ()
int read_more ()
int set_error (int code, const std::string &str)

Private Attributes

size_t cur_row_offset
int error_code
std::string error_str
auto_file fd
std::vector< string_refflds
size_t num_flds
size_t num_req_bufd
size_t num_req_rcvd
size_t num_req_sent
string_buffer readbuf
size_t response_end_offset
socket_args sargs
string_buffer writebuf

Detailed Description

Definition at line 27 of file hstcpcli.cpp.

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

Generated by  Doxygen 1.6.0   Back to index