|
|
|
@ -113,6 +113,7 @@ class ServiceA final { |
|
|
|
|
virtual ~experimental_async_interface() {} |
|
|
|
|
// MethodA1 leading comment 1 |
|
|
|
|
virtual void MethodA1(::grpc::ClientContext* context, const ::grpc::testing::Request* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) = 0; |
|
|
|
|
virtual void MethodA1(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) = 0; |
|
|
|
|
// MethodA1 trailing comment 1 |
|
|
|
|
// MethodA2 detached leading comment 1 |
|
|
|
|
// |
|
|
|
@ -182,6 +183,7 @@ class ServiceA final { |
|
|
|
|
public StubInterface::experimental_async_interface { |
|
|
|
|
public: |
|
|
|
|
void MethodA1(::grpc::ClientContext* context, const ::grpc::testing::Request* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) override; |
|
|
|
|
void MethodA1(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) override; |
|
|
|
|
void MethodA2(::grpc::ClientContext* context, ::grpc::testing::Response* response, ::grpc::experimental::ClientWriteReactor< ::grpc::testing::Request>* reactor) override; |
|
|
|
|
void MethodA3(::grpc::ClientContext* context, ::grpc::testing::Request* request, ::grpc::experimental::ClientReadReactor< ::grpc::testing::Response>* reactor) override; |
|
|
|
|
void MethodA4(::grpc::ClientContext* context, ::grpc::experimental::ClientBidiReactor< ::grpc::testing::Request,::grpc::testing::Response>* reactor) override; |
|
|
|
@ -714,6 +716,7 @@ class ServiceB final { |
|
|
|
|
virtual ~experimental_async_interface() {} |
|
|
|
|
// MethodB1 leading comment 1 |
|
|
|
|
virtual void MethodB1(::grpc::ClientContext* context, const ::grpc::testing::Request* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) = 0; |
|
|
|
|
virtual void MethodB1(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) = 0; |
|
|
|
|
// MethodB1 trailing comment 1 |
|
|
|
|
}; |
|
|
|
|
virtual class experimental_async_interface* experimental_async() { return nullptr; } |
|
|
|
@ -735,6 +738,7 @@ class ServiceB final { |
|
|
|
|
public StubInterface::experimental_async_interface { |
|
|
|
|
public: |
|
|
|
|
void MethodB1(::grpc::ClientContext* context, const ::grpc::testing::Request* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) override; |
|
|
|
|
void MethodB1(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::grpc::testing::Response* response, std::function<void(::grpc::Status)>) override; |
|
|
|
|
private: |
|
|
|
|
friend class Stub; |
|
|
|
|
explicit experimental_async(Stub* stub): stub_(stub) { } |
|
|
|
|