|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectThincMsg
ThincCMsg
ThincCMsgSound
ThincCMsgSoundStart
public class ThincCMsgSoundStart
ThincCMsgSoundStarts
sends the init messages
for sound. because it operates different port from frame buffer
or video messages, it is as same as T_CSTART messages from
Protocol specification.
ThincCMsgSound
Field Summary | |
---|---|
static int |
MESSAGE_SIZE
|
static int |
MESSAGE_TYPE
|
(package private) byte[] |
version
|
static int |
VERSION_LENGTH
|
Fields inherited from class ThincMsg |
---|
canvas, handler |
Constructor Summary | |
---|---|
ThincCMsgSoundStart(ThincHandler h,
byte[] version)
creates ThincCMsgSoundStart object. |
Method Summary | |
---|---|
byte |
getMsgType()
getMsgType() returns a type of the message. |
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() just puts the version information with network order. |
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_TYPE
public static final int MESSAGE_SIZE
public static final int VERSION_LENGTH
byte[] version
Constructor Detail |
---|
public ThincCMsgSoundStart(ThincHandler h, byte[] version) throws ThincException
h
- ThincMsgHandler
to handle the messageversion
- version information from the sound handler
ThincException
Method Detail |
---|
public byte getMsgType()
ThincCMsg
getMsgType
in class ThincCMsg
public short messageSize()
ThincCMsg
messageSize
in class ThincCMsg
public void putMessage(java.nio.ByteBuffer b)
putMessage
in class ThincCMsg
b
- ByteBuffer object to sendpublic 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 |