projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generating IV from random numbers, not machine ID and local sequence number.
[iotcloud.git]
/
version2
/
src
/
C
/
Error.h
diff --git
a/version2/src/C/Error.h
b/version2/src/C/Error.h
index 7fcd2a9eccc353866e84b1f75660f43300772d5e..106ae8ee02b1a6fc942980fd4cc7290bfbeeb1a4 100644
(file)
--- a/
version2/src/C/Error.h
+++ b/
version2/src/C/Error.h
@@
-5,13
+5,24
@@
public:
Error(const char *msg) {}
};
Error(const char *msg) {}
};
+class SocketTimeoutException {
+public:
+private:
+};
+
class Exception {
public:
Exception(const char *msg) {}
};
class Exception {
public:
Exception(const char *msg) {}
};
+#define ServerException_TypeInputTimeout 1
+#define ServerException_TypeConnectTimeout 2
+#define ServerException_TypeSalt 3
+
class ServerException {
class ServerException {
+ char type;
public:
public:
- ServerException(const char *msg) {}
+ ServerException(const char *msg, char _type) : type(_type) {}
+ char getType() {return type;}
};
#endif
};
#endif