1 #ifndef HTTP_CONNECTION__HPP
2 #define HTTP_CONNECTION__HPP
45 size_t http_max_running) :
80 void Postpone(shared_ptr<CPSGS_Request> request,
81 shared_ptr<CPSGS_Reply> reply,
82 list<string> processor_names);
120 shared_ptr<CPSGS_Reply> reply,
121 list<string> processor_names);
122 void x_Start(shared_ptr<CPSGS_Request> request,
123 shared_ptr<CPSGS_Reply> reply,
124 list<string> processor_names);
bool IsClosed(void) const
list< SBacklogAttributes > m_BacklogRequests
void SetupMaintainTimer(uv_loop_t *tcp_worker_loop)
void x_MaintainBacklog(void)
typename list< shared_ptr< CPSGS_Reply > >::iterator running_list_iterator_t
void DoScheduledMaintain(void)
void PeekAsync(bool chk_data_ready)
void OnClientClosedConnection(void)
void x_Start(shared_ptr< CPSGS_Request > request, shared_ptr< CPSGS_Reply > reply, list< string > processor_names)
static void s_OnBeforeClosedConnection(void *data)
list< shared_ptr< CPSGS_Reply > > m_RunningRequests
uv_timer_t m_ScheduledMaintainTimer
void ScheduleMaintain(void)
void x_MaintainFinished(void)
void x_UnregisterBacklog(backlog_list_iterator_t &it)
void x_RegisterPending(shared_ptr< CPSGS_Request > request, shared_ptr< CPSGS_Reply > reply, list< string > processor_names)
void x_UnregisterRunning(running_list_iterator_t &it)
void OnBeforeClosedConnection(void)
CHttpConnection(size_t http_max_backlog, size_t http_max_running)
typename list< SBacklogAttributes >::iterator backlog_list_iterator_t
void Postpone(shared_ptr< CPSGS_Request > request, shared_ptr< CPSGS_Reply > reply, list< string > processor_names)
void x_CancelBacklog(void)
psg_clock_t::time_point psg_time_point_t
psg_time_point_t m_BacklogStart
shared_ptr< CPSGS_Reply > m_Reply
shared_ptr< CPSGS_Request > m_Request
list< string > m_PreliminaryDispatchedProcessors