PICloud with streampacker
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "piethernet.h"
|
||||
#include "picloudtcp.h"
|
||||
#include "pistreampacker.h"
|
||||
|
||||
|
||||
class DispatcherClient: public PIObject {
|
||||
@@ -23,12 +24,13 @@ public:
|
||||
EVENT1(dataReaded, PIByteArray, ba)
|
||||
|
||||
private:
|
||||
EVENT_HANDLER2(void, readed, uchar * , data, int, size);
|
||||
EVENT_HANDLER1(void, readed, PIByteArray &, data);
|
||||
EVENT_HANDLER1(void, disconnected, bool, withError);
|
||||
|
||||
PIEthernet * eth;
|
||||
PITimer disconnect_tm;
|
||||
bool authorised;
|
||||
PIEthernet * eth;
|
||||
PIStreamPacker streampacker;
|
||||
PICloud::TCP tcp;
|
||||
uint client_id;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user