edits
[iotcloud.git] / version2 / src / C / CloudComm.h
index bb319c2d4cb8731be28590d7c955b69dff8f2816..3e0a56e85a9b65ae026b7047c432d29332f0c69a 100644 (file)
@@ -26,10 +26,10 @@ private:
        SecureRandom *random;
        Array<char> *salt;
        Table *table;
-       int32_t listeningPort = -1;
-       Thread *localServerThread = NULL;
-       bool doEnd = false;
-       TimingSingleton *timer = NULL;
+       int32_t listeningPort;
+       Thread *localServerThread;
+       bool doEnd;
+       TimingSingleton *timer;
 
        /**
         * Generates Key from password.
@@ -89,6 +89,6 @@ public:
         */
 
        Array<char> *sendLocalData(Array<char> *sendData, int64_t localSequenceNumber, IoTString *host, int port);
-       public void close();
+       void close();
 };
 #endif