Ejemplo n.º 1
0
 @Override
 public void commit(DatabaseServer databaseObject) {
   SessionServer sessionServer = (SessionServer) databaseObject;
   sessionServer.gid = gid;
   super.commit(databaseObject);
 }
Ejemplo n.º 2
0
 /** @return a list of the player in this session */
 public ArrayList<String> getPlayers() {
   SessionServer sessionServer = SessionServer.fetch(getGamePersistenceManagerServer(), getKey());
   return null == sessionServer ? new ArrayList<String>() : sessionServer.getList();
 }