Class MacResolver.ExpiringMac

java.lang.Object
org.openhab.core.io.net.mac.MacResolver.ExpiringMac
Enclosing class:
MacResolver

protected static class MacResolver.ExpiringMac extends Object
Simple wrapper class to hold a MAC address with its expiration time-stamp.
  • Constructor Details

    • ExpiringMac

      public ExpiringMac(String mac)
      Creates a new expiring MAC entry.
  • Method Details

    • getMac

      public @Nullable String getMac()
      Returns the MAC address if not expired, otherwise null.
    • isExpired

      public boolean isExpired()
      Checks whether this entry has expired.