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