more changes
[iotcloud.git] / src / java / iotcloud / TableStatus.java
index 83aa9ccfa7e165095af34183042b9e3c807a9f8c..07f282c1b1768dbace9e24f840a9688e76bb540d 100644 (file)
@@ -2,13 +2,17 @@ package iotcloud;
 import java.nio.ByteBuffer;
 
 class TableStatus extends Entry {
-       int maxslots;
+       private int maxslots;
 
        TableStatus(Slot slot, int _maxslots) {
                super(slot);
                maxslots=_maxslots;
        }
 
+       int getMaxSlots() {
+               return maxslots;
+       }
+  
        static Entry decode(Slot slot, ByteBuffer bb) {
                int maxslots=bb.getInt();
                return new TableStatus(slot, maxslots);