6 * KeyValue entry for Slot.
7 * @author Brian Demsky <bdemsky@uci.edu>
11 class KeyValue {/*extends Entry */
17 KeyValue(IoTString *_key, IoTString *_value) :
23 IoTString *getKey() { return key; }
24 IoTString *getValue() { return value; }
25 void encode(ByteBuffer *bb);
30 KeyValue *KeyValue_decode(ByteBuffer *bb);
31 unsigned int hashKeyValue(KeyValue *kv);
32 bool equalsKeyValue(KeyValue *a, KeyValue *b);