Class ThincMsg

java.lang.Object
  extended by ThincMsg
Direct Known Subclasses:
ThincCMsg, ThincSMsg

public abstract class ThincMsg
extends java.lang.Object

general thinc message class. every thinc message (including SERVER=>CLIENT and CLIENT=>SERVER message) should be derived from this.

Author:
Young Jin Yoon
See Also:
ThincSMsg, ThincCMsg

Field Summary
protected  ThincClientCanvas canvas
           
protected  ThincHandler handler
           
 
Constructor Summary
ThincMsg(ThincHandler h, ThincClientCanvas c)
           
 
Method Summary
abstract  void process()
          process() is general processing method for each thinc messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

protected ThincHandler handler

canvas

protected ThincClientCanvas canvas
Constructor Detail

ThincMsg

public ThincMsg(ThincHandler h,
                ThincClientCanvas c)
Method Detail

process

public abstract void process()
                      throws ThincException
process() is general processing method for each thinc messages. Most of client messages, it simply invokes send() methods in ThincMsgHandler object to send the client messages. In server messages, it interacts with ThincClientCanvas in this method.

Throws:
ThincException