X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iot2.git;a=blobdiff_plain;f=iotjava%2Fiotruntime%2Fmaster%2FRouterConfig.java;h=392fd74269ce613dec0673cb192aa3cf73cc9cb2;hp=821922cc42a78dcf73bf68b0ca3411ce835779e2;hb=707e9800c282dbb21c2e093cedcf8f5361b0e8ba;hpb=18ca99a8de6bc1d02dc61612894e515b9107932c diff --git a/iotjava/iotruntime/master/RouterConfig.java b/iotjava/iotruntime/master/RouterConfig.java index 821922c..392fd74 100644 --- a/iotjava/iotruntime/master/RouterConfig.java +++ b/iotjava/iotruntime/master/RouterConfig.java @@ -159,6 +159,17 @@ public final class RouterConfig { } } + /** + * getAddressListObject() method returns the map from this class + *

+ * This method is useful for MAC policy class so that it doesn't have + * to query the router again + */ + public Map getAddressListObject() { + + return mapMACtoIPAdd; + } + /** * getAddressList() method gets list of IP addresses *