X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=version2%2Fsrc%2FC%2FEntry.h;h=c3cc8a23d2eda3892d17938e42557d0fbcc963b7;hb=47ee5448a5177a43a6567626424c4ca25e2fd554;hp=c474d421320170050e8875ba0c5913917522ec96;hpb=f0a95f7a96e808259ced5e9f61e029773c7a85e6;p=iotcloud.git diff --git a/version2/src/C/Entry.h b/version2/src/C/Entry.h index c474d42..c3cc8a2 100644 --- a/version2/src/C/Entry.h +++ b/version2/src/C/Entry.h @@ -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; }; /**