os: don't hide tx_cap from block-session interface

The 'tx_cap' RPC function is only used at session-creation time. For
this reason, it was not listed in the "official" RPC interface in
'block_session.h'. However, this makes the interface more obscure than
it needs to be. So this patch promotes it to a regular RPC function.

Issue #3092
This commit is contained in:
Norman Feske
2018-12-12 21:22:19 +01:00
parent aa66b5d62f
commit 69d6145f5a
3 changed files with 12 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class Block::Session_rpc_object : public Genode::Rpc_object<Session, Session_rpc
* This method is called by the client via an RPC call at session
* construction time.
*/
Genode::Capability<Tx> _tx_cap() { return _tx.cap(); }
Genode::Capability<Tx> tx_cap() override { return _tx.cap(); }
Tx::Sink *tx_sink() { return _tx.sink(); }
};