« Return to Thread: How to do a callback sort of thing with pyAmf

How to do a callback sort of thing with pyAmf

by Mike Dickson-3 :: Rate this Message:

Reply to Author | View in Thread

Is there a well known pattern for handling a case where a client should
get notified when the state of a server/remote object changes?  I figure
I can make the client make a remote call that blocks on a condition
variable in my server and wake it up when the data changes but that
means a thread per client and I don't like how that scales?  

Any pointers or guidance greatly appreciated.

Mike (wishing python had continuations)

_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

 « Return to Thread: How to do a callback sort of thing with pyAmf