Class ThincSMsgInitReplyFBData

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgInit
              extended by ThincSMsgInitReply
                  extended by ThincSMsgInitReplyFBData

public final class ThincSMsgInitReplyFBData
extends ThincSMsgInitReply

class for receiving init images for frame buffer.

Author:
Young Jin Yoon
See Also:
ThincSMsgInitReply

Field Summary
static int INIT_MESSAGE_TYPE
           
static int MESSAGE_SIZE
           
private  ThincSMsgFlagFBZData zdata
           
 
Fields inherited from class ThincSMsgInitReply
MESSAGE_TYPE
 
Fields inherited from class ThincSMsgInit
client
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgInitReplyFBData(ThincClient tc, ThincMsgHandler h, ThincClientCanvas cs)
          creates ThincSMsgInitReplyFBData object.
 
Method Summary
 void process()
          process() gets the message containing information for init frame buffer image, then receiving the init frame buffer image and draw it into frame buffer by using setFrameBuffer() and drawFrameBuffer methods in ThincClientCanvas class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT_MESSAGE_TYPE

public static final int INIT_MESSAGE_TYPE
See Also:
Constant Field Values

MESSAGE_SIZE

public static final int MESSAGE_SIZE
See Also:
Constant Field Values

zdata

private ThincSMsgFlagFBZData zdata
Constructor Detail

ThincSMsgInitReplyFBData

public ThincSMsgInitReplyFBData(ThincClient tc,
                                ThincMsgHandler h,
                                ThincClientCanvas cs)
creates ThincSMsgInitReplyFBData object.

Parameters:
tc - ThincClient to get the information for handshaking.
h - ThincMsgHandler to handle the message
cs - ThincClientCanvas to get the information
Method Detail

process

public void process()
             throws ThincException
process() gets the message containing information for init frame buffer image, then receiving the init frame buffer image and draw it into frame buffer by using setFrameBuffer() and drawFrameBuffer methods in ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException