Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Classes | Functions | Variables
mir::client::rpc Namespace Reference

Client/Server communication implementation namespace. More...

Namespaces

 detail
 

Classes

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

Functions

std::shared_ptr
< google::protobuf::RpcChannel > 
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< EventSink > const &event_distributor)
 

Variables

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<google::protobuf::RpcChannel> 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< EventSink > const &  event_distributor 
)

Variable Documentation

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014