Class ThincSMsgInitReplyVideoServerFormat
java.lang.Object
ThincMsg
ThincSMsg
ThincSMsgInit
ThincSMsgInitReply
ThincSMsgInitReplyVideoServerFormat
public final class ThincSMsgInitReplyVideoServerFormat
- extends ThincSMsgInitReply
class for receving video format from the server. the
ThincMsgInitReplyHandler
will send the
ThincCMsgInitRequestClientFormat
to notify
the client supported video format.
- Author:
- Young Jin Yoon
- See Also:
ThincSMsgInitReply
Method Summary |
void |
process()
process()
receive every supported format from the server and use bitwise & operator
to get client supported format correspond with server. finally,
ThincMsgInitReplyHandler sends
ThincCMsgInitRequestClientFormat to notify the client
supported video format by using sendNextMessage() method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
FMT_MESSAGE_SIZE
public static final int FMT_MESSAGE_SIZE
- See Also:
- Constant Field Values
ThincSMsgInitReplyVideoServerFormat
public ThincSMsgInitReplyVideoServerFormat(ThincClient tc,
ThincMsgHandler h,
ThincClientCanvas cs)
- creates ThincSMsgInitReplyVideoServerFormat object.
- Parameters:
tc
- ThincClient
to get the information for handshaking.h
- ThincMsgHandler
to handle the messagecs
- ThincClientCanvas
to get the information
process
public void process()
throws ThincException
- process()
receive every supported format from the server and use bitwise & operator
to get client supported format correspond with server. finally,
ThincMsgInitReplyHandler
sends
ThincCMsgInitRequestClientFormat
to notify the client
supported video format by using sendNextMessage() method.
- Specified by:
process
in class ThincMsg
- Throws:
ThincException