66 void flushCompressedMouse();
70 void resetKeepAliveAlarm();
71 void setKeepAliveRate(
double);
79 void handleKeepAliveAlarm();
86 void keyDown(uint16_t
id, uint16_t mask, uint16_t button,
const std::string &lang);
92 void mouseRelativeMove();
98 void infoAcknowledgment();
99 void secureInputNotification();
100 void setServerLanguages();
101 void setActiveServerLanguage(
const std::string &language);
102 void checkMissedLanguages()
const;
107 Client *m_client =
nullptr;
110 uint32_t m_seqNum = 0;
112 bool m_compressMouse =
false;
113 bool m_compressMouseRelative =
false;
114 int32_t m_xMouse = 0;
115 int32_t m_yMouse = 0;
116 int32_t m_dxMouse = 0;
117 int32_t m_dyMouse = 0;
119 bool m_ignoreMouse =
false;
123 double m_keepAliveAlarm = 0.0;
128 std::string m_serverLanguage =
"";
129 bool m_isUserNotifiedAboutLanguageSyncError =
false;
uint8_t ClipboardID
Clipboard ID.
Definition ClipboardTypes.h:16
uint32_t KeyID
Key ID.
Definition KeyTypes.h:22
static const KeyModifierID kKeyModifierIDLast
Definition KeyTypes.h:97
uint32_t KeyModifierID
Modifier key ID.
Definition KeyTypes.h:55
uint32_t KeyModifierMask
Modifier key mask.
Definition KeyTypes.h:45
Client screen information structure.
Definition ProtocolTypes.h:1326
Deskflow client.
Definition Client.h:42
Definition SimpleEventQueueBuffer.cpp:13
Clipboard interface.
Definition IClipboard.h:20
Event queue interface.
Definition IEventQueue.h:32
Proxy for server.
Definition ServerProxy.h:31
ConnectionResult parseMessage(const uint8_t *code)
Definition ServerProxy.cpp:204
ConnectionResult
Definition ServerProxy.h:56
@ Okay
Definition ServerProxy.h:57
@ Disconnect
Definition ServerProxy.h:59
@ Unknown
Definition ServerProxy.h:58
void onClipboardChanged(ClipboardID, const IClipboard *)
Definition ServerProxy.cpp:357
ServerProxy(ServerProxy const &)=delete
ServerProxy(ServerProxy &&)=delete
bool onGrabClipboard(ClipboardID)
Definition ServerProxy.cpp:350
ServerProxy(Client *client, deskflow::IStream *stream, IEventQueue *events)
Definition ServerProxy.cpp:33
ServerProxy & operator=(ServerProxy const &)=delete
ServerProxy & operator=(ServerProxy &&)=delete
ConnectionResult parseHandshakeMessage(const uint8_t *code)
Definition ServerProxy.cpp:128
~ServerProxy()
Definition ServerProxy.cpp:57
void onInfoChanged()
Definition ServerProxy.cpp:340
Bidirectional stream interface.
Definition IStream.h:24
Definition LanguageManager.h:15
Definition EventTypes.h:11