![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Proxy for client implementing protocol version 1.1. More...
#include <ClientProxy1_1.h>


Public Member Functions | |
| ClientProxy1_1 (const std::string &name, deskflow::IStream *adoptedStream, IEventQueue *events) | |
| ~ClientProxy1_1 () override=default | |
| void | keyDown (KeyID, KeyModifierMask, KeyButton, const std::string &) override |
| Notify of key press. | |
| void | keyRepeat (KeyID, KeyModifierMask, int32_t count, KeyButton, const std::string &) override |
| Notify of key repeat. | |
| void | keyUp (KeyID, KeyModifierMask, KeyButton) override |
| Notify of key release. | |
| Public Member Functions inherited from ClientProxy1_0 | |
| ClientProxy1_0 (const std::string &name, deskflow::IStream *adoptedStream, IEventQueue *events) | |
| ClientProxy1_0 (ClientProxy1_0 const &)=delete | |
| ClientProxy1_0 (ClientProxy1_0 &&)=delete | |
| ~ClientProxy1_0 () override | |
| ClientProxy1_0 & | operator= (ClientProxy1_0 const &)=delete |
| ClientProxy1_0 & | operator= (ClientProxy1_0 &&)=delete |
| bool | getClipboard (ClipboardID id, IClipboard *) const override |
| Get clipboard. | |
| void | getShape (int32_t &x, int32_t &y, int32_t &width, int32_t &height) const override |
| Get screen shape. | |
| void | getCursorPos (int32_t &x, int32_t &y) const override |
| Get cursor position. | |
| void | enter (int32_t xAbs, int32_t yAbs, uint32_t seqNum, KeyModifierMask mask, bool forScreensaver) override |
| Enter screen. | |
| bool | leave () override |
| Leave screen. | |
| void | setClipboard (ClipboardID, const IClipboard *) override |
| Set clipboard. | |
| void | grabClipboard (ClipboardID) override |
| Grab clipboard. | |
| void | setClipboardDirty (ClipboardID, bool) override |
| Mark clipboard dirty. | |
| void | mouseDown (ButtonID) override |
| Notify of mouse press. | |
| void | mouseUp (ButtonID) override |
| Notify of mouse release. | |
| void | mouseMove (int32_t xAbs, int32_t yAbs) override |
| Notify of mouse motion. | |
| void | mouseRelativeMove (int32_t xRel, int32_t yRel) override |
| Notify of mouse motion. | |
| void | mouseWheel (int32_t xDelta, int32_t yDelta) override |
| Notify of mouse wheel motion. | |
| void | screensaver (bool activate) override |
| Notify of screen saver change. | |
| void | resetOptions () override |
| Notify of options changes. | |
| void | setOptions (const OptionsList &options) override |
| Notify of options changes. | |
| void | sendDragInfo (uint32_t fileCount, const char *info, size_t size) override |
| void | fileChunkSending (uint8_t mark, char *data, size_t dataSize) override |
| std::string | getSecureInputApp () const override |
| void | secureInputNotification (const std::string &app) const override |
| Public Member Functions inherited from ClientProxy | |
| ClientProxy (const std::string &name, deskflow::IStream *adoptedStream) | |
| ClientProxy (ClientProxy const &)=delete | |
| ClientProxy (ClientProxy &&)=delete | |
| ~ClientProxy () override | |
| ClientProxy & | operator= (ClientProxy const &)=delete |
| ClientProxy & | operator= (ClientProxy &&)=delete |
| void | close (const char *msg) const |
| Disconnect. | |
| deskflow::IStream * | getStream () const override |
| Get stream. | |
| void * | getEventTarget () const override |
| Get event target. | |
| Public Member Functions inherited from BaseClientProxy | |
| BaseClientProxy (const std::string &name) | |
| ~BaseClientProxy () override=default | |
| void | setJumpCursorPos (int32_t x, int32_t y) |
| Save cursor position. | |
| void | getJumpCursorPos (int32_t &x, int32_t &y) const |
| Get cursor position. | |
| virtual bool | isPrimary () const |
| Get cursor position. | |
| std::string | getName () const override |
| Get client name. | |
| Public Member Functions inherited from IClient | |
| Public Member Functions inherited from IScreen | |
| virtual | ~IScreen ()=default |
Additional Inherited Members | |
| Protected Member Functions inherited from ClientProxy1_0 | |
| virtual bool | parseHandshakeMessage (const uint8_t *code) |
| virtual bool | parseMessage (const uint8_t *code) |
| virtual void | resetHeartbeatRate () |
| virtual void | setHeartbeatRate (double rate, double alarm) |
| virtual void | resetHeartbeatTimer () |
| virtual void | addHeartbeatTimer () |
| virtual void | removeHeartbeatTimer () |
| virtual bool | recvClipboard () |
| Protected Attributes inherited from ClientProxy1_0 | |
| ClientClipboard | m_clipboard [kClipboardEnd] |
Proxy for client implementing protocol version 1.1.
| ClientProxy1_1::ClientProxy1_1 | ( | const std::string & | name, |
| deskflow::IStream * | adoptedStream, | ||
| IEventQueue * | events ) |
|
overridedefault |
|
overridevirtual |
Notify of key press.
Synthesize key events to generate a press of key id. If possible match the given modifier mask. The KeyButton identifies the physical key on the server that generated this key down. The client must ensure that a key up or key repeat that uses the same KeyButton will synthesize an up or repeat for the same client key synthesized by keyDown().
Reimplemented from ClientProxy1_0.
Reimplemented in ClientProxy1_8.
|
overridevirtual |
Notify of key repeat.
Synthesize key events to generate a press and release of key id count times. If possible match the given modifier mask.
Reimplemented from ClientProxy1_0.
|
overridevirtual |
Notify of key release.
Synthesize key events to generate a release of key id. If possible match the given modifier mask.
Reimplemented from ClientProxy1_0.