Class ThincSMsgVideoEnd

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

public final class ThincSMsgVideoEnd
extends ThincSMsgVideo

class for closing 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
ThincSMsgVideoEnd(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgVideoEnd object.
 
Method Summary
 void process()
          process() gets the stream id from the server to close, then closes stream by removing 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

ThincSMsgVideoEnd

public ThincSMsgVideoEnd(ThincMsgHandler h,
                         ThincClientCanvas c)
creates ThincSMsgVideoEnd 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 from the server to close, then closes stream by removing stream information from the vector.

Specified by:
process in class ThincMsg
Throws:
ThincException