|
|
|
@ -51,8 +51,7 @@ struct grpc_resolver { |
|
|
|
|
struct grpc_resolver_vtable { |
|
|
|
|
void (*destroy)(grpc_exec_ctx *exec_ctx, grpc_resolver *resolver); |
|
|
|
|
void (*shutdown)(grpc_exec_ctx *exec_ctx, grpc_resolver *resolver); |
|
|
|
|
void (*channel_saw_error)(grpc_exec_ctx *exec_ctx, grpc_resolver *resolver, |
|
|
|
|
grpc_subchannel *subchannel); |
|
|
|
|
void (*channel_saw_error)(grpc_exec_ctx *exec_ctx, grpc_resolver *resolver); |
|
|
|
|
void (*next)(grpc_exec_ctx *exec_ctx, grpc_resolver *resolver, |
|
|
|
|
grpc_client_config **target_config, grpc_closure *on_complete); |
|
|
|
|
}; |
|
|
|
@ -80,8 +79,7 @@ void grpc_resolver_shutdown(grpc_exec_ctx *exec_ctx, grpc_resolver *resolver); |
|
|
|
|
/** Notification that the channel has seen an error on some address.
|
|
|
|
|
Can be used as a hint that re-resolution is desirable soon. */ |
|
|
|
|
void grpc_resolver_channel_saw_error(grpc_exec_ctx *exec_ctx, |
|
|
|
|
grpc_resolver *resolver, |
|
|
|
|
grpc_subchannel *subchannel); |
|
|
|
|
grpc_resolver *resolver); |
|
|
|
|
|
|
|
|
|
/** Get the next client config. Called by the channel to fetch a new
|
|
|
|
|
configuration. Expected to set *target_config with a new configuration, |
|
|
|
|