Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CHANNEL_INTERFACE_H
20 #define GRPCPP_IMPL_CHANNEL_INTERFACE_H
35 template <
class W,
class R>
36 class ClientReaderWriter;
38 template <
class InputMessage,
class OutputMessage>
39 class CallbackUnaryCallImpl;
44 template <
class W,
class R>
47 template <
class W,
class R>
59 namespace experimental {
60 class DelegatingChannel;
61 class ClientSessionReactor;
63 class ClientCallbackSessionImpl;
64 class ClientCallbackSessionFactory;
70 class CallOpSetInterface;
72 class InterceptedChannel;
73 template <
class InputMessage,
class OutputMessage>
74 class BlockingUnaryCallImpl;
92 NotifyOnStateChangeImpl(last_observed, deadline_tp.
raw_time(), cq, tag);
100 return WaitForStateChangeImpl(last_observed, deadline_tp.
raw_time());
104 template <
typename T>
123 template <
class W,
class R>
129 template <
class W,
class R>
132 template <
class W,
class R>
140 template <
class InputMessage,
class OutputMessage>
142 template <
class InputMessage,
class OutputMessage>
154 virtual void* RegisterMethod(
const char* method) = 0;
186 #endif // GRPCPP_IMPL_CHANNEL_INTERFACE_H
Synchronous (blocking) client-side API for doing client-streaming RPCs, where the outgoing message st...
Definition: client_context.h:91
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
Definition: channel_interface.h:45
Definition: client_context.h:111
Straightforward wrapping of the C call object.
Definition: call.h:34
bool WaitForStateChange(grpc_connectivity_state last_observed, T deadline)
Blocking wait for channel state change or deadline expiration.
Definition: channel_interface.h:98
Definition: channel_interface.h:41
Synchronous (blocking) client-side API for doing server-streaming RPCs, where the stream of messages ...
Definition: client_context.h:89
Definition: channel_interface.h:52
A ClientContext allows the person implementing a service client to:
Definition: client_context.h:203
grpc_connectivity_state
Connectivity state of a channel.
Definition: connectivity_state.h:30
Definition: channel_interface.h:48
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:36
Definition: client_context.h:69
bool WaitForConnected(T deadline)
Wait for this channel to be connected.
Definition: channel_interface.h:105
gpr_timespec raw_time()=delete
Definition: delegating_channel.h:29
Codegen interface for grpc::Channel.
Definition: channel_interface.h:79
Definition: async_unary_call.h:79
An InterceptedChannel is available to client Interceptors.
Definition: intercepted_channel.h:35
Definition: client_callback.h:1272
virtual ~ChannelInterface()
Definition: channel_interface.h:81
void NotifyOnStateChange(grpc_connectivity_state last_observed, T deadline, grpc::CompletionQueue *cq, void *tag)
Return the tag on cq when the channel state is changed or deadline expires.
Definition: channel_interface.h:89
Synchronous (blocking) client-side API for bi-directional streaming RPCs, where the outgoing message ...
Definition: client_context.h:93
virtual grpc_connectivity_state GetState(bool try_to_connect)=0
Get the current channel state.
A thin wrapper around grpc_completion_queue (see src/core/lib/surface/completion_queue....
Definition: completion_queue.h:104
Definition: channel_interface.h:50
Definition: client_callback.h:1296
Definition: channel_interface.h:43
Definition: client_callback.h:1397
Definition: memory_allocator.h:33
Descriptor of an RPC method.
Definition: rpc_method.h:29
Analogous to struct timespec.
Definition: time.h:47
@ GRPC_CHANNEL_READY
channel is ready for work
Definition: connectivity_state.h:36
virtual grpc_event_engine::experimental::MemoryAllocator * memory_allocator() const
Definition: channel_interface.h:113
If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec ...
Definition: time.h:45