コード例 #1
0
ファイル: __init__.py プロジェクト: RandomStuffs22/beets
 def run(self):
     """Block and start listening for connections from clients. An
     interrupt (^C) closes the server.
     """
     self.startup_time = time.time()
     bluelet.run(
         bluelet.server(self.host, self.port, Connection.handler(self)))
コード例 #2
0
ファイル: __init__.py プロジェクト: akiva/beets
 def run(self):
     """Block and start listening for connections from clients. An
     interrupt (^C) closes the server.
     """
     self.startup_time = time.time()
     bluelet.run(bluelet.server(self.host, self.port,
                                Connection.handler(self)))