
This is a functior to wait for a response.
response_waiter rw(connection); connection(action, boost::ref(rw)); message::response r = rw.wait();
Definition at line 42 of file connection.cc.
Public Member Functions | |
| void | operator() (message::response r) |
| The response handling function. | |
| response_waiter (manager::connection &connection) | |
| Constructor. | |
| message::response | wait () const |
| Wait for a response for this functor. | |
| astxx::manager::response_waiter::response_waiter | ( | manager::connection & | connection | ) | [inline] |
Constructor.
| connection | the connection to watch |
Definition at line 47 of file connection.cc.
| void astxx::manager::response_waiter::operator() | ( | message::response | r | ) | [inline] |
The response handling function.
| r | the response to handle |
Definition at line 54 of file connection.cc.
| message::response astxx::manager::response_waiter::wait | ( | ) | const [inline] |
Wait for a response for this functor.
Definition at line 63 of file connection.cc.
Referenced by astxx::manager::connection::send_action().
1.5.6