Class ThincSMsgInitSecCaps

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

public final class ThincSMsgInitSecCaps
extends ThincSMsgInit

class for receiving security capability from the server. it also send the ThincCMsgInitSecCaps to notify the client supported security capability.

Author:
Young Jin Yoon
See Also:
ThincSMsgInit

Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincSMsgInit
client
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgInitSecCaps(ThincClient tc, ThincMsgHandler h, ThincClientCanvas cs)
          creates ThincSMsgInitSecCaps object.
 
Method Summary
 void process()
          process() receive security capability from the server and use bitwise & operator to get client security capability correspond with server. finally, it creates and sends ThincCMsgInitRequestClientFormat to notify the client supported video format.
 
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

ThincSMsgInitSecCaps

public ThincSMsgInitSecCaps(ThincClient tc,
                            ThincMsgHandler h,
                            ThincClientCanvas cs)
creates ThincSMsgInitSecCaps 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() receive security capability from the server and use bitwise & operator to get client security capability correspond with server. finally, it creates and sends ThincCMsgInitRequestClientFormat to notify the client supported video format.

Specified by:
process in class ThincMsg
Throws:
ThincException