9 MessageSent, MessageReceived
15 ConnectionError, SendMessageError, ReceiveMessageError
19static char messagesSeparator =
'~';
27 void PauseController();
28 void UnpauseController();
30 void ScheduleController();
32 void SendMessage(WeArtMessage* message);
33 bool ReceiveMessages(std::vector<WeArtMessage*>& messages);
35 void OnMessageReceived(WeArtMessage* msg);
36 void StopConnection();
38 void LogMessage(WeArtMessageType type, std::string& message);
39 void LogError(WeArtError error, std::string& message);
45 bool controllerAutoStart;
47 bool isCancellationRequested =
false;
48 WeArtMessageSerializer messageSerializer;
49 uint8* messageReceivedBuffer[1024];
50 std::string trailingText;
51 bool IsConnected =
false;
52 bool IsPaused =
false;