Class ThincSMsgAck

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgAck

public final class ThincSMsgAck
extends ThincSMsg

takes proper action for ack message from server. currently there is nothing to do. if it is positive ack, do nothing. however if it is negative ack, it should be properly handled by this class.

Author:
Young Jin Yoon
See Also:
ThincSMsg

Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgAck(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgAck object.
 
Method Summary
 void process()
          process() if the received message is NAK, simply throws new ThincException.
 
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

ThincSMsgAck

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

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

process

public void process()
             throws ThincException
process() if the received message is NAK, simply throws new ThincException.

Specified by:
process in class ThincMsg
Throws:
ThincException