Interface DeviceConnectionStatusProvider

All Superinterfaces:
AutoCloseable

public interface DeviceConnectionStatusProvider extends AutoCloseable
  • Method Details

    • init

      void init()
      Initialize the DeviceConnectionStatusProvider.
    • getDeviceLastConnectionTime

      LocalDateTime getDeviceLastConnectionTime(BigInteger datapathId)
      Get the last connection time of a device.
      Parameters:
      datapathId - datapathId of node
    • addDeviceLastConnectionTime

      void addDeviceLastConnectionTime(BigInteger datapathId, LocalDateTime time)
      Update the last connection time of a device.
      Parameters:
      datapathId - datapathId of node
      time - last connected time of datapathId
    • removeDeviceLastConnectionTime

      void removeDeviceLastConnectionTime(BigInteger datapathId)
      Clear the last connection time of a device.
      Parameters:
      datapathId - datapathId of node