public class SerializableUpdates extends java.lang.Object implements ISerializable
Constructor and Description |
---|
SerializableUpdates()
Creates an empty list of updates.
|
SerializableUpdates(java.util.List<DataUpdate> updates)
Creates a serializable update to write the specified list.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DataUpdate> |
getUpdates()
Returns the updates in the parcel.
|
void |
readObject(IObjectInput input)
This method is called when an implementing object is deserialized.
|
void |
writeObject(IObjectOutput output)
This method is called when an implementing object is serialized.
|
public SerializableUpdates()
public SerializableUpdates(java.util.List<DataUpdate> updates)
updates
- The updates.public java.util.List<DataUpdate> getUpdates()
public void readObject(IObjectInput input) throws java.io.IOException
ISerializable
readObject
in interface ISerializable
input
- The input stream used to deserialize from.java.io.IOException
- Thrown if an exception occurs while reading the object.public void writeObject(IObjectOutput output) throws java.io.IOException
ISerializable
writeObject
in interface ISerializable
output
- The output stream used to serialize the object.java.io.IOException
- Thrown if an exception occurs.