package SumServiceGRPC;

import io.grpc.ServerBuilder;
import java.io.IOException;

public class App
{
    public static void main( String[] args )
    {
        try {
            io.grpc.Server server = ServerBuilder.forPort(8080).addService(new SumServiceImpl()).build();
            server.start();
            System.out.println("Server started!");
            server.awaitTermination();
        } catch (IOException | InterruptedException e) {
            e.printStackTrace();
        }
    }
}

