X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iotcloud.git;a=blobdiff_plain;f=version2%2Fsrc%2FC%2FCloudComm.h;fp=version2%2Fsrc%2FC%2FCloudComm.h;h=0413ca0c18c827a65cc00925d222842aa30ca5cc;hp=4b958ae8219ef3b1705fcbe9bfa3602dd09e6613;hb=96dd5bcd8a57cd90d036ca9c45c34ffc833af200;hpb=0b9aca2b62c74f68652b170a92271a98d5b96666 diff --git a/version2/src/C/CloudComm.h b/version2/src/C/CloudComm.h index 4b958ae..0413ca0 100644 --- a/version2/src/C/CloudComm.h +++ b/version2/src/C/CloudComm.h @@ -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 *putSlot(Slot slot, int max); + Array *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 *sendLocalData(Array *sendData, int64_t localSequenceNumber, String host, int port); + Array *sendLocalData(Array *sendData, int64_t localSequenceNumber, IoTString* host, int port); public void close(); }; #endif