Class ThincSMsgFBRawUpdate

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgFB
              extended by ThincSMsgFBRawUpdate

public final class ThincSMsgFBRawUpdate
extends ThincSMsgFB

class for drawing an image into the frame buffer.

Author:
Young Jin Yoon
See Also:
ThincSMsgFB

Field Summary
private  ThincSMsgFlagCache cache
           
private  int flag
           
static int FLAG_ADDCACHE
           
static int FLAG_CACHED
           
static int FLAG_COMPRESSED
           
static int FLAG_RESIZED
           
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
private  ThincSMsgFlagResize resize
           
private  ThincSMsgFlagFBZData zipData
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgFBRawUpdate(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgFBRawUpdate object.
 
Method Summary
 void process()
          process() get the image to draw from network or cache and try to draw an image using drawImage() and drawImageScaled() method from ThincClientCanvas class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_TYPE

public static final int MESSAGE_TYPE
See Also:
Constant Field Values

MESSAGE_SIZE

public static final int MESSAGE_SIZE
See Also:
Constant Field Values

FLAG_COMPRESSED

public static final int FLAG_COMPRESSED
See Also:
Constant Field Values

FLAG_CACHED

public static final int FLAG_CACHED
See Also:
Constant Field Values

FLAG_ADDCACHE

public static final int FLAG_ADDCACHE
See Also:
Constant Field Values

FLAG_RESIZED

public static final int FLAG_RESIZED
See Also:
Constant Field Values

cache

private ThincSMsgFlagCache cache

zipData

private ThincSMsgFlagFBZData zipData

resize

private ThincSMsgFlagResize resize

flag

private int flag
Constructor Detail

ThincSMsgFBRawUpdate

public ThincSMsgFBRawUpdate(ThincMsgHandler h,
                            ThincClientCanvas c)
creates ThincSMsgFBRawUpdate object.

Parameters:
h - ThincMsgHandler to handle the message
c - ThincClientCanvas to get the information
Method Detail

process

public void process()
             throws ThincException
process() get the image to draw from network or cache and try to draw an image using drawImage() and drawImageScaled() method from ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException