Class ActiveDeviceImpl

    • Constructor Detail

      • ActiveDeviceImpl

        public ActiveDeviceImpl()
      • ActiveDeviceImpl

        public ActiveDeviceImpl​(DataFeed timeFeed,
                                Device device)
    • Method Detail

      • start

        public void start()
        Description copied from interface: ActiveDevice
        Starts simulation process.
        Specified by:
        start in interface ActiveDevice
      • stop

        public void stop()
        Description copied from interface: ActiveDevice
        Stops simulation.
        Specified by:
        stop in interface ActiveDevice
      • setDevice

        public void setDevice​(Device device)
        Description copied from interface: ActiveDevice
        Sets Device for TimeSimulation
        Specified by:
        setDevice in interface ActiveDevice
        Parameters:
        device - instance of Device
      • getDevice

        public Device getDevice()
        Description copied from interface: ActiveDevice
        Gets Device for TimeSimulation
        Specified by:
        getDevice in interface ActiveDevice
        Returns:
        instance of Device
      • setTimeFeed

        public void setTimeFeed​(DataFeed timeFeed)
        Description copied from interface: ActiveDevice
        Sets DataFeed for TimeSimulation
        Specified by:
        setTimeFeed in interface ActiveDevice
        Parameters:
        timeFeed - instance of DataFeed