#include <async_server_runner.h>
◆ AsyncServerRunner()
mir_test_framework::AsyncServerRunner::AsyncServerRunner |
( |
| ) |
|
◆ ~AsyncServerRunner()
mir_test_framework::AsyncServerRunner::~AsyncServerRunner |
( |
| ) |
|
|
noexcept |
◆ add_to_environment()
void mir_test_framework::AsyncServerRunner::add_to_environment |
( |
char const * |
key, |
|
|
char const * |
value |
|
) |
| |
◆ connection()
auto mir_test_framework::AsyncServerRunner::connection |
( |
int |
fd | ) |
-> std::string |
- Returns
- a connection string for a client to connect to the server
◆ new_connection()
auto mir_test_framework::AsyncServerRunner::new_connection |
( |
| ) |
-> std::string |
- Returns
- a connection string for a new client to connect to the server
◆ override_window_management_policy()
template<typename Policy , typename ... Args>
void mir_test_framework::AsyncServerRunner::override_window_management_policy |
( |
Args &... |
args | ) |
|
|
inline |
◆ start_server()
void mir_test_framework::AsyncServerRunner::start_server |
( |
| ) |
|
Starts the server on a new thread.
◆ stop_server()
void mir_test_framework::AsyncServerRunner::stop_server |
( |
| ) |
|
Stops the server and joins thread.
◆ wait_for_server_exit()
void mir_test_framework::AsyncServerRunner::wait_for_server_exit |
( |
| ) |
|
Wait for the server to exit and joins thread.
◆ server
mir::Server mir_test_framework::AsyncServerRunner::server |
The documentation for this class was generated from the following file:
Copyright © 2012-2018
Canonical Ltd.
Generated on Sat Mar 31 14:22:42 UTC 2018