Proxy for server. More...
#include <CServerProxy.h>
Public Member Functions | |
CServerProxy (CClient *client, IStream *stream) | |
manipulators | |
void | onInfoChanged () |
bool | onGrabClipboard (ClipboardID) |
void | onClipboardChanged (ClipboardID, const IClipboard *) |
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 33 of file CServerProxy.h.
Process messages from the server on stream
and forward to client
.
Definition at line 33 of file CServerProxy.cpp.
References IStream::getEventTarget(), and IStream::getInputReadyEvent().