GRPC Core
9.0.0
|
A proxy object used by the resolver to return results to the client channel. More...
#include <resolver.h>
Public Member Functions | |
virtual | ~ResultHandler () |
virtual void | ReturnResult (Result result)=0 |
Returns a result to the channel. More... | |
virtual void | ReturnError (grpc_error *error)=0 |
Returns a transient error to the channel. More... | |
A proxy object used by the resolver to return results to the client channel.
|
inlinevirtual |
|
pure virtual |
Returns a transient error to the channel.
If the resolver does not set the GRPC_ERROR_INT_GRPC_STATUS attribute on the error, calls will be failed with status UNKNOWN.
Implemented in grpc_core::ResolvingLoadBalancingPolicy::ResolverResultHandler.
|
pure virtual |
Returns a result to the channel.
Takes ownership of result.args.
Implemented in grpc_core::ResolvingLoadBalancingPolicy::ResolverResultHandler.