edits
[iotcloud.git] / version2 / src / C / Entry.h
index c474d421320170050e8875ba0c5913917522ec96..c3cc8a23d2eda3892d17938e42557d0fbcc963b7 100644 (file)
@@ -43,26 +43,26 @@ class Entry : public Liveness {
        /**
         * Serializes the Entry object into the char buffer.
         */
-  void encode(ByteBuffer bb) = 0;
+  virtual void encode(ByteBuffer * bb) = 0;
 
 
        /**
         * Returns the size in chars the entry object will take in the char
         * array.
         */
-  int getSize() = 0;
+  virtual int getSize() = 0;
 
 
        /**
         * Returns a char encoding the type of the entry object.
         */
-  char getType() = 0;
+  virtual char getType() = 0;
 
 
        /**
         * Returns a copy of the Entry that can be added to a different slot.
         */
-  Entry * getCopy(Slot * s) = 0;
+  virtual Entry * getCopy(Slot * s) = 0;
 };
 
 /**