Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }