21 #ifndef WEBSOCKETSOURCE_H
22 #define WEBSOCKETSOURCE_H
24 #include <abstractsource.h>
26 #include <libwebsockets.h>
34 const std::string
uuid();
46 PropertyList queuedRequests;
48 void checkSubscriptions();
49 PropertyList activeRequests;
50 PropertyList removeRequests;
51 void updateSupported();
53 void setConfiguration(std::map<std::string, std::string> config);
55 std::map<std::string, AsyncPropertyReply*> uuidReplyMap;
56 std::map<std::string,double> uuidTimeoutMap;
57 std::map<std::string, AsyncRangePropertyReply*> uuidRangedReplyMap;
58 std::map<std::string, AsyncPropertyReply*> setReplyMap;
60 int partialMessageIndex;
61 QByteArray incompleteMessage;
62 int expectedMessageFrames;
64 PropertyInfo
getPropertyInfo(
const VehicleProperty::Property & property);
73 #endif // WEBSOCKETSOURCE_H