Ejemplo n.º 1
0
 def main(self):
     #Create something to listen for a connection
     #Create something to give you files
     #Bolt them together
     #Go!
     server = SimpleServer(protocol=self.localFileServerFactory, port=8042)
     server.activate()
     scheduler.run.runThreads()
Ejemplo n.º 2
0
 def main(self):
     #Create something to listen for a connection
     #Create something to give you files
     #Bolt them together
     #Go!
     server = SimpleServer( protocol = self.localFileServerFactory, port = 8042)
     server.activate()
     scheduler.run.runThreads()