edits
[iotcloud.git] / version2 / src / C / CloudComm.h
index 4b958ae8219ef3b1705fcbe9bfa3602dd09e6613..0413ca0c18c827a65cc00925d222842aa30ca5cc 100644 (file)
@@ -62,7 +62,7 @@ public:
        /**
         * Constructor for actual use. Takes in the url and password.
         */
-       CloudComm(Table _table,  String _baseurl, String _password, int _listeningPort);
+       CloudComm(Table* _table,  IoTString* _baseurl, IoTString* _password, int _listeningPort);
 
        /**
         * Inits all the security stuff
@@ -74,7 +74,7 @@ public:
         * On failure, the server will send slots with newer sequence
         * numbers.
         */
-       Array<Slot *> *putSlot(Slot slot, int max);
+       Array<Slot *> *putSlot(Slot* slot, int max);
 
        /**
         * Request the server to send all slots with the given
@@ -88,7 +88,7 @@ public:
         * server response.  Shared by both putSlot and getSlots.
         */
 
-       Array<char> *sendLocalData(Array<char> *sendData, int64_t localSequenceNumber, String host, int port);
+       Array<char> *sendLocalData(Array<char> *sendData, int64_t localSequenceNumber, IoTString* host, int port);
        public void close();
 };
 #endif