Exemple #1
0
 def server_start_commands(self, gui):
     gui.setServer(server.Server(gui))
     gui.getServer().start()
Exemple #2
0
 def server_quit_commands(self, gui):
     if gui.getServer() != None:
         self.server_shutdown_commands(gui)
     #self.quit
Exemple #3
0
 def server_shutdown_commands(self, gui):
     gui.getServer().server_shutdown()
     gui.getServer().stop()
     gui.setServer(None)