|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectThincMsg
ThincCMsg
ThincCMsgInit
ThincCMsgInitOK
public final class ThincCMsgInitOK
Field Summary | |
---|---|
static int |
MESSAGE_TYPE
|
Fields inherited from class ThincMsg |
---|
canvas, handler |
Constructor Summary | |
---|---|
ThincCMsgInitOK(ThincMsgHandler h,
ThincClientCanvas c)
|
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() puts messages to send to server. |
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
Constructor Detail |
---|
public ThincCMsgInitOK(ThincMsgHandler h, ThincClientCanvas c)
Method Detail |
---|
public byte getMsgType()
ThincCMsg
getMsgType
in class ThincCMsg
public void putMessage(java.nio.ByteBuffer b)
ThincCMsg
putMessage
in class ThincCMsg
b
- ByteBuffer object to sendpublic short messageSize()
ThincCMsg
messageSize
in class ThincCMsg
public void process()
ThincMsg
ThincMsgHandler
object to send the
client messages.
In server messages, it interacts with ThincClientCanvas
in this method.
process
in class ThincMsg
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |