Class ThincSMsgVideoMove

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

public final class ThincSMsgVideoMove
extends ThincSMsgVideo

class for moving the video stream's location.

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
ThincSMsgVideoMove(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgVideoMove object.
 
Method Summary
 void process()
          process() gets the stream id and new coordination from the server to move, then moves the stream by modifying stream information from the vector.
 
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

ThincSMsgVideoMove

public ThincSMsgVideoMove(ThincMsgHandler h,
                          ThincClientCanvas c)
creates ThincSMsgVideoMove 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 and new coordination from the server to move, then moves the stream by modifying stream information from the vector.

Specified by:
process in class ThincMsg
Throws:
ThincException