public void RegisterDriverClientService(Exception exception) { Logger.Log(Level.Info, "Register driver client error", exception); var registration = new DriverClientRegistration { Exception = GrpcUtils.SerializeException(exception) }; _driverServiceStub.RegisterDriverClient(registration); }
public void RegisterDriverClientService(string host, int port) { Logger.Log(Level.Info, "Register driver client at host {0} port {1}", host, port); var registration = new DriverClientRegistration { Host = host, Port = port }; _driverServiceStub.RegisterDriverClient(registration); }