Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Static Public Member Functions | Protected Member Functions | Friends | List of all members
net_instaweb::RequestResultRpcHandler< HandlerT, ControllerT, AsyncServiceT, RequestT, ResponseT > Class Template Referenceabstract
Inheritance diagram for net_instaweb::RequestResultRpcHandler< HandlerT, ControllerT, AsyncServiceT, RequestT, ResponseT >:
net_instaweb::RpcHandler< AsyncServiceT, RequestT, ResponseT > net_instaweb::RefCounted< RpcHandler< AsyncServiceT, RequestT, ResponseT > >

Public Types

typedef RefCountedPtr
< RequestResultRpcHandler
RefPtr
 

Static Public Member Functions

static void CreateAndStart (AsyncServiceT *service,::grpc::ServerCompletionQueue *cq, ControllerT *controller)
 

Protected Member Functions

 RequestResultRpcHandler (AsyncServiceT *service,::grpc::ServerCompletionQueue *cq, ControllerT *controller)
 
void Finish (const ::grpc::Status &status)
 Hide the parent implementation so we can frob our own state machine.
 
ControllerT * controller ()
 
- Protected Member Functions inherited from net_instaweb::RpcHandler< AsyncServiceT, RequestT, ResponseT >
 RpcHandler (AsyncServiceT *service,::grpc::ServerCompletionQueue *cq)
 
bool Write (const ResponseT &resp)
 
bool Finish (const ::grpc::Status &status)
 
void Start ()
 

Friends

class NotifyClientCallback
 
class RequestResultRpcHandlerTest
 

Additional Inherited Members

- Public Member Functions inherited from net_instaweb::RefCounted< RpcHandler< AsyncServiceT, RequestT, ResponseT > >
void Release ()
 
void AddRef ()
 
bool HasOneRef ()
 
- Protected Types inherited from net_instaweb::RpcHandler< AsyncServiceT, RequestT, ResponseT >
typedef
::grpc::ServerAsyncReaderWriter
< ResponseT, RequestT > 
ReaderWriterT
 

Member Function Documentation

template<typename HandlerT, typename ControllerT, typename AsyncServiceT, typename RequestT, typename ResponseT>
static void net_instaweb::RequestResultRpcHandler< HandlerT, ControllerT, AsyncServiceT, RequestT, ResponseT >::CreateAndStart ( AsyncServiceT *  service,
::grpc::ServerCompletionQueue *  cq,
ControllerT *  controller 
)
inlinestatic

Call this to create a handler and add it to the gRPC event loop. It will free itself.


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