GRPC Core  9.0.0
Namespaces | Functions
load_balancer_api.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h"
#include "src/core/lib/gpr/useful.h"
#include "google/protobuf/duration.upb.h"
#include "google/protobuf/timestamp.upb.h"
#include <grpc/support/alloc.h>

Namespaces

 grpc_core
 Round Robin Policy.
 

Functions

grpc_grpclb_request * grpc_core::grpc_grpclb_request_create (const char *lb_service_name, upb_arena *arena)
 Create a request for a gRPC LB service under lb_service_name. More...
 
grpc_grpclb_request * grpc_core::grpc_grpclb_load_report_request_create (GrpcLbClientStats *client_stats, upb_arena *arena)
 
grpc_slice grpc_core::grpc_grpclb_request_encode (const grpc_grpclb_request *request, upb_arena *arena)
 Protocol Buffers v3-encode request. More...
 
const grpc_grpclb_initial_response * grpc_core::grpc_grpclb_initial_response_parse (const grpc_slice &encoded_grpc_grpclb_response, upb_arena *arena)
 Parse (ie, decode) the bytes in encoded_grpc_grpclb_response as a grpc_grpclb_initial_response. More...
 
grpc_grpclb_serverlist * grpc_core::grpc_grpclb_response_parse_serverlist (const grpc_slice &encoded_grpc_grpclb_response)
 Parse the list of servers from an encoded grpc_grpclb_response. More...
 
void grpc_core::grpc_grpclb_destroy_serverlist (grpc_grpclb_serverlist *serverlist)
 Destroy serverlist. More...
 
grpc_grpclb_serverlist * grpc_core::grpc_grpclb_serverlist_copy (const grpc_grpclb_serverlist *sl)
 Return a copy of sl. More...
 
bool grpc_core::grpc_grpclb_serverlist_equals (const grpc_grpclb_serverlist *lhs, const grpc_grpclb_serverlist *rhs)
 
bool grpc_core::grpc_grpclb_server_equals (const grpc_grpclb_server *lhs, const grpc_grpclb_server *rhs)
 
grpc_millis grpc_core::grpc_grpclb_duration_to_millis (const grpc_grpclb_duration *duration_pb)