Class ThincSMsgFBCopy

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

public final class ThincSMsgFBCopy
extends ThincSMsgFB

class for copying the regions from frame buffer and move it into specified region in frame buffer.

Author:
Young Jin Yoon
See Also:
ThincSMsgFB

Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgFBCopy(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgFBCopy object.
 
Method Summary
 void process()
          process() get the source coodinate, destination coordinate, width and height respectively, then copy the region using copyRegion() method in 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
Constructor Detail

ThincSMsgFBCopy

public ThincSMsgFBCopy(ThincMsgHandler h,
                       ThincClientCanvas c)
creates ThincSMsgFBCopy 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 source coodinate, destination coordinate, width and height respectively, then copy the region using copyRegion() method in ThincClientCanvas class. and set it into ThincClientCanvas object.

Specified by:
process in class ThincMsg
Throws:
ThincException