Class ThincSMsgInitSessCaps

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgInit
              extended by ThincSMsgInitSessCaps

public final class ThincSMsgInitSessCaps
extends ThincSMsgInit

class for init reply session secirity capability message from the server. it is actually ACK for ThincCMsgInitSecCaps from the server.

Author:
Young Jin Yoon
See Also:
ThincSMsgInit

Field Summary
(package private)  ThincMsgInitReplyHandler initHandler
           
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincSMsgInit
client
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgInitSessCaps(ThincClient tc, ThincMsgHandler h, ThincClientCanvas cs, ThincMsgInitReplyHandler in)
          creates ThincSMsgInitSessCaps object.
 
Method Summary
 void process()
          process() gets the session security capability from the server and trys to send next message by creating proper ThincCMsg object or using sendNextMessage() method from ThincMsgInitReplyHandler class. because SSL seems not to be implemented on the server side, it is simply ignored just for now.
 
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

initHandler

ThincMsgInitReplyHandler initHandler
Constructor Detail

ThincSMsgInitSessCaps

public ThincSMsgInitSessCaps(ThincClient tc,
                             ThincMsgHandler h,
                             ThincClientCanvas cs,
                             ThincMsgInitReplyHandler in)
creates ThincSMsgInitSessCaps 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 session security capability from the server and trys to send next message by creating proper ThincCMsg object or using sendNextMessage() method from ThincMsgInitReplyHandler class. because SSL seems not to be implemented on the server side, it is simply ignored just for now.

Specified by:
process in class ThincMsg
Throws:
ThincException