gecco.communication.messages
Class UnitPropertyDeletedMessage
java.lang.Object
|
+--gecco.communication.messages.Message
|
+--gecco.communication.messages.UnitPropertyDeletedMessage
- public class UnitPropertyDeletedMessage
- extends Message
UnitPropertyDeleted.java
Created: Mon Sep 15 16:56:16 2003
- Author:
- Hans Sandström
Method Summary |
static Message |
read(DataInput in)
This factory method reads a message id from the input stream
and calls the read() factory method of the
corresponding subclass, which is responsible for reading the
actual data. |
void |
write(DataOutput out)
This method should write the message to the given
DataOutput . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handle
public int handle
key
public String key
newValue
public String newValue
UnitPropertyDeletedMessage
public UnitPropertyDeletedMessage(int handle,
String key)
write
public void write(DataOutput out)
throws IOException
- Description copied from class:
Message
- This method should write the message to the given
DataOutput
.
- Specified by:
write
in class Message
- Parameters:
out
- The output stream.
IOException
read
public static Message read(DataInput in)
throws IOException
- Description copied from class:
Message
- This factory method reads a message id from the input stream
and calls the
read()
factory method of the
corresponding subclass, which is responsible for reading the
actual data.
- Parameters:
in
- The input stream.
- Returns:
- An instance of
Message
.
IOException