17 #ifndef PAGESPEED_CONTROLLER_SCHEDULE_REWRITE_RPC_HANDLER_H_
18 #define PAGESPEED_CONTROLLER_SCHEDULE_REWRITE_RPC_HANDLER_H_
20 #include "pagespeed/controller/controller.pb.h"
21 #include "pagespeed/controller/controller.grpc.pb.h"
30 namespace net_instaweb {
49 ScheduleRewriteRpcHandler, ScheduleRewriteController,
50 grpc::CentralControllerRpcService::AsyncService,
51 ScheduleRewriteRequest, ScheduleRewriteResponse> {
54 grpc::CentralControllerRpcService::AsyncService* service,
60 void HandleClientResult(
const ScheduleRewriteRequest& req)
override;
63 void InitResponder(grpc::CentralControllerRpcService::AsyncService* service,
64 ::grpc::ServerContext* ctx, ReaderWriterT* responder,
65 ::grpc::ServerCompletionQueue* cq,
66 void* callback)
override;
73 friend class ScheduleRewriteRpcHandlerTest;
Definition: function.h:47
void HandleClientRequest(const ScheduleRewriteRequest &req, Function *cb) override
RequestResultRpcHandler implementation.
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
void HandleOperationFailed() override
Definition: schedule_rewrite_rpc_handler.h:47
void InitResponder(grpc::CentralControllerRpcService::AsyncService *service,::grpc::ServerContext *ctx, ReaderWriterT *responder,::grpc::ServerCompletionQueue *cq, void *callback) override
Definition: request_result_rpc_handler.h:46
Definition: schedule_rewrite_controller.h:30