public abstract static class DownloadAction.Deserializer
extends java.lang.Object
DownloadActions.| Constructor and Description |
|---|
Deserializer(java.lang.String type,
int version) |
| Modifier and Type | Method and Description |
|---|---|
abstract DownloadAction |
readFromStream(int version,
java.io.DataInputStream input)
Deserializes an action from the
input. |
public abstract DownloadAction readFromStream(int version, java.io.DataInputStream input) throws java.io.IOException
input.version - The version of the serialized action.input - The stream from which to read the action.java.io.IOExceptionDownloadAction.writeToStream(DataOutputStream)