Class ThincCMsgInitRequestVideoServerFormat
java.lang.Object
ThincMsg
ThincCMsg
ThincCMsgInit
ThincCMsgInitRequest
ThincCMsgInitRequestVideoServerFormat
public final class ThincCMsgInitRequestVideoServerFormat
- extends ThincCMsgInitRequest
replies the ThincSMsgInitRequestVideoServerFormat
is handled
in client properly.
- Author:
- Young Jin Yoon
- See Also:
ThincCMsgInitRequest
Method Summary |
short |
messageSize()
messageSize()
returns the total messageSize to send. |
void |
process()
process()
is general processing method for each thinc messages. |
void |
putMessage(java.nio.ByteBuffer b)
putMessage()
puts request type, 0 for unused field,and list of supported format, respectively. |
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
ThincCMsgInitRequestVideoServerFormat
public ThincCMsgInitRequestVideoServerFormat(ThincMsgHandler h,
ThincClientCanvas c)
- creates ThincCMsgInitRequestVideoServerFormat object.
- Parameters:
h
- ThincMsgHandler
to handle the messagec
- ThincClientCanvas
to get the information
putMessage
public void putMessage(java.nio.ByteBuffer b)
- putMessage()
puts request type, 0 for unused field,and list of supported format, respectively.
- Specified by:
putMessage
in class ThincCMsg
- Parameters:
b
- ByteBuffer object to send
messageSize
public short messageSize()
- Description copied from class:
ThincCMsg
- messageSize()
returns the total messageSize to send.
- Specified by:
messageSize
in class ThincCMsg
- Returns:
- total messageSize refered from ThincMsgHandler class
process
public void process()
throws ThincException
- Description copied from class:
ThincMsg
- 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.
- Specified by:
process
in class ThincMsg
- Throws:
ThincException