gnu.rfb.client
Class FrameBufferUpdate

java.lang.Object
  extended by gnu.rfb.client.FrameBufferUpdate

public class FrameBufferUpdate
extends java.lang.Object

Takes care of reading in, decoding, and applying a FrameBuffer update message.

Author:
Ken Breeman (kbreeman@wpi.edu), Eric Griffel (sniffels@wpi.edu)

Constructor Summary
FrameBufferUpdate(PixelFormat pf, java.io.DataInputStream dis, int[] img, int width, int height)
          Default constructor.
 
Method Summary
 int[] getImage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameBufferUpdate

public FrameBufferUpdate(PixelFormat pf,
                         java.io.DataInputStream dis,
                         int[] img,
                         int width,
                         int height)
                  throws java.lang.Exception
Default constructor.

Parameters:
pf -
dis -
img -
width -
height -
Throws:
java.lang.Exception
Method Detail

getImage

public int[] getImage()
Returns:
The image as an array of pixels (Integers)