![]() |
Webdar 1.0.0
Web user interface to libdar
|
display current existing user sessions and let user kill or change of session More...
#include <choose.hpp>
Public Member Functions | |
choose () | |
choose (const choose &ref)=delete | |
choose (choose &&ref) noexcept=delete | |
choose & | operator= (const choose &ref)=delete |
choose & | operator= (choose &&ref) noexcept=delete |
void | set_owner (const std::string &user) |
mandatory call before using other methods (give_answer() in particular) | |
virtual answer | give_answer (const request &req) override |
inherited from responder More... | |
virtual void | on_event (const std::string &event_name) override |
inherited from actor More... | |
bool | disconnection_requested () const |
whether user has requested to disconnect | |
![]() | |
responder (const responder &ref)=default | |
responder (responder &&ref) noexcept=default | |
responder & | operator= (const responder &ref)=default |
responder & | operator= (responder &&ref) noexcept=default |
void | set_prefix (const chemin &chem) |
used for body_builder object for they have a proper prefix in path | |
const chemin & | get_prefix () const |
get the recorded URI path prefix for body_builder root hierarchy | |
virtual answer | give_answer (const request &req)=0 |
provides a standard mean for inherited class to provide answer to requests More... | |
![]() | |
actor (const actor &ref)=default | |
actor (actor &&ref) noexcept(false)=default | |
actor & | operator= (const actor &ref)=default |
actor & | operator= (actor &&ref) noexcept(false) |
virtual void | on_event (const std::string &event_name)=0 |
implementation in inherited class of the action triggered by the event given in argument More... | |
![]() | |
reference () | |
usual constructor | |
reference (const reference &ref) | |
copy constructor More... | |
reference (reference &&ref) noexcept(false) | |
move constructor (only operational for objects without peering) More... | |
reference & | operator= (const reference &ref) |
assignment operator (only operational for objects without peering) More... | |
reference & | operator= (reference &&ref) noexcept(false) |
move assigment operator More... | |
virtual | ~reference () |
destructor | |
void | peer_with (reference *obj) |
method used to create a relation between two objects More... | |
void | break_peer_with (reference *obj) |
break the peering with the object given as argument | |
bool | is_peer (reference *obj) const |
whether a peering exists with that object | |
bool | is_empty () const |
whether the current object has peering | |
unsigned int | size () const |
the number of peers | |
Additional Inherited Members | |
![]() | |
virtual void | prefix_has_changed () |
hook for inherited class, when the body builder object had its prefix changed More... | |
![]() | |
virtual void | broken_peering_from (reference *obj) |
to be informed when a peer has broke the peering with me More... | |
void | reset_read_peers () const |
reset the peers reading | |
bool | read_next_peer (reference *&peer) const |
display current existing user sessions and let user kill or change of session
choose::choose | ( | ) |
setup of session table page
|
overridevirtual |
inherited from actor
Implements actor.