Making classes final to make inheritance impossible
[iot2.git] / iotjava / iotruntime / master / RouterConfig.java
index 821922cc42a78dcf73bf68b0ca3411ce835779e2..392fd74269ce613dec0673cb192aa3cf73cc9cb2 100644 (file)
@@ -159,6 +159,17 @@ public final class RouterConfig {
                }
        }
 
+       /**
+        * getAddressListObject() method returns the map from this class
+        * <p>
+        * This method is useful for MAC policy class so that it doesn't have
+        * to query the router again
+        */
+       public Map<String, String> getAddressListObject() {
+
+               return mapMACtoIPAdd;
+       }
+
        /**
         * getAddressList() method gets list of IP addresses
         * <p>