Implement first RPC commands to install/launch apps
This commit is contained in:
parent
4d94de8507
commit
ed23744a17
26 changed files with 921 additions and 12 deletions
|
|
@ -40,6 +40,7 @@ int Daemon::run() {
|
|||
});
|
||||
|
||||
auto host_connector = std::make_shared<HostConnector>();
|
||||
host_connector->start();
|
||||
|
||||
trap->run();
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ void MessageProcessor::dispatch(bridge::Invocation const& invocation) {
|
|||
invoke(this, server_.get(), &Server::install_application, invocation);
|
||||
else if (invocation.method_name() == "launch_application")
|
||||
invoke(this, server_.get(), &Server::launch_application, invocation);
|
||||
else if (invocation.method_name() == "set_dns_servers")
|
||||
invoke(this, server_.get(), &Server::set_dns_servers, invocation);
|
||||
}
|
||||
|
||||
void MessageProcessor::process_event_sequence(const std::string&) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue