Examples of GameServerPortal


Examples of be.demmel.jgws.rmi.GameServerPortal

        newKeys1[i] = (short) (keys1[i] & 0xFF);
        newKeys2[i] = (short) (keys2[i] & 0xFF);
      }

      // Retrieve the connection with the GameServer
      GameServerPortal gameServerPortal = selectedGameServer.getGameServerPortal();
      // tell the Game Server to accept connections from this client
      try {
        gameServerPortal.acceptPlayerRequest(new LoginServerPlayerData(accountId, characterId, mapId, newKeys1, newKeys2));
      } catch (RemoteException e) {
        LOGGER.error("Failed to register this player with a game server");
        throw new RuntimeException("Failed to register this player with a game server", e);
      }
      // This returned, the Game Server knows about the new client that should connect soon
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.