Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Proxy for server. More...
#include <ServerProxy.h>
Public Member Functions | |
ServerProxy (Client *client, deskflow::IStream *stream, IEventQueue *events) | |
ServerProxy (ServerProxy const &)=delete | |
ServerProxy (ServerProxy &&)=delete | |
~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 *) |
ConnectionResult | parseHandshakeMessage (const uint8_t *code) |
ConnectionResult | parseMessage (const uint8_t *code) |
Proxy for server.
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.
|
strongprotected |
ServerProxy::ServerProxy | ( | Client * | client, |
deskflow::IStream * | stream, | ||
IEventQueue * | events ) |
Process messages from the server on stream
and forward to client
.
|
delete |
|
delete |
ServerProxy::~ServerProxy | ( | ) |
void ServerProxy::onClipboardChanged | ( | ClipboardID | id, |
const IClipboard * | clipboard ) |
bool ServerProxy::onGrabClipboard | ( | ClipboardID | id | ) |
void ServerProxy::onInfoChanged | ( | ) |
|
delete |
|
delete |
|
protected |
|
protected |