projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Edits
[iotcloud.git]
/
version2
/
src
/
C
/
Slot.cc
diff --git
a/version2/src/C/Slot.cc
b/version2/src/C/Slot.cc
index f4247e44d36941c7a2c247980c4a353cd93c6084..10c92ded4e5a592518ab3e7dba9f3c89c945690c 100644
(file)
--- a/
version2/src/C/Slot.cc
+++ b/
version2/src/C/Slot.cc
@@
-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);