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
expensive_operation_rpc_context.h
Go to the documentation of this file.
1
// Copyright 2016 Google Inc.
16
17
#ifndef PAGESPEED_CONTROLLER_EXPENSIVE_OPERATION_RPC_CONTEXT_H_
18
#define PAGESPEED_CONTROLLER_EXPENSIVE_OPERATION_RPC_CONTEXT_H_
19
20
#include <memory>
21
22
#include "pagespeed/controller/controller.grpc.pb.h"
23
#include "
pagespeed/controller/expensive_operation_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
ExpensiveOperationRpcContext
:
public
ExpensiveOperationContext
{
35
public
:
36
ExpensiveOperationRpcContext
(
37
grpc::CentralControllerRpcService::StubInterface* stub,
38
::grpc::CompletionQueue* queue,
ThreadSystem
* thread_system,
39
MessageHandler
* handler,
ExpensiveOperationCallback
* callback);
40
41
void
Done
()
override
;
42
43
private
:
44
class
ExpensiveOperationRequestResultRpcClient;
45
47
std::unique_ptr<ExpensiveOperationRequestResultRpcClient> client_;
48
};
49
50
}
51
52
#endif
message_handler.h
expensive_operation_callback.h
net_instaweb::ExpensiveOperationRpcContext
Definition:
expensive_operation_rpc_context.h:34
net_instaweb::ExpensiveOperationRpcContext::Done
void Done() override
net_instaweb::ExpensiveOperationCallback
Implementor interface to ExpensiveOperation features in CentralController.
Definition:
expensive_operation_callback.h:46
net_instaweb::ThreadSystem
Definition:
thread_system.h:40
net_instaweb::ExpensiveOperationContext
Passed to RunImpl for implementations of ExpensiveOperationCallback.
Definition:
expensive_operation_callback.h:30
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