forked from External/mage
LogService. Added saving game started event to DB. Some refactoring.
This commit is contained in:
parent
bdb2754847
commit
b0a1c07067
8 changed files with 249 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue