|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectThincMsg
ThincCMsg
ThincCMsgVideo
ThincCMsgVideoStartOK
public final class ThincCMsgVideoStartOK
ThincCMsgVideoStartOK
sends an ACK/NAK messages
for video stream to the server.
ThincCMsgVideo
Field Summary | |
---|---|
private int |
id
Deprecated. |
static int |
MESSAGE_SIZE
Deprecated. |
static int |
MESSAGE_TYPE
Deprecated. |
static int |
NOTOK
Deprecated. |
private boolean |
ok
Deprecated. |
static int |
OK
Deprecated. |
Fields inherited from class ThincMsg |
---|
canvas, handler |
Constructor Summary | |
---|---|
ThincCMsgVideoStartOK(ThincMsgHandler h,
ThincClientCanvas c,
int id,
boolean startOK)
Deprecated. creates ThincCMsgSoundStart object. |
Method Summary | |
---|---|
byte |
getMsgType()
Deprecated. getMsgType() returns a type of the message. |
short |
messageSize()
Deprecated. messageSize() returns the total messageSize to send. |
void |
process()
Deprecated. process() is general processing method for each thinc messages. |
void |
putMessage(java.nio.ByteBuffer b)
Deprecated. putMessage() puts stream id and its ACK or NAK. 1 for ACK, 0 for NAK |
Methods inherited from class ThincCMsg |
---|
getFlag, headerSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MESSAGE_SIZE
public static final int MESSAGE_TYPE
public static final int OK
public static final int NOTOK
private int id
private boolean ok
Constructor Detail |
---|
public ThincCMsgVideoStartOK(ThincMsgHandler h, ThincClientCanvas c, int id, boolean startOK)
h
- ThincMsgHandler
to handle the messagec
- ThincClientCanvas
to get the informationid
- identifier for each video streamsstartOK
- boolean flag that refers OK or not OKMethod Detail |
---|
public byte getMsgType()
ThincCMsg
getMsgType
in class ThincCMsg
public void putMessage(java.nio.ByteBuffer b)
putMessage
in class ThincCMsg
b
- ByteBuffer object to sendpublic short messageSize()
ThincCMsg
messageSize
in class ThincCMsg
public void process() throws ThincException
ThincMsg
ThincMsgHandler
object to send the
client messages.
In server messages, it interacts with ThincClientCanvas
in this method.
process
in class ThincMsg
ThincException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |