#include <mir_protobuf_rpc_channel.h>
|
mir::protobuf::wire::Invocation | invocation_for (google::protobuf::MethodDescriptor const *method, google::protobuf::Message const *request, size_t num_side_channel_fds) |
|
int | next_id () |
|
mir::client::rpc::MirProtobufRpcChannel::~MirProtobufRpcChannel |
( |
| ) |
|
|
default |
Dispatch one pending event.
- Parameters
-
[in] | event | The set of events current on the file-descriptor |
- Returns
- False iff no more events will be produced by this Dispatchable. Dispatch should no longer be called.
- Note
- This will dispatch at most one event. If there are multiple events specified in event (eg: readable | remote_closed) then dispatch will process only one.
-
It is harmless to call dispatch() with an event that does not contain any of the events from relevant_events(). The function will do nothing in such a case.
-
An implementation of dispatch() MUST handle FdEvent::error, if only to return false and terminate further event dispatch.
Implements mir::dispatch::Dispatchable.
void mir::client::rpc::MirProtobufRpcChannel::on_data_available |
( |
| ) |
|
|
overridevirtual |
void mir::client::rpc::MirProtobufRpcChannel::on_disconnected |
( |
| ) |
|
|
overridevirtual |
Called by the Transport when the connection to the server has been broken.
- Note
- This is not guaranteed to be triggered exactly once; it may not fire during destruction of the Transport, or it may fire multiple times.
Implements mir::client::rpc::StreamTransport::Observer.
md::FdEvents mir::client::rpc::MirProtobufRpcChannel::relevant_events |
( |
| ) |
const |
|
overridevirtual |
mir::Fd mir::client::rpc::MirProtobufRpcChannel::watch_fd |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015