Esempio n. 1
0
 def loadMasterServerList(self, serverlistfilter, tab):
     """
     Loads the Serverlist from the masterserver.
     This method is executed in a background thread which is triggered by 
     the executeMasterServerQuery method
     
     @param serverlistfilter - instance of the serverlistfilter profiding
                               query and filter paramters
     @tab - the tab requesting the serverlist
     """
     Log.log.debug('[GuiController] loadMasterServerList called...')
     #clear the current serverlist
     gobject.idle_add(tab.clearServerList)
     
     #perform the master server query
     qm = QueryManager()
     tab.set_querymanager(qm)
     qm.startMasterServerQueryThread(serverlistfilter, tab)