class ChannelInterface

Defined at line 71 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/channel_interface.h

Codegen interface for

Public Methods

grpc_connectivity_state GetState (bool try_to_connect)

Get the current channel state. If the channel is in IDLE and

is set to true, try to connect.

void ~ChannelInterface ()

Defined at line 73 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/channel_interface.h

template <typename T>
void NotifyOnStateChange (grpc_connectivity_state last_observed, T deadline, grpc::CompletionQueue * cq, void * tag)

Return the

on

when the channel state is changed or

expires.

needs to called to get the current state.

Defined at line 81 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/channel_interface.h

template <typename T>
bool WaitForStateChange (grpc_connectivity_state last_observed, T deadline)

Blocking wait for channel state change or

expiration.

needs to called to get the current state.

Defined at line 90 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/channel_interface.h

template <typename T>
bool WaitForConnected (T deadline)

Wait for this channel to be connected

Defined at line 97 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/channel_interface.h

Friends

class InterceptedChannel
class DelegatingChannel
class RpcMethod
template <class InputMessage, class OutputMessage>
class CallbackUnaryCallImpl
template <class InputMessage, class OutputMessage>
class BlockingUnaryCallImpl
class ClientCallbackUnaryFactory
template <class W>
class ClientCallbackWriterFactory
template <class R>
class ClientCallbackReaderFactory
template <class W, class R>
class ClientCallbackReaderWriterFactory
class ClientAsyncResponseReaderHelper
template <class W, class R>
class ClientAsyncReaderWriterFactory
template <class W>
class ClientAsyncWriterFactory
template <class R>
class ClientAsyncReaderFactory
template <class W, class R>
class ClientReaderWriter
template <class W>
class ClientWriter
template <class R>
class ClientReader