37#include <libthreadar/libthreadar.hpp>
41#include "responder.hpp"
44#include "html_page.hpp"
45#include "html_static_url.hpp"
46#include "html_form.hpp"
47#include "html_div.hpp"
48#include "html_table.hpp"
49#include "html_form_fieldset.hpp"
50#include "html_form_input.hpp"
51#include "html_form_radio.hpp"
52#include "html_yes_no_box.hpp"
53#include "html_disconnect.hpp"
81 virtual void on_event(
const std::string & event_name)
override;
88 mutable bool disconnect_req;
89 std::vector<html_form_input *> boxes;
90 std::vector<session::session_summary> sess;
103 void regenerate_table_page();
104 void release_boxes();
105 void kill_selected_sessions()
const;
107 static const std::string css_class_normal_text;
108 static const std::string url_new_session;
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
class answer provides easy means to set an HTTP answer and means to sent it back to a proto_connexion...
Definition: answer.hpp:49
display current existing user sessions and let user kill or change of session
Definition: choose.hpp:62
bool disconnection_requested() const
whether user has requested to disconnect
Definition: choose.hpp:84
virtual answer give_answer(const request &req) override
inherited from responder
Definition: choose.cpp:165
virtual void on_event(const std::string &event_name) override
inherited from actor
Definition: choose.cpp:205
choose()
Definition: choose.cpp:55
void set_owner(const std::string &user)
mandatory call before using other methods (give_answer() in particular)
Definition: choose.cpp:154
html component used for the user to define a has algorithm
Definition: html_disconnect.hpp:49
class html_div is the implementation of
Definition: html_div.hpp:46
html page root component
Definition: html_page.hpp:45
html component implementing the usual hyperlink component
Definition: html_static_url.hpp:45
html component implementing the html table structure
Definition: html_table.hpp:52
html component for user to answer by yes or no to a provided question
Definition: html_yes_no_box.hpp:51
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45
pure virtual class, base class for all classes that can generate an answer to a request
Definition: responder.hpp:46