edits
[iotcloud.git] / version2 / src / C / TableStatus.h
index ce2576e97702b42ba9a09c5237fe34b1b3706154..e7978c08bc477f143460a59791381b94e9fe9dde 100644 (file)
  */
 
 class TableStatus : public Entry {
- private:
+private:
        int maxslots;
 
- public:
TableStatus(Slot * slot, int _maxslots) : Entry(slot),
+public:
      TableStatus(Slot *slot, int _maxslots) : Entry(slot),
                maxslots(_maxslots) {
-               }
+       }
        int getMaxSlots() { return maxslots; }
        void encode(ByteBuffer *bb);
-       int getSize() { return sizeof(int32_t)+sizeof(char); }
-       
+       int getSize() { return sizeof(int32_t) + sizeof(char); }
+
        char getType() { return TypeTableStatus; }
-       
-       Entry * getCopy(Slot * s) { return new TableStatus(s, maxslots); }
+
+       Entry *getCopy(Slot *s) { return new TableStatus(s, maxslots); }
 };
 
-Entry * TableStatus_decode(Slot * slot, ByteBuffer * bb);
+Entry *TableStatus_decode(Slot *slot, ByteBuffer *bb);
 #endif