Class DeviceIpUpdater

java.lang.Object
org.eblocker.server.common.network.DeviceIpUpdater

public class DeviceIpUpdater extends Object
Service to update IP addresses of devices.
  • Constructor Details

  • Method Details

    • refresh

      public void refresh(String deviceId, IpAddress ipAddress)
      Add an IP address to a given device. If the device does not exist, it is created.
      Parameters:
      deviceId - the device ID. The device is created if it does not exist.
      ipAddress - the detected IP address