Interface DeviceConnectionStatusProvider

    • Method Detail

      • 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