34 #ifndef GRPCXX_CHANNEL_H 35 #define GRPCXX_CHANNEL_H 51 public std::enable_shared_from_this<Channel>,
61 template <
class InputMessage,
class OutputMessage>
65 const InputMessage& request,
66 OutputMessage* result);
88 #endif // GRPCXX_CHANNEL_H std::string string
Definition: config.h:118
struct grpc_channel grpc_channel
The Channel interface allows creation of Call objects.
Definition: grpc_types.h:54
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call.h:563
grpc_connectivity_state GetState(bool try_to_connect) GRPC_OVERRIDE
Get the current channel state.
Classes that require gRPC to be initialized should inherit from this class.
Definition: grpc_library.h:53
Definition: client_context.h:154
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:42
friend std::shared_ptr< Channel > CreateChannelInternal(const grpc::string &host, grpc_channel *c_channel)
friend Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
Definition: client_unary_call.h:52
Codegen interface for grpc::Channel.
Definition: channel_interface.h:64
A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
Definition: completion_queue.h:97
#define GRPC_FINAL
Definition: config.h:72
Definition: rpc_method.h:43
Did it work? If it didn't, why?
Definition: status.h:45
Channel and Server implement this to allow them to hook performing ops.
Definition: call_hook.h:43
#define GRPC_OVERRIDE
Definition: config.h:78
Channels represent a connection to an endpoint. Created by CreateChannel.
Definition: channel.h:49