public class GameSimBoot extends Object implements com.sun.sgs.app.AppListener, Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
CHANGE_MANAGER_FREQUENCY
The number of milliseconds between update calls to the membership
change manager.
|
static String |
DUNGEON_FILE_DEFAULT
Standard location for the "dungeons file" that defines all the
games available through this app instance.
|
static String |
DUNGEON_FILE_PROPERTY
The property you define to override the standard dungeons file
location.
|
| Constructor and Description |
|---|
GameSimBoot() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Properties properties)
Called by the game server to actually start this game application.
|
com.sun.sgs.app.ClientSessionListener |
loggedIn(com.sun.sgs.app.ClientSession session)
Called when a new user joins the game app.
|
public static final String DUNGEON_FILE_DEFAULT
public static final String DUNGEON_FILE_PROPERTY
public static final int CHANGE_MANAGER_FREQUENCY
public void initialize(Properties properties)
initialize in interface com.sun.sgs.app.AppListenerproperties - the application properties loaded from the
application's configuration filepublic com.sun.sgs.app.ClientSessionListener loggedIn(com.sun.sgs.app.ClientSession session)
loggedIn in interface com.sun.sgs.app.AppListenersession - the user's client sessionCopyright © 2013. All Rights Reserved.