asio-grpc v3.4.0
Asynchronous gRPC with Asio/unified executors
Loading...
Searching...
No Matches
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.
 
const executor_typeget_scheduler () const noexcept
 Get the scheduler.
 

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
inlinenodiscardnoexcept

Get the executor.

Thread-safe

◆ get_scheduler()

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

Get the scheduler.

Thread-safe

Since
2.9.0