Mir
Namespaces | Classes | Functions | Variables
mir::client::rpc Namespace Reference

Client/Server communication implementation namespace. More...

Namespaces

 detail
 

Classes

class  DisplayServer
 
class  DisplayServerDebug
 
class  MirBasicRpcChannel
 
class  MirProtobufRpcChannel
 
class  NullRpcReport
 
class  RpcReport
 
class  StreamSocketTransport
 
class  StreamTransport
 Responsible for shuttling bytes to and from the server. More...
 
class  TransportObservers
 

Functions

std::shared_ptr< mir::client::rpc::MirBasicRpcChannelmake_rpc_channel (std::string const &name, std::shared_ptr< SurfaceMap > const &map, std::shared_ptr< DisplayConfiguration > const &disp_conf, std::shared_ptr< RpcReport > const &rpc_report, std::shared_ptr< LifecycleControl > const &lifecycle_control, std::shared_ptr< PingHandler > const &ping_handler, std::shared_ptr< EventSink > const &event_distributor)
 

Variables

class mir::client::rpc::MirBasicRpcChannel fd_prefix
 

Detailed Description

Client/Server communication implementation namespace.

Theory of operation:
The RPC layer is built in two parts: the transport layer and the protocol layer.

The transport layer handles moving bytes and file descriptors between the client and the server, notifying when data is available, and notifying when the link has been disconnected..

The protocol layer is responsible for mediating between the rest of the code and the transport layer. It provides an RPC interface built upon the transport.

Function Documentation

std::shared_ptr<mir::client::rpc::MirBasicRpcChannel> mir::client::rpc::make_rpc_channel ( std::string const &  name,
std::shared_ptr< SurfaceMap > const &  map,
std::shared_ptr< DisplayConfiguration > const &  disp_conf,
std::shared_ptr< RpcReport > const &  rpc_report,
std::shared_ptr< LifecycleControl > const &  lifecycle_control,
std::shared_ptr< PingHandler > const &  ping_handler,
std::shared_ptr< EventSink > const &  event_distributor 
)

Variable Documentation

class mir::client::rpc::MirBasicRpcChannel mir::client::rpc::fd_prefix

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015