Page Speed Optimization Libraries
1.13.35.1
|
#include "request_result_rpc_client.h"
Public Member Functions | |
RpcHolder (MessageHandler *handler) | |
Function * | CallbackForAsyncCleanup () |
void | Finish () |
::grpc::ClientContext * | context () |
MessageHandler * | handler () |
ReaderWriter * | rw () |
void | SetReaderWriter (std::unique_ptr< ReaderWriter > rw) |
Holder of various bits of client-side gRPC stuff. Primarily exists to allow a blocking call to something like Done() into an async call to the server.
|
inline |
Takes ownership of "this", ie: You must remove the RpcHolder from any smart pointers because it's now going to delete itself. You should only call one of CallbackForAsyncCleanup() or Finish().
|
inline |
Takes ownership of "this", ie: You must remove the RpcHolder from any smart pointers because it's now going to delete itself. You should only call one of CallbackForAsyncCleanup() or Finish().