Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H
20 #define GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H
34 template <
class W,
class R>
37 template <
class InputMessage,
class OutputMessage>
43 template <
class W,
class R>
46 template <
class W,
class R>
59 namespace experimental {
60 class DelegatingChannel;
65 class CallOpSetInterface;
67 class InterceptedChannel;
68 template <
class InputMessage,
class OutputMessage>
112 template <
class W,
class R>
118 template <
class W,
class R>
121 template <
class W,
class R>
128 template <
class InputMessage,
class OutputMessage>
130 template <
class InputMessage,
class OutputMessage>
172 #endif // GRPCPP_IMPL_CODEGEN_CHANNEL_INTERFACE_H
virtual grpc::CompletionQueue * CallbackCQ()
virtual ~ChannelInterface()
virtual internal::Call CreateCallInternal(const internal::RpcMethod &, grpc::ClientContext *, grpc::CompletionQueue *, size_t)
void NotifyOnStateChange(grpc_connectivity_state last_observed, T deadline, grpc::CompletionQueue *cq, void *tag)
#define T(upbtypeconst, upbtype, ctype, default_value)
virtual void NotifyOnStateChangeImpl(grpc_connectivity_state last_observed, gpr_timespec deadline, grpc::CompletionQueue *cq, void *tag)=0
bool WaitForStateChange(grpc_connectivity_state last_observed, T deadline)
Codegen interface for grpc::Channel.
Descriptor of an RPC method.
static void * tag(intptr_t t)
virtual bool WaitForStateChangeImpl(grpc_connectivity_state last_observed, gpr_timespec deadline)=0
virtual void * RegisterMethod(const char *method)=0
Straightforward wrapping of the C call object.
virtual internal::Call CreateCall(const internal::RpcMethod &method, grpc::ClientContext *context, grpc::CompletionQueue *cq)=0
grpc::ClientContext context
virtual grpc_connectivity_state GetState(bool try_to_connect)=0
bool WaitForConnected(T deadline)
Wait for this channel to be connected.
gpr_timespec raw_time()=delete
virtual void PerformOpsOnCall(internal::CallOpSetInterface *ops, internal::Call *call)=0
static grpc_completion_queue * cq
static struct rpc_state state
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:44