Page Speed Optimization Libraries
1.13.35.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
pagespeed
controller
schedule_rewrite_rpc_context.h
Go to the documentation of this file.
1
// Copyright 2016 Google Inc.
16
17
#ifndef PAGESPEED_CONTROLLER_SCHEDULE_REWRITE_RPC_CONTEXT_H_
18
#define PAGESPEED_CONTROLLER_SCHEDULE_REWRITE_RPC_CONTEXT_H_
19
20
#include <memory>
21
22
#include "pagespeed/controller/controller.grpc.pb.h"
23
#include "
pagespeed/controller/schedule_rewrite_callback.h
"
24
#include "
pagespeed/kernel/base/message_handler.h
"
25
#include "
pagespeed/kernel/base/thread_system.h
"
26
27
namespace
net_instaweb {
28
33
34
class
ScheduleRewriteRpcContext
:
public
ScheduleRewriteContext
{
35
public
:
36
ScheduleRewriteRpcContext
(
37
grpc::CentralControllerRpcService::StubInterface* stub,
38
::grpc::CompletionQueue* queue,
ThreadSystem
* thread_system,
39
MessageHandler
* handler,
ScheduleRewriteCallback
* callback);
40
41
void
MarkSucceeded
()
override
;
42
void
MarkFailed()
override
;
43
44
private
:
45
class
ScheduleRewriteRequestResultRpcClient;
46
49
std::unique_ptr<ScheduleRewriteRequestResultRpcClient> client_;
50
};
51
52
}
53
54
#endif
schedule_rewrite_callback.h
message_handler.h
net_instaweb::ScheduleRewriteCallback
Implementor interface to rewrite scheduling features in CentralController.
Definition:
schedule_rewrite_callback.h:48
net_instaweb::ScheduleRewriteRpcContext::MarkSucceeded
void MarkSucceeded() override
net_instaweb::ScheduleRewriteContext
Passed to RunImpl for implementations of ScheduleRewriteCallback.
Definition:
schedule_rewrite_callback.h:31
net_instaweb::ScheduleRewriteRpcContext
Definition:
schedule_rewrite_rpc_context.h:34
net_instaweb::ThreadSystem
Definition:
thread_system.h:40
net_instaweb::MessageHandler
Definition:
message_handler.h:39
thread_system.h
Generated on Fri Nov 3 2017 20:10:40 for Page Speed Optimization Libraries by
1.8.6