BAEL-1022 - minor fixes

This commit is contained in:
slavisa-baeldung
2017-08-01 22:31:21 +01:00
parent b25f17f37f
commit 6fcbc9b065
2 changed files with 70 additions and 70 deletions
@@ -5,11 +5,10 @@ import java.io.IOException;
import io.grpc.Server;
import io.grpc.ServerBuilder;
public class GrpcServer
{
public class GrpcServer {
public static void main(String[] args) throws IOException, InterruptedException {
Server server = ServerBuilder.forPort(8080)
.addService(new HelloServiceImpl()).build();
.addService(new HelloServiceImpl()).build();
System.out.println("Starting server...");
server.start();