Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::MockCentralControllerRpcServiceStub Class Reference

#include "controller_grpc_mocks.h"

Inheritance diagram for net_instaweb::MockCentralControllerRpcServiceStub:

Public Member Functions

 MockCentralControllerRpcServiceStub (Sequence *sequence)
 
 MOCK_METHOD1 (ScheduleExpensiveOperationRaw,::grpc::ClientReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *(::grpc::ClientContext *))
 
 MOCK_METHOD1 (ScheduleRewriteRaw,::grpc::ClientReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *(::grpc::ClientContext *))
 
 MOCK_METHOD3 (AsyncScheduleExpensiveOperationRaw,::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest, net_instaweb::ScheduleExpensiveOperationResponse > *(::grpc::ClientContext *,::grpc::CompletionQueue *, void *))
 
 MOCK_METHOD3 (AsyncScheduleRewriteRaw,::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *(::grpc::ClientContext *,::grpc::CompletionQueue *, void *))
 
void ExpectAsyncScheduleExpensiveOperation (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *rw)
 
void ExpectAsyncScheduleExpensiveOperationFailure (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *rw)
 
void ExpectAsyncScheduleRewrite (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *rw)
 
void ExpectAsyncScheduleRewriteFailure (::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *rw)
 

Detailed Description

Mock for CentralControllerRpcServiceStub. Mostly used just to bootstrap a MockReaderWriterT, this also features deferred execution to mimic gRPC.

Member Function Documentation

void net_instaweb::MockCentralControllerRpcServiceStub::ExpectAsyncScheduleExpensiveOperation ( ::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *  rw)
inline

Configure the stub to invoke the callback and return rw in response to a client initiating a request.

queue

void net_instaweb::MockCentralControllerRpcServiceStub::ExpectAsyncScheduleExpensiveOperationFailure ( ::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleExpensiveOperationRequest,::net_instaweb::ScheduleExpensiveOperationResponse > *  rw)
inline

Configure the stub to invoke the Cancel callback and return rw in response to a client initiating a request.

queue

void net_instaweb::MockCentralControllerRpcServiceStub::ExpectAsyncScheduleRewrite ( ::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *  rw)
inline

Configure the stub to invoke the callback and return rw in response to a client initiating a request.

queue

void net_instaweb::MockCentralControllerRpcServiceStub::ExpectAsyncScheduleRewriteFailure ( ::grpc::ClientAsyncReaderWriterInterface< ::net_instaweb::ScheduleRewriteRequest,::net_instaweb::ScheduleRewriteResponse > *  rw)
inline

Configure the stub to invoke the Cancel callback and return rw in response to a client initiating a request.

queue


The documentation for this class was generated from the following file: