class Service

Defined at line 58 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

Descriptor of an RPC service and its various RPC methods

Public Methods

void Service ()

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

void ~Service ()

Defined at line 61 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

bool has_async_methods ()

Defined at line 63 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

bool has_synchronous_methods ()

Defined at line 72 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

bool has_callback_methods ()

Defined at line 82 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

bool has_generic_methods ()

Defined at line 94 of file ../../third_party/grpc-migrating/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 105 of file ../../third_party/grpc-migrating/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 118 of file ../../third_party/grpc-migrating/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 128 of file ../../third_party/grpc-migrating/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 137 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

void AddMethod (internal::RpcServiceMethod * method)

Defined at line 147 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

void MarkMethodAsync (int index)

Defined at line 151 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

void MarkMethodRaw (int index)

Defined at line 161 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

void MarkMethodGeneric (int index)

Defined at line 171 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

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

Defined at line 181 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

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

Defined at line 196 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

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

Defined at line 208 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

internal::MethodHandler * GetHandler (int index)

Defined at line 220 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/service_type.h

Friends

class ServerInterface
class Server