GRPC C++  1.0.0
Public Member Functions | Protected Member Functions | Friends
grpc::Service Class Reference

#include <service_type.h>

Public Member Functions

 Service ()
 
virtual ~Service ()
 
bool has_async_methods () const
 
bool has_synchronous_methods () const
 
bool has_generic_methods () const
 

Protected Member Functions

template<class Message >
void RequestAsyncUnary (int index, ServerContext *context, Message *request, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
 
void RequestAsyncClientStreaming (int index, ServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
 
template<class Message >
void RequestAsyncServerStreaming (int index, ServerContext *context, Message *request, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
 
void RequestAsyncBidiStreaming (int index, ServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
 
void AddMethod (RpcServiceMethod *method)
 
void MarkMethodAsync (int index)
 
void MarkMethodGeneric (int index)
 

Friends

class Server
 
class ServerInterface
 

Constructor & Destructor Documentation

grpc::Service::Service ( )
inline
virtual grpc::Service::~Service ( )
inlinevirtual

Member Function Documentation

void grpc::Service::AddMethod ( RpcServiceMethod method)
inlineprotected
bool grpc::Service::has_async_methods ( ) const
inline
bool grpc::Service::has_generic_methods ( ) const
inline
bool grpc::Service::has_synchronous_methods ( ) const
inline
void grpc::Service::MarkMethodAsync ( int  index)
inlineprotected
void grpc::Service::MarkMethodGeneric ( int  index)
inlineprotected
void grpc::Service::RequestAsyncBidiStreaming ( int  index,
ServerContext context,
ServerAsyncStreamingInterface stream,
CompletionQueue call_cq,
ServerCompletionQueue notification_cq,
void *  tag 
)
inlineprotected
void grpc::Service::RequestAsyncClientStreaming ( int  index,
ServerContext context,
ServerAsyncStreamingInterface stream,
CompletionQueue call_cq,
ServerCompletionQueue notification_cq,
void *  tag 
)
inlineprotected
template<class Message >
void grpc::Service::RequestAsyncServerStreaming ( int  index,
ServerContext context,
Message *  request,
ServerAsyncStreamingInterface stream,
CompletionQueue call_cq,
ServerCompletionQueue notification_cq,
void *  tag 
)
inlineprotected
template<class Message >
void grpc::Service::RequestAsyncUnary ( int  index,
ServerContext context,
Message *  request,
ServerAsyncStreamingInterface stream,
CompletionQueue call_cq,
ServerCompletionQueue notification_cq,
void *  tag 
)
inlineprotected

Friends And Related Function Documentation

friend class Server
friend
friend class ServerInterface
friend

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