Edits
[iotcloud.git] / version2 / src / C / Entry.h
index e006b4a69084482defb84729b3fca7577f805eff..acdd04a8a0174d431516ac13866a4ee45ab0e054 100644 (file)
 #define TypeLastMessage 5
 #define TypeRejectedMessage 6
 #define TypeTableStatus 7
+#define TypeSlot 8
 
 class Entry : public Liveness {
        /* Records whether the information is still live or has been
           superceded by a newer update.  */
 private:
        bool islive;
- protected:
+protected:
        Slot *parentslot;
 
 public:
@@ -52,12 +53,6 @@ public:
        virtual int getSize() = 0;
 
 
-       /**
-        * Returns a char encoding the type of the entry object.
-        */
-       virtual char getType() = 0;
-
-
        /**
         * Returns a copy of the Entry that can be added to a different slot.
         */