derwolfe / teiler

Simple local filesharing (unmaintained, do not use)
MIT License
0 stars 1 forks source link

use twisted application framework #16

Open derwolfe opened 10 years ago

derwolfe commented 10 years ago

Swap out the usage of a main.py file, use a twisted service. See: http://twistedmatrix.com/documents/current/core/howto/application.html

derwolfe commented 10 years ago

Or investigate using endpoints. see https://twistedmatrix.com/documents/current/api/twisted.internet.endpoints.html and https://twistedmatrix.com/documents/current/core/howto/endpoints.html

derwolfe commented 10 years ago

It looks like what I'm meaning with the application framework is:

  1. Setup plugins for the peer discovery protocol and the rest services.
  2. Setup a service that uses these plugins.