kRfbProto Class Reference
[KVNCViewer Index] [KVNCViewer Heirarchy]
***************************************************************************
Encoding types
More...
#include <krfbproto.h>
Inherits: QObject
Public Members
- kRfbProto (const char *host = 0, int port = 0)
- ~kRfbProto ()
- enum conState { ConnFailed = 0, NoAuth = 1, VncAuth = 2}
- enum authState {VncAuthOK = 0, VncAuthFailed = 1, VncAuthTooMany = 2, VncAuthUnknown = 3}
- enum options {FramebufferUpdate = 0, SetColourMapEntries = 1, Bell = 2, ServerCutText = 3}
- enum encoding {EncodingRaw = 0, EncodingCopyRect = 1, EncodingRRE = 2, EncodingCoRRE = 4, EncodingHextile = 5}
- const char *versionMsg ()
- const char *serverVersion ()
- rfbServerInitMsg *getServerInformation ()
- const char *hostName ()
- char *desktop ()
- int portNumber ()
- int transmitPassword (char *)
- int connect ()
- bool writePointerEvent (CARD8, int,int)
- bool writeKeyEvent (CARD32 , bool)
- void close ()
- void readVersionMsg ()
- void writeVersionMsg ()
- int readAuthScheme ()
- bool writeClientInit ()
- bool readServerInit ()
- void readFramebufferUpdate ()
- void readFramebufferUpdateRectHdr ()
- const char *readServerCutText ()
- bool writeFramebufferUpdateRequest (int x, int y, int w, int h, bool incremental)
- bool writePixelFormat (rfbServerInitMsg *msg)
- void writeFixColourMapEntries (int firstColour, int nColours, int red[], int green[], int blue[])
- bool writeEncodings ()
Signals
Private Members
Private Slots
***************************************************************************
Encoding types
Return client's version *
Returns server's version *
Get the server specific information *
Return host on which server is running *
Return desktop name *
Port number the server is running at *
transmit a password to host. It -will- be DES encrypted *
Call this function explictly to connect to host (The constr. won't!) *
You fiddled with your mouse! ;-) *
and now you played with your keybord ( bool {up|down} ) *
Closes connection to host *
Read servers version message to avoid incompatiblity *
Write our version message to avoid incompatiblity *
Read authentifcation scheme *
void sendData(CARD8*,int,int,int,int)
****************** Signals *************************
***************** Private **************************
**************** Private slots **********************
Documentation generated by rich@pegasus on Sun Mar 22 20:56:11 MET 1998
|
Kdoc
|