/**
* 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;
};
/**