From a24f52761a623afa3c041b7823004952d8c5286e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 1 Jun 2008 22:46:21 +0000 Subject: serialization notes added --- docs/SERIALIZATION_NOTES.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/SERIALIZATION_NOTES.txt (limited to 'docs') diff --git a/docs/SERIALIZATION_NOTES.txt b/docs/SERIALIZATION_NOTES.txt new file mode 100644 index 0000000..7130d36 --- /dev/null +++ b/docs/SERIALIZATION_NOTES.txt @@ -0,0 +1,36 @@ +TODO: RESET BEFORE DESERIALIZATION + +VSSerialize + prefs(=VSPrefs).serialize + writeObject(...) + simulator(=VSSimulator).serialize + simulatorCanvas(=VSSimulatorCanvas).serialize + writeObject(numProcesses) + for (porcess : processes) process(=VSProcess).serialize { + super(=VSPrefs).serialize + writeObject(numProtocolsToReset) + for (protocol : protocolsToReset) { + writeObject(protocolClassname) + protocol(=VSAbstractProtocol).serialize + super(=VSAbstractEvent).serialize + super(=VSPrefs).serialize + s.o. + writeObject(id) + writeObject(eventShortname) + writeObject(eventClassname) + writeObject(hasOnServerStart) + } + } + taskManager(=VSTaskManager).serialize + writeObject(numTasks) + for (task : tasks) task(=VSTask).serialize + writeObject(eventClassname) + event(=VSAbstractEvent).serialize + s.o. + writeObject(eventID) + writeObject(processNum) + writeObject(taskNum) + writeObject(taskTime) + writeObject(isGlobalTimed) + writeObject(isProgrammed) + -- cgit v1.2.3