|
|
@ -21,7 +21,7 @@ server = new Server() |
|
|
|
Services = |
|
|
|
Services = |
|
|
|
{ |
|
|
|
{ |
|
|
|
// the server will serve 2 services, the Greeter and the ServerReflection |
|
|
|
// the server will serve 2 services, the Greeter and the ServerReflection |
|
|
|
ServerReflection.BindService(new GreeterImpl()), |
|
|
|
Greeter.BindService(new GreeterImpl()), |
|
|
|
ServerReflection.BindService(reflectionServiceImpl) |
|
|
|
ServerReflection.BindService(reflectionServiceImpl) |
|
|
|
}, |
|
|
|
}, |
|
|
|
Ports = { { "localhost", 50051, ServerCredentials.Insecure } } |
|
|
|
Ports = { { "localhost", 50051, ServerCredentials.Insecure } } |
|
|
|