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

Public Member Functions | Public Attributes

dena::hstcpsvr_conn Struct Reference

Inheritance diagram for dena::hstcpsvr_conn:
Inheritance graph
Collaboration diagram for dena::hstcpsvr_conn:
Collaboration graph

List of all members.

Public Member Functions

int accept (const hstcpsvr_shared_c &cshared)
bool closed () const
virtual const prep_stmtdbcb_get_prep_stmt (size_t pst_id) const
virtual void dbcb_resp_begin (size_t num_flds)
virtual void dbcb_resp_cancel ()
virtual void dbcb_resp_end ()
virtual void dbcb_resp_entry (const char *fld, size_t fldlen)
virtual void dbcb_resp_short (uint32_t code, const char *msg)
virtual void dbcb_resp_short_num (uint32_t code, uint32_t value)
virtual void dbcb_resp_short_num64 (uint32_t code, uint64_t value)
virtual void dbcb_set_prep_stmt (size_t pst_id, const prep_stmt &v)
bool ok_to_close () const
bool read_more (bool *more_r=0)
void reset ()
bool write_more (bool *more_r=0)

Public Attributes

sockaddr_storage addr
socklen_t addr_len
bool authorized
hstcpsvr_conns_type::iterator conns_iter
dbconnstate cstate
std::string err
auto_file fd
time_t nb_last_io
bool nonblocking
bool read_finished
size_t readsize
bool write_finished

Detailed Description

Definition at line 58 of file hstcpsvr_worker.cpp.

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

Generated by  Doxygen 1.6.0   Back to index