Package net.sphene.goim.serverbrowser.extensionpoints.MasterServerExtensionPoint

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


    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

Related Classes of net.sphene.goim.serverbrowser.extensionpoints.MasterServerExtensionPoint.MasterServerExtensionProxy

Copyright © 2018 www.massapicom. 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.