|
GRPC C++
1.0.0
|
Codegen interface for grpc::Channel. More...
#include <channel_interface.h>
Public Member Functions | |
| virtual | ~ChannelInterface () |
| virtual grpc_connectivity_state | GetState (bool try_to_connect)=0 |
| Get the current channel state. More... | |
| template<typename T > | |
| void | NotifyOnStateChange (grpc_connectivity_state last_observed, T deadline, CompletionQueue *cq, void *tag) |
| Return the tag on cq when the channel state is changed or deadline expires. More... | |
| template<typename T > | |
| bool | WaitForStateChange (grpc_connectivity_state last_observed, T deadline) |
| Blocking wait for channel state change or deadline expiration. More... | |
| template<typename T > | |
| bool | WaitForConnected (T deadline) |
| Wait for this channel to be connected. More... | |
Friends | |
| template<class R > | |
| class | ::grpc::ClientReader |
| template<class W > | |
| class | ::grpc::ClientWriter |
| template<class W , class R > | |
| class | ::grpc::ClientReaderWriter |
| template<class R > | |
| class | ::grpc::ClientAsyncReader |
| template<class W > | |
| class | ::grpc::ClientAsyncWriter |
| template<class W , class R > | |
| class | ::grpc::ClientAsyncReaderWriter |
| template<class R > | |
| class | ::grpc::ClientAsyncResponseReader |
| class | ::grpc::RpcMethod |
| template<class InputMessage , class OutputMessage > | |
| Status | BlockingUnaryCall (ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result) |
Codegen interface for grpc::Channel.
|
inlinevirtual |
|
pure virtual |
Get the current channel state.
If the channel is in IDLE and try_to_connect is set to true, try to connect.
Implemented in grpc::Channel.
|
inline |
Return the tag on cq when the channel state is changed or deadline expires.
GetState needs to called to get the current state.
|
inline |
Wait for this channel to be connected.
|
inline |
Blocking wait for channel state change or deadline expiration.
GetState needs to called to get the current state.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
1.8.11