Page Speed Optimization Libraries
1.13.35.1
|
#include "schedule_rewrite_rpc_context.h"
Public Member Functions | |
ScheduleRewriteRpcContext (grpc::CentralControllerRpcService::StubInterface *stub,::grpc::CompletionQueue *queue, ThreadSystem *thread_system, MessageHandler *handler, ScheduleRewriteCallback *callback) | |
void | MarkSucceeded () override |
void | MarkFailed () override |
ScheduleRewriteContext implementation for use with gRPC. All of the interesting code is in ScheduleRewriteRequestResultRpcClient (in the .cc file), this is just a wrapper to adapt it onto ScheduleRewriteContext.
|
overridevirtual |
Mark the rewrite operation as complete. MarkSucceeded will be automatically invoked at destruction if neither is explicitly called.
Implements net_instaweb::ScheduleRewriteContext.