gnu.rfb.client
Class FrameBufferUpdate
java.lang.Object
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)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getImage
public int[] getImage()
- Returns:
- The image as an array of pixels (Integers)