Examples of MasterServerExtensionProxy


Examples of net.sphene.goim.serverbrowser.extensionpoints.MasterServerExtensionPoint.MasterServerExtensionProxy

   * @param refresh true if server list should always be retrieved from master server
   * @return the server list served by this master server.
   */
  public synchronized GameServerListWrapper getServerList(boolean refresh) {
    if(!refresh && serverList != null) return serverList;
    MasterServerExtensionProxy provider = MasterServerExtensionPoint.getMasterServerExtensionById(protocolId);
    GameServer[] serverList = provider.retrieveServerList(this);
   
    if(serverListener == null) {
      serverListener = new SpheneListener<SpheneEvent>(){
        public void handleEvent(SpheneEvent event) {
          gameServerListenerList.fireEvent(event);
View Full Code Here

Examples of net.sphene.goim.serverbrowser.extensionpoints.MasterServerExtensionPoint.MasterServerExtensionProxy

    chooseMasterServerProtocol.addListener(SWT.Selection,new Listener(){
      public void handleEvent(Event event) {
        int index = chooseMasterServerProtocol.getSelectionIndex();
        if(index >= 0) {
          MasterServerExtensionProxy masterServerProtocol = masterServers.get(index);
          setSelectedNode(masterServerProtocol.getAddMasterServerWizardNode());
        }
      }
    });
  }
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.