edits
[iotcloud.git] / version2 / src / C / TransactionPart.h
index 5d936df8f324e3fb34332d136e09f6caaa2635d8..4b35977eed92f40f49ee342db248590737f36249 100644 (file)
@@ -12,8 +12,8 @@ class TransactionPart extends Entry {
     private int partNumber = -1; // Parts position in the
     private Boolean isLastPart = false;
 
-    private Pair<Long, Long> transactionId = NULL;
-    private Pair<Long, Integer> partId = NULL;
+    private Pair<int64_t, int64_t> transactionId = NULL;
+    private Pair<int64_t int32_t> partId = NULL;
 
     private char[] data = NULL;
 
@@ -26,8 +26,8 @@ class TransactionPart extends Entry {
         data = _data;
         isLastPart = _isLastPart;
 
-        transactionId = new Pair<Long, Long>(machineId, clientLocalSequenceNumber);
-        partId = new Pair<Long, Integer>(clientLocalSequenceNumber, partNumber);
+        transactionId = new Pair<int64_t, int64_t>(machineId, clientLocalSequenceNumber);
+        partId = new Pair<int64_t int32_t>(clientLocalSequenceNumber, partNumber);
 
     }
 
@@ -42,7 +42,7 @@ class TransactionPart extends Entry {
         parentslot = s;
     }
 
-    public Pair<Long, Long> getTransactionId() {
+    public Pair<int64_t, int64_t> getTransactionId() {
         return transactionId;
     }
 
@@ -50,7 +50,7 @@ class TransactionPart extends Entry {
         return arbitratorId;
     }
 
-    public Pair<Long, Integer> getPartId() {
+    public Pair<int64_t int32_t> getPartId() {
         return partId;
     }