class Service

Defined at line 57 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

Descriptor of an RPC service and its various RPC methods

Public Methods

void Service ()

Defined at line 59 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void ~Service ()

Defined at line 60 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

bool has_async_methods ()

Defined at line 62 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

bool has_synchronous_methods ()

Defined at line 71 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

bool has_callback_methods ()

Defined at line 81 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

bool has_generic_methods ()

Defined at line 93 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

Protected Methods

template <class Message>
void RequestAsyncUnary (int index, grpc::ServerContext * context, Message * request, internal::ServerAsyncStreamingInterface * stream, grpc::CompletionQueue * call_cq, grpc::ServerCompletionQueue * notification_cq, void * tag)

Defined at line 104 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void RequestAsyncClientStreaming (int index, grpc::ServerContext * context, internal::ServerAsyncStreamingInterface * stream, grpc::CompletionQueue * call_cq, grpc::ServerCompletionQueue * notification_cq, void * tag)

Defined at line 117 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

template <class Message>
void RequestAsyncServerStreaming (int index, grpc::ServerContext * context, Message * request, internal::ServerAsyncStreamingInterface * stream, grpc::CompletionQueue * call_cq, grpc::ServerCompletionQueue * notification_cq, void * tag)

Defined at line 127 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void RequestAsyncBidiStreaming (int index, grpc::ServerContext * context, internal::ServerAsyncStreamingInterface * stream, grpc::CompletionQueue * call_cq, grpc::ServerCompletionQueue * notification_cq, void * tag)

Defined at line 136 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void AddMethod (internal::RpcServiceMethod * method)

Defined at line 146 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void MarkMethodAsync (int index)

Defined at line 150 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void MarkMethodRaw (int index)

Defined at line 160 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void MarkMethodGeneric (int index)

Defined at line 170 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void MarkMethodStreamed (int index, internal::MethodHandler * streamed_method)

Defined at line 180 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void MarkMethodCallback (int index, internal::MethodHandler * handler)

Defined at line 195 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

void MarkMethodRawCallback (int index, internal::MethodHandler * handler)

Defined at line 207 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

internal::MethodHandler * GetHandler (int index)

Defined at line 219 of file ../../third_party/grpc/src/include/grpcpp/impl/service_type.h

Friends

class ServerInterface
class Server