asio-grpc v3.1.0
Asynchronous gRPC with Asio/unified executors
agrpc::detail::RPCExecutorBase< Executor > Class Template Reference

RPC's executor base. More...

#include <agrpc/detail/rpc_executor_base.hpp>

+ Inheritance diagram for agrpc::detail::RPCExecutorBase< Executor >:

Public Types

using executor_type = Executor
 The executor type.
 

Public Member Functions

const executor_typeget_executor () const noexcept
 Get the executor. More...
 
const executor_typeget_scheduler () const noexcept
 Get the scheduler. More...
 

Friends

template<auto , class >
class agrpc::ClientRPC
 
template<auto , class , class >
class agrpc::ServerRPC
 

Detailed Description

template<class Executor>
class agrpc::detail::RPCExecutorBase< Executor >

RPC's executor base.

Since
2.1.0

Member Function Documentation

◆ get_executor()

template<class Executor >
const executor_type & agrpc::detail::RPCExecutorBase< Executor >::get_executor ( ) const
inlinenoexcept

Get the executor.

Thread-safe

◆ get_scheduler()

template<class Executor >
const executor_type & agrpc::detail::RPCExecutorBase< Executor >::get_scheduler ( ) const
inlinenoexcept

Get the scheduler.

Thread-safe

Since
2.9.0