|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgecco.communication.messages.Message
gecco.communication.messages.UnitPropertyUpdateMessage
This message is put in the send queue on the server part of the communication when a unit property is updated.
Field Summary | |
int |
handle
Description of the Field |
String |
key
Description of the Field |
String |
newValue
Description of the Field |
Constructor Summary | |
UnitPropertyUpdateMessage(int handle,
String key,
String newValue)
Constructor for the UnitPropertyChangedMessage object |
Method Summary | |
static Message |
read(DataInput in)
This factory method reads a message of this type without an initial ID from the input stream, and returns a Message object. |
void |
write(DataOutput out)
This method writes the message to the given DataOutput . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int handle
public String key
public String newValue
Constructor Detail |
public UnitPropertyUpdateMessage(int handle, String key, String newValue)
handle
- Description of Parameterkey
- Description of ParameternewValue
- Description of ParameterMethod Detail |
public void write(DataOutput out) throws IOException
DataOutput
.
write
in class Message
out
- The output stream.
IOException
- In case something goes wrong.public static Message read(DataInput in) throws IOException
Message
object.
in
- The input stream.
Message
.
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |