![]() |
Deskflow 1.27.0.5
Keyboard and mouse sharing utility
|
Proxy for server implementing protocol version 1.6. More...
#include <ServerProxy.h>

Public Member Functions | |
| ServerProxy (Client *client, deskflow::IStream *stream, IEventQueue *events) | |
| ServerProxy (ServerProxy const &)=delete | |
| ServerProxy (ServerProxy &&)=delete | |
| virtual | ~ServerProxy () |
| ServerProxy & | operator= (ServerProxy const &)=delete |
| ServerProxy & | operator= (ServerProxy &&)=delete |
manipulators | |
| enum class | ConnectionResult { Okay , Unknown , Disconnect } |
| void | onInfoChanged () |
| bool | onGrabClipboard (ClipboardID) |
| void | onClipboardChanged (ClipboardID, const IClipboard *) |
| virtual ConnectionResult | parseHandshakeMessage (const uint8_t *code) |
| virtual ConnectionResult | parseMessage (const uint8_t *code) |
| void | keyDown (uint16_t id, uint16_t mask, uint16_t button, const std::string &lang) |
| void | keyRepeat (uint16_t id, uint16_t mask, uint16_t count, uint16_t button, const std::string &lang) |
| deskflow::IStream * | getStream () const |
Proxy for server implementing protocol version 1.6.
This class acts a proxy for the server, converting calls into messages to the server and messages from the server to calls on the client. It implements 1.6, the oldest version the client supports; later versions subclass it and add their messages.
|
strongprotected |
| ServerProxy::ServerProxy | ( | Client * | client, |
| deskflow::IStream * | stream, | ||
| IEventQueue * | events ) |
Process messages from the server on stream and forward to client.
|
delete |
|
delete |
|
virtual |
|
inlineprotected |
|
protected |
|
protected |
| void ServerProxy::onClipboardChanged | ( | ClipboardID | id, |
| const IClipboard * | clipboard ) |
| bool ServerProxy::onGrabClipboard | ( | ClipboardID | id | ) |
| void ServerProxy::onInfoChanged | ( | ) |
|
delete |
|
delete |
|
protectedvirtual |
Reimplemented in ServerProxy1_8.
|
protectedvirtual |
Reimplemented in ServerProxy1_7, and ServerProxy1_8.