Add java files
[iotcloud.git] / src / java / iotcloud / Slot.java
index 9dd6c187bfe3cfb52bf7ee7e1898ababaa0db0fa..33a8908d5b004627f07a10133024b420e0fb6b49 100644 (file)
@@ -1,14 +1,20 @@
 package iotcloud;
+import java.util.Vector;
 
 class Slot {
        long seqnum;
        byte[] bytes;
+       Vector<Entry> entries;
+
+       Slot() {
+               entries=new Vector();
+       }
        
        Slot(long _seqnum, byte[] _bytes) {
+               this();
                seqnum=_seqnum;
                bytes=_bytes;
        }
-
        
        long getSequenceNumber() {
                return seqnum;