Mir
Public Member Functions | List of all members
mir_test_framework::ServerRunner Struct Referenceabstract

Utility for running Mir server in test process. More...

#include <server_runner.h>

Inheritance diagram for mir_test_framework::ServerRunner:
[legend]

Public Member Functions

 ServerRunner ()
 
virtual ~ServerRunner ()
 
void start_server ()
 Starts the server The method is synchronous, i.e., it returns only after the server has started. More...
 
void stop_server ()
 Stops the server The method is synchronous, i.e., it returns only after the server has stopped. More...
 
std::string new_connection ()
 
std::string new_prompt_connection ()
 

Detailed Description

Utility for running Mir server in test process.

Constructor & Destructor Documentation

◆ ServerRunner()

mir_test_framework::ServerRunner::ServerRunner ( )

◆ ~ServerRunner()

virtual mir_test_framework::ServerRunner::~ServerRunner ( )
virtual

Member Function Documentation

◆ new_connection()

std::string mir_test_framework::ServerRunner::new_connection ( )
Returns
a connection string for a new client to connect to the server

◆ new_prompt_connection()

std::string mir_test_framework::ServerRunner::new_prompt_connection ( )
Returns
a connection string for a new client to connect to the prompt server

◆ start_server()

void mir_test_framework::ServerRunner::start_server ( )

Starts the server The method is synchronous, i.e., it returns only after the server has started.

◆ stop_server()

void mir_test_framework::ServerRunner::stop_server ( )

Stops the server The method is synchronous, i.e., it returns only after the server has stopped.


The documentation for this struct was generated from the following file:

Copyright © 2012-2018 Canonical Ltd.
Generated on Thu Mar 15 13:04:52 UTC 2018