Proxy for server. More...
#include <CServerProxy.h>
Public Member Functions | |
| CServerProxy (CClient *client, synergy::IStream *stream, IEventQueue *eventQueue) | |
manipulators | |
| void | onInfoChanged () |
| bool | onGrabClipboard (ClipboardID) |
| void | onClipboardChanged (ClipboardID, const IClipboard *) |
| void | onGameDeviceTimingResp (UInt16 freq) |
| void | onGameDeviceFeedback (GameDeviceID id, UInt16 m1, UInt16 m2) |
Protected Types | |
| enum | EResult { kOkay, kUnknown, kDisconnect } |
Protected Member Functions | |
| EResult | parseHandshakeMessage (const UInt8 *code) |
| EResult | parseMessage (const UInt8 *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.
Definition at line 39 of file CServerProxy.h.
| CServerProxy::CServerProxy | ( | CClient * | client, | |
| synergy::IStream * | stream, | |||
| IEventQueue * | eventQueue | |||
| ) |
Process messages from the server on stream and forward to client.
Definition at line 38 of file CServerProxy.cpp.
References IEventQueue::adoptHandler(), synergy::IStream::getEventTarget(), and synergy::IStream::getInputReadyEvent().
1.7.1