/**
* 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
* 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
* 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