--- /dev/null
+#include "TableStatus.h"
+#include "ByteBuffer.h"
+
+Entry *TableStatus_decode(Slot *slot, ByteBuffer *bb) {
+ int maxslots = bb->getInt();
+ return new TableStatus(slot, maxslots);
+}
+
+void TableStatus::encode(ByteBuffer *bb) {
+ bb->put(TypeTableStatus);
+ bb->putInt(maxslots);
+}