public MeteoriteLandingServer() { server = new Server { Services = { MeteoriteLandingsService.BindService(new MeteoriteLandingsServiceImpl()) }, Ports = { new ServerPort("localhost", 6000, ServerCredentials.Insecure) } }; }
public GrpcFrontendServer(string fehost, int feport, string behost, int beport) { server = new Server { Services = { MeteoriteLandingsService.BindService(new GrpcFrontendServiceImpl(behost, beport)) }, Ports = { new ServerPort(fehost, feport, ServerCredentials.Insecure) } }; }
public MeteoriteLandingServer(string host, int port) { server = new Server { Services = { MeteoriteLandingsService.BindService(new MeteoriteLandingsServiceImpl()) }, Ports = { new ServerPort(host, port, ServerCredentials.Insecure) } }; }