remove protobuf (part 2)

This commit is contained in:
Paulchen-Panther
2018-12-30 22:07:53 +01:00
parent 559311e18c
commit 38950edf35
54 changed files with 1441 additions and 377 deletions

View File

@@ -75,14 +75,31 @@ private:
///
/// @brief Handle the received message
///
void handleMessage(const flatbuf::HyperionRequest *message);
void handleMessage(const hyperionnet::Request * req);
///
/// Register new priority
///
void handleRegisterCommand(const hyperionnet::Register *regReq);
///
/// @brief Hande Color message
///
void handleColorCommand(const hyperionnet::Color *colorReq);
///
/// Handle an incoming Image message
///
/// @param message the incoming message
/// @param image the incoming image
///
void handleImageCommand(const flatbuf::ImageRequest * message);
void handleImageCommand(const hyperionnet::Image *image);
///
/// @brief Handle clear command
///
/// @param clear the incoming clear request
///
void handleClearCommand(const hyperionnet::Clear *clear);
///
/// Send handle not implemented
@@ -108,12 +125,12 @@ private:
private:
Logger *_log;
QTcpSocket *_socket;
QTcpSocket *_socket;
const QString _clientAddress;
QTimer *_timeoutTimer;
int _timeout;
int _priority;
Hyperion* _hyperion;
Hyperion* _hyperion;
QByteArray _receiveBuffer;