5 * This Entry records the abort sent by a given machine.
6 * @author Ali Younis <ayounis@uci.edu>
11 class NewKey : public Entry {
18 NewKey(Slot *slot, IoTString *_key, int64_t _machineid) :
21 machineid(_machineid) {
24 int64_t getMachineID() { return machineid; }
25 IoTString *getKey() { return key; }
26 void setSlot(Slot *s) { parentslot = s; }
29 void encode(ByteBuffer *bb);
31 char getType() { return TypeNewKey; }
33 Entry *getCopy(Slot *s) { return new NewKey(s, key, machineid); }
36 Entry *NewKey_decode(Slot *slot, ByteBuffer *bb);