Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"
26 
27 namespace net_instaweb {
28 
33 
35  public:
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
Definition: expensive_operation_rpc_context.h:34
Implementor interface to ExpensiveOperation features in CentralController.
Definition: expensive_operation_callback.h:46
Definition: thread_system.h:40
Passed to RunImpl for implementations of ExpensiveOperationCallback.
Definition: expensive_operation_callback.h:30
Definition: message_handler.h:39