ssssss
Diff: CushionSock.h
- Revision:
- 1:e6addce35f93
- Parent:
- 0:01a2e92d2924
--- a/CushionSock.h Sat Dec 17 09:13:37 2016 +0000 +++ b/CushionSock.h Sat Dec 17 11:03:10 2016 +0000 @@ -4,7 +4,6 @@ #include "mbed.h" #include "Websocket.h" #include "EthernetNetIf.h" -#include "picojson.h" #include "MbedJSONValue.h" @@ -16,13 +15,15 @@ int MESS_SIT; int MESS_FRUST; int MESS_TEST; + int MESS_TWEET; /* Constructor @param hostAndport format : "hostname:port" */ - CushionSock(char * hostAndPort); + CushionSock(); + void init(char * hostAndPort); /* connect to server @return true if the connection is established, false otherwise @@ -55,8 +56,5 @@ private: EthernetNetIf *eth; Websocket *ws; - - std::map<int,string> type_name; - std::map<string,int> name_type; }; #endif \ No newline at end of file