2 import java.nio.ByteBuffer;
4 class TableStatus extends Entry {
7 TableStatus(Slot slot, int _maxslots) {
12 static Entry decode(Slot slot, ByteBuffer bb) {
13 int maxslots=bb.getInt();
14 return new TableStatus(slot, maxslots);
17 void encode(ByteBuffer bb) {
18 bb.put(Entry.TypeTableStatus);
23 return Integer.BYTES+Byte.BYTES;
27 return Entry.TypeTableStatus;