|
|
|
@ -81,7 +81,7 @@ void RunServer() { |
|
|
|
|
// Listen on the given address without any authentication mechanism.
|
|
|
|
|
builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); |
|
|
|
|
// Register "service" as the instance through which we'll communicate with
|
|
|
|
|
// clients. In this case it corresponds to an *synchronous* service.
|
|
|
|
|
// clients. In this case, it corresponds to an *synchronous* service.
|
|
|
|
|
builder.RegisterService(&service); |
|
|
|
|
// Finally assemble the server.
|
|
|
|
|
std::unique_ptr<Server> server(builder.BuildAndStart()); |
|
|
|
|