Edits
[iotcloud.git] / version2 / src / C / Slot.cc
index f4247e44d36941c7a2c247980c4a353cd93c6084..10c92ded4e5a592518ab3e7dba9f3c89c945690c 100644 (file)
@@ -97,6 +97,10 @@ Slot *Slot_decode(Table *table, Array<char> *array, Mac *mac) {
        return slot;
 }
 
+char Slot::getType() {
+       return TypeSlot;
+}
+
 Array<char> *Slot::encode(Mac *mac) {
        Array<char> *array = new Array<char>(SLOT_SIZE);
        ByteBuffer *bb = ByteBuffer_wrap(array);