Classes | Functions
xds_greeter_server.cc File Reference
#include <iostream>
#include <memory>
#include <string>
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/strings/str_cat.h"
#include <grpcpp/ext/admin_services.h>
#include <grpcpp/ext/proto_server_reflection_plugin.h>
#include <grpcpp/grpcpp.h>
#include <grpcpp/health_check_service_interface.h>
#include <grpcpp/xds_server_builder.h>
#include "helloworld.grpc.pb.h"
Include dependency graph for xds_greeter_server.cc:

Go to the source code of this file.

Classes

class  GreeterServiceImpl
 

Functions

 ABSL_FLAG (bool, secure, true, "Secure mode")
 
 ABSL_FLAG (int32_t, maintenance_port, 50052, "Server port for maintenance if --secure is used.")
 
 ABSL_FLAG (int32_t, port, 50051, "Server port for service.")
 
int main (int argc, char **argv)
 
void RunServer ()
 

Function Documentation

◆ ABSL_FLAG() [1/3]

ABSL_FLAG ( bool  ,
secure  ,
true  ,
"Secure mode  
)

◆ ABSL_FLAG() [2/3]

ABSL_FLAG ( int32_t  ,
maintenance_port  ,
50052  ,
"Server port for maintenance if --secure is used."   
)

◆ ABSL_FLAG() [3/3]

ABSL_FLAG ( int32_t  ,
port  ,
50051  ,
"Server port for service."   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 104 of file xds_greeter_server.cc.

◆ RunServer()

void RunServer ( )

Definition at line 62 of file xds_greeter_server.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:38