Search in sources :

Example 1 with GreetServiceJava

use of io.helidon.grpc.examples.common.GreetServiceJava in project helidon by oracle.

the class Server method createRouting.

private static GrpcRouting createRouting(Config config) {
    GreetService greetService = new GreetService(config);
    GreetServiceJava greetServiceJava = new GreetServiceJava(config);
    return GrpcRouting.builder().register(greetService).register(greetServiceJava).register(new StringService()).build();
}
Also used : GreetServiceJava(io.helidon.grpc.examples.common.GreetServiceJava) GreetService(io.helidon.grpc.examples.common.GreetService) StringService(io.helidon.grpc.examples.common.StringService)

Aggregations

GreetService (io.helidon.grpc.examples.common.GreetService)1 GreetServiceJava (io.helidon.grpc.examples.common.GreetServiceJava)1 StringService (io.helidon.grpc.examples.common.StringService)1