asio-grpc v3.4.3
Asynchronous gRPC with Asio/unified executors
|
Allocated ServerRPC created by register_callback_rpc_handler. More...
#include <agrpc/server_rpc_ptr.hpp>
Public Types | |
using | ServerRPC = ServerRPCT |
The ServerRPC type. | |
Public Member Functions | |
ServerRPCPtr ()=default | |
Default constructor. | |
ServerRPCT & | operator* () noexcept |
Get reference to underlying ServerRPC. | |
const ServerRPCT & | operator* () const noexcept |
Get reference to underlying ServerRPC (const overload) | |
ServerRPCT * | operator-> () noexcept |
Access underlying ServerRPC. | |
const ServerRPCT * | operator-> () const noexcept |
Access underlying ServerRPC (const overload) | |
operator bool () const noexcept | |
Check whether this pointer owns a ServerRPC. | |
decltype(auto) | request () noexcept |
Get client's initial request message. | |
decltype(auto) | request () const noexcept |
Get client's initial request message (const overload) | |
Friends | |
void | swap (ServerRPCPtr &lhs, ServerRPCPtr &rhs) noexcept |
Swap the contents of two ServerRPCPtr. | |
Allocated ServerRPC created by register_callback_rpc_handler.
|
default |
Default constructor.
The only valid operations after construction are move-assignment, operator bool, swap and destruction.
|
inlineexplicitnoexcept |
Check whether this pointer owns a ServerRPC.
|
friend |
Swap the contents of two ServerRPCPtr.