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) {