#include <astxx/manager/action/login.h>


| login::error | if there is an error logging in |
Definition at line 40 of file login.h.
Public Member Functions | |
| message::action | action () const |
| Format this action as a message::action. | |
| virtual void | action_id (const std::string &id) |
| Set the ActionID for this action. | |
| virtual std::string | action_id () const |
| Get the ActionID for this action. | |
| message::response | handle_response (message::response response) |
| Handle the response to the login command. | |
| login (const std::string &username, const std::string &secret) | |
| Construct a login action. | |
| message::response | operator() (connection &c) |
| Send this action over this connection and handle the response. | |
Classes | |
| class | error |
| An authentication error. More... | |
| astxx::manager::action::login::login | ( | const std::string & | username, | |
| const std::string & | secret | |||
| ) | [inline] |
| message::action astxx::manager::action::login::action | ( | ) | const [inline, virtual] |
Format this action as a message::action.
Implements astxx::manager::basic_action.
| virtual std::string astxx::manager::basic_action::action_id | ( | ) | const [inline, virtual, inherited] |
Get the ActionID for this action.
Definition at line 62 of file basic_action.h.
Referenced by astxx::manager::action::status::action(), and astxx::manager::connection::send_action_async().
| message::response astxx::manager::action::login::handle_response | ( | message::response | response | ) | [inline, virtual] |
Handle the response to the login command.
| response | the response from Asterisk |
| login::error | if the login failed |
Reimplemented from astxx::manager::basic_action.
Definition at line 70 of file login.h.
References astxx::manager::basic_action::handle_response().
| message::response astxx::manager::basic_action::operator() | ( | connection & | c | ) | [inherited] |
Send this action over this connection and handle the response.
| c | the connection to use |
Definition at line 103 of file basic_action.cc.
References astxx::manager::basic_action::handle_response().
1.5.6