CServerProxy Class Reference

Proxy for server. More...

#include <CServerProxy.h>

Collaboration diagram for CServerProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CServerProxy (CClient *client, IStream *stream)
 ~CServerProxy ()
manipulators
void onInfoChanged ()
bool onGrabClipboard (ClipboardID)
void onClipboardChanged (ClipboardID, const IClipboard *)

Protected Types

 kOkay
 kUnknown
 kDisconnect
enum  EResult { kOkay, kUnknown, kDisconnect }

Protected Member Functions

EResult parseHandshakeMessage (const UInt8 *code)
EResult parseMessage (const UInt8 *code)

Detailed Description

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.


Constructor & Destructor Documentation

CServerProxy::CServerProxy ( CClient client,
IStream stream 
)

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().


The documentation for this class was generated from the following files:
Generated on Fri Nov 6 00:19:11 2009 for synergy-plus by  doxygen 1.4.7