Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generic Worker #2

Open
tarekziade opened this issue Aug 8, 2011 · 4 comments
Open

generic Worker #2

tarekziade opened this issue Aug 8, 2011 · 4 comments

Comments

@tarekziade
Copy link

there should be a way to define a generic worker, given a server class:

wk = Worker(server_class)

and implement a generic run(), where .start() and .stop() are used

@benoitc
Copy link
Collaborator

benoitc commented Aug 8, 2011

Gevent server?

@tarekziade
Copy link
Author

I think any server as long as it implements .start() and .stop()

@benoitc
Copy link
Collaborator

benoitc commented Aug 8, 2011

What about having a ServerWorker where server_class is passed as an argument?

@tarekziade
Copy link
Author

sounds good to me.

@tarekziade tarekziade reopened this Aug 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants