LogService. Added saving game started event to DB. Some refactoring.

This commit is contained in:
magenoxx 2012-01-25 20:27:08 +04:00
parent bdb2754847
commit b0a1c07067
8 changed files with 249 additions and 7 deletions

View file

@ -0,0 +1,18 @@
package mage.server.services;
/**
* Common interface for all services.
*
* @author noxx
*/
public interface MageService {
/**
* Restores data on startup.
*/
void initService();
/**
* Dumps data to DB.
*/
void saveData();
}