|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializableState
Simulator state objects that implement this interface allow the state of the simulator to be captured for later consumption. This allows a host of time-shifting goodness
| Method Summary | |
|---|---|
SerializableState |
decode(byte[] data)
Decode the supplied data and construct a new state object from it. |
byte[] |
encode()
Encode the data of this state object to a byte array, such that it may be decoded by decode( data ) |
| Method Detail |
|---|
byte[] encode()
SerializableState decode(byte[] data)
throws java.io.IOException
data - The data to decode. It was produced by the encode()
method
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||