libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
iqxmlrpc::Http_server_connection Class Reference

Represents server-side HTTP non-blocking connection. More...

#include <http_server.h>

Inheritance diagram for iqxmlrpc::Http_server_connection:
iqnet::Connection iqxmlrpc::Server_connection iqnet::Event_handler

Public Member Functions

 Http_server_connection (const iqnet::Socket &)
 
void set_reactor (iqnet::Reactor_base *r)
 
void post_accept ()
 
void finish ()
 
void handle_input (bool &)
 
void handle_output (bool &)
 
bool catch_in_reactor () const
 Whether reactor should catch its exceptions.
 
void log_exception (const std::exception &)
 Log its exception catched in an external object.
 
void log_unknown_exception ()
 Log its exception catched in an external object.
 
- Public Member Functions inherited from iqnet::Connection
 Connection (const Socket &)
 
virtual void post_connect ()
 
const iqnet::Inet_addrget_peer_addr () const
 
Socket::Handler get_handler () const
 
virtual size_t send (const char *, size_t)
 
virtual size_t recv (char *, size_t)
 
- Public Member Functions inherited from iqnet::Event_handler
virtual bool is_stopper () const
 If this handler used as Reactor stopper.
 
- Public Member Functions inherited from iqxmlrpc::Server_connection
 Server_connection (const iqnet::Inet_addr &)
 
const iqnet::Inet_addrget_peer_addr () const
 
void set_read_sz (size_t)
 
void set_server (Server *s)
 
void schedule_response (http::Packet *)
 

Additional Inherited Members

- Protected Member Functions inherited from iqxmlrpc::Server_connection
http::Packetread_request (const std::string &)
 
- Protected Attributes inherited from iqnet::Connection
Socket sock
 
- Protected Attributes inherited from iqxmlrpc::Server_connection
iqnet::Inet_addr peer_addr
 
Serverserver
 
http::Packet_reader preader
 
size_t read_buf_sz
 
char * read_buf
 
std::string response
 
bool keep_alive
 

Detailed Description

Represents server-side HTTP non-blocking connection.

Member Function Documentation

void Http_server_connection::finish ( )
virtual

Invoked by Reactor when handle_X() sets terminate variable to true.

Reimplemented from iqnet::Connection.


The documentation for this class was generated from the following files: