19 #ifndef GRPCPP_CHANNEL_H 20 #define GRPCPP_CHANNEL_H 36 namespace experimental {
46 public std::enable_shared_from_this<Channel>,
63 template <
class InputMessage,
class OutputMessage>
66 friend std::shared_ptr<Channel> CreateChannelInternal(
69 std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>
70 interceptor_creators);
74 std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>
75 interceptor_creators);
82 void* RegisterMethod(
const char* method)
override;
94 size_t interceptor_pos)
override;
108 std::vector<std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>
109 interceptor_creators_;
114 #endif // GRPCPP_CHANNEL_H
std::string string
Definition: config.h:35
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:62
Classes that require gRPC to be initialized should inherit from this class.
Definition: grpc_library.h:38
A ClientContext allows the person implementing a service client to:
Definition: client_context.h:165
Descriptor of an RPC method.
Definition: rpc_method.h:29
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:27
An InterceptedChannel is available to client Interceptors.
Definition: intercepted_channel.h:34
An Alarm posts the user provided tag to its associated completion queue upon expiry or cancellation...
Definition: alarm.h:33
Codegen interface for grpc::Channel.
Definition: channel_interface.h:60
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue.h).
Definition: completion_queue.h:95
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call_op_set_interface.h:34
Definition: channel_interface.h:45
Analogous to struct timespec.
Definition: gpr_types.h:47
This is an interface that Channel and Server implement to allow them to hook performing ops...
Definition: call_hook.h:30
void ChannelResetConnectionBackoff(Channel *channel)
Resets the channel's connection backoff.
Straightforward wrapping of the C call object.
Definition: call.h:36
Channels represent a connection to an endpoint. Created by CreateChannel.
Definition: channel.h:44