Class DriverEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DriverEvent.Type
      Type of driver events.
    • Constructor Summary

      Constructors 
      Constructor Description
      DriverEvent​(DriverEvent.Type type, Driver driver)
      Creates an event of a given type and for the specified driver and the current time.
      DriverEvent​(DriverEvent.Type type, Driver driver, long time)
      Creates an event of a given type and for the specified driver and time.
    • 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