Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
util::rpc::ServiceDescriptor Class Referenceabstract

Classes

struct  Method
 
struct  MethodOptions
 

Public Types

using Message = ::google::protobuf::Message
 
using StreamItemWriter = std::function< void(const Message *)>
 
using RpcMethodCb = std::function< util::Status(const Message &, Message *msg) noexcept >
 
using RpcStreamMethodCb = std::function< util::Status(const Message &, StreamItemWriter) noexcept >
 

Public Member Functions

virtual size_t GetMethodByHash (absl::string_view method) const =0
 
size_t size () const
 
void SetOptions (size_t index, const MethodOptions &opts)
 
const Methodmethod (size_t i) const
 

Protected Attributes

std::vector< Methodmethods_
 

Detailed Description

Definition at line 19 of file service_descriptor.h.


The documentation for this class was generated from the following files: