VNC.RFBDrawing.RFBSurface Class
The RFBSurface class contains the data of the remote frame buffer and handles updates of the remote frame buffer

Access: Public
Base Classes: Object
  Members Description  
    protocolHandler reference to protocol-Handler

 
    bufferWidth    
    bufferHeight    
    BufferWidth the width of the remote framebuffer

 
    BufferHeight the height of the remote framebuffer

 
    depth    
    Depth the depth selected for usage at client side. The depth is choosable by the client during connection handshake

 
    views the vies connected to this surface

 
    pixDecod decodes pixelvalues from stream

 
    drawSup the drawSupport object: facility for drawing

 
    decoders the decoders for decoding updates, O(1) access in normal case

 
    decoderPriorities the decoders sorted by the priority the client wishes to use them

 
    serverName    
    ServerName the name of the server received during connection establishment

 
    config the configuration information

 
    server    
    Server    
    port    
    Port    
    connected    
    Connected is this surface has an established connection to a VNC-Server

 
    RFBSurface constructor for an RFBSurface

 
    connectSurfaceToView Register views to notify Views displays the content of the RFBSurface

 
    disconnectView disconnect a view from the surface

 
    closeConnection is called, when last view gets disconnected

 
    establishConnection connects this RFBSurface to the RFBServer, afterwards this surface stores pixeldata and informs the server of events

 
    createDecoders create the configured Decoders.

 
    registerDecoder registers a Decoder in the order the client wishes to use it, highest priority decoder must be registered first

 
    connectDecoders connect the decoders to the DrawSupport instance; after completion of this method, the decoders are usable

 
    getFullUpdate gets a full update from the server

 
    notifyView notify interested views, changement discribed by x,y,width,height

 
    decodeUpdate decodes a received update with the encoding encoding

 
    gotRFBUpdate this method decides what to do on an update receiving

 
    updateDone this method decides how to proceed after a successful update of the framebuffer

 
    handlePointerEvent handles a pointer event, used by the connected views to inform the surface

 
    handleKeyEvent handles a key event, used by the connected views to inform the surface