|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectThincMsg
ThincCMsg
ThincCMsgResize
ThincCMsgResizeUpdate
public final class ThincCMsgResizeUpdate
ThincCMsgEventMouseButton
is for sending the message that the region
in frame buffer should be refreshed.
In my implementation, it simply request the entire resized frame buffer.
ThincCMsgResize
Field Summary | |
---|---|
static int |
DATA_SIZE
|
private int |
height
|
static int |
MESSAGE_SIZE
|
static int |
MESSAGE_TYPE
|
private int |
width
|
private int |
x
|
private int |
y
|
Fields inherited from class ThincMsg |
---|
canvas, handler |
Constructor Summary | |
---|---|
ThincCMsgResizeUpdate(ThincMsgHandler h,
ThincClientCanvas c,
int x,
int y,
int width,
int height)
creates ThincCMsgEventMouseButton object. |
Method Summary | |
---|---|
byte |
getMsgType()
getMsgType() returns a type of the message. |
short |
headerSize()
headerSize() returns the header size of the client message. different from messageSize() method, it only returns the header of total messages. |
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 the number of region as 1. then 0,0,its width,its height to refresh entire screen. |
Methods inherited from class ThincCMsg |
---|
getFlag |
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 DATA_SIZE
private int x
private int y
private int width
private int height
Constructor Detail |
---|
public ThincCMsgResizeUpdate(ThincMsgHandler h, ThincClientCanvas c, int x, int y, int width, int height)
h
- ThincMsgHandler
to handle the messagec
- ThincClientCanvas
to get the informationMethod Detail |
---|
public byte getMsgType()
ThincCMsg
getMsgType
in class ThincCMsg
public void putMessage(java.nio.ByteBuffer b)
putMessage
in class ThincCMsg
b
- ByteBuffer object to sendThincCMsg.putMessage()
public short messageSize()
ThincCMsg
messageSize
in class ThincCMsg
public short headerSize()
ThincCMsg
headerSize
in class ThincCMsg
ThincCMsgInitRequestVideoClientFormat
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 |