more code
[iotcloud.git] / src / java / iotcloud / TableStatus.java
index 970ce18de25cb9ef5dc37b4861527be18062a27b..05e589641ce93d85d0795fa8ff04761a1792226e 100644 (file)
@@ -4,13 +4,14 @@ import java.nio.ByteBuffer;
 class TableStatus extends Entry {
        int maxslots;
        
-       TableStatus(int _maxslots) {
+       TableStatus(Slot slot, int _maxslots) {
+               super(slot);
                maxslots=_maxslots;
        }
        
-       static Entry decode(ByteBuffer bb) {
+       static Entry decode(Slot slot, ByteBuffer bb) {
                int maxslots=bb.getInt();
-               return new TableStatus(maxslots);
+               return new TableStatus(slot, maxslots);
        }
 
        void encode(ByteBuffer bb) {