Class DriverEvent

    • Constructor Detail

      • DriverEvent

        public DriverEvent​(DriverEvent.Type type,
                           Driver driver)
        Creates an event of a given type and for the specified driver and the current time.
        Parameters:
        type - device event type
        driver - event driver subject
      • DriverEvent

        public DriverEvent​(DriverEvent.Type type,
                           Driver driver,
                           long time)
        Creates an event of a given type and for the specified driver and time.
        Parameters:
        type - device event type
        driver - event driver subject
        time - occurrence time