Class ThincSMsgVideoResize

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgVideo
              extended by ThincSMsgVideoResize

public final class ThincSMsgVideoResize
extends ThincSMsgVideo

class for resizing the video stream.

Author:
Young Jin Yoon
See Also:
ThincSMsgVideo

Nested Class Summary
 
Nested classes/interfaces inherited from class ThincSMsgVideo
ThincSMsgVideo.ThincVideoStream
 
Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincSMsgVideo
streamId, UYVY, YUY2, YV12
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgVideoResize(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgVideoResize object.
 
Method Summary
 void process()
          process() gets the stream id,width, height and new format information from the server, then set them onto the stream information.
 
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

ThincSMsgVideoResize

public ThincSMsgVideoResize(ThincMsgHandler h,
                            ThincClientCanvas c)
creates ThincSMsgVideoResize object.

Parameters:
h - ThincSoundHandler to handle the message
c - ThincClientCanvas to get the information
Method Detail

process

public void process()
             throws ThincException
process() gets the stream id,width, height and new format information from the server, then set them onto the stream information.

Specified by:
process in class ThincMsg
Throws:
ThincException