|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.network.data.DataManager
vooga.network.data.LocalDataManager
public class LocalDataManager
LocalDataManager is a DataManager subclass for storing data locally when not connected to the server. It provides the ability to synchronize its locally stored data to the server store upon reconnection.
Constructor Summary | |
---|---|
LocalDataManager(VoogaModule module)
This creates a LocalDataManager for the given module. |
Method Summary | |
---|---|
protected void |
initialize()
Allows subclasses to perform any additional initialization once the data has been loaded from file. |
void |
synchronizeWithServer()
Synchronizes the local manager's data with the server. |
Methods inherited from class vooga.network.data.DataManager |
---|
containsData, containsData, containsTable, createTable, eraseData, eraseData, eraseTable, getAllData, getData, getData, getMyData, getMyModule, loadData, saveData, storeData, storeData, synchronize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalDataManager(VoogaModule module)
LocalDataManager
for the given module. The
manager has access to the local storage of that module's data.
module
- Method Detail |
---|
public void synchronizeWithServer() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
protected void initialize()
DataManager
initialize
in class DataManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |