aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/channel.h
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-06-21 15:45:05 -0700
committerGravatar Vijay Pai <vpai@google.com>2017-07-10 14:33:53 -0700
commitc0baec60a1ca380425c5514d1df584a63b646305 (patch)
tree064d6aa900b778640e4ce6493fb9e596c1e3ebad /include/grpc++/channel.h
parent6c1418e1dd7f8fe770531bcc9ac821fbf1ae5f1b (diff)
Internalize structs and methods meant for being exposed through codegen
or that interface with core and are only for internal use
Diffstat (limited to 'include/grpc++/channel.h')
-rw-r--r--include/grpc++/channel.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/grpc++/channel.h b/include/grpc++/channel.h
index c50091d6ac..5ba3c591f0 100644
--- a/include/grpc++/channel.h
+++ b/include/grpc++/channel.h
@@ -32,7 +32,7 @@ struct grpc_channel;
namespace grpc {
/// Channels represent a connection to an endpoint. Created by \a CreateChannel.
class Channel final : public ChannelInterface,
- public CallHook,
+ public internal::CallHook,
public std::enable_shared_from_this<Channel>,
private GrpcLibraryCodegen {
public:
@@ -52,7 +52,7 @@ class Channel final : public ChannelInterface,
private:
template <class InputMessage, class OutputMessage>
friend Status BlockingUnaryCall(ChannelInterface* channel,
- const RpcMethod& method,
+ const internal::RpcMethod& method,
ClientContext* context,
const InputMessage& request,
OutputMessage* result);
@@ -60,9 +60,11 @@ class Channel final : public ChannelInterface,
const grpc::string& host, grpc_channel* c_channel);
Channel(const grpc::string& host, grpc_channel* c_channel);
- Call CreateCall(const RpcMethod& method, ClientContext* context,
- CompletionQueue* cq) override;
- void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) override;
+ internal::Call CreateCall(const internal::RpcMethod& method,
+ ClientContext* context,
+ CompletionQueue* cq) override;
+ void PerformOpsOnCall(internal::CallOpSetInterface* ops,
+ internal::Call* call) override;
void* RegisterMethod(const char* method) override;
void NotifyOnStateChangeImpl(grpc_connectivity_state last_observed,