Re: [Twisted-Python] Need help for structured application development

2010-02-21 Thread Einar S . Idsø
On Fri, Feb 19, 2010 at 5:45 AM, Johann Borck wrote: > I see. So if I get these requirements right you have 5-10 services with > 1-30 instances of each, with following properties relevant to the task > at hand: > > 1. those pollable by your existing program. > 2. those incompatible with your exist

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Johann Borck
Einar S. Idsø wrote: > On Thu, Feb 18, 2010 at 11:36 AM, Johann Borck > wrote: > >> Einar S. Idsø wrote: >> >>> [...] I guess I need a factory that launches server checker >>> objects not as a result of a TCP/UDP connection, but as a result of >>> new servers being detected. >>> >>

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Einar S . Idsø
On Thu, Feb 18, 2010 at 11:36 AM, Johann Borck wrote: > Einar S. Idsø wrote: >> [...]  I guess I need a factory that launches server checker >> objects not as a result of a TCP/UDP connection, but as a result of >> new servers being detected. > How does this detection work? Are those servers based

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Johann Borck
Einar S. Idsø wrote: > [...] I guess I need a factory that launches server checker > objects not as a result of a TCP/UDP connection, but as a result of > new servers being detected. How does this detection work? Are those servers based on twisted? Also, do you control them (start/stop/configurat

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Glyph Lefkowitz
On Feb 17, 2010, at 1:14 PM, Einar S. Idsø wrote: > Yeah, sorry about the long mail. I thought it would be a good idea to > explain my app and its requirements, and thereby get better advice on > how to structure it, than having to iterate to and from this list a > number of times. Perhaps that w

Re: [Twisted-Python] Need help for structured application development

2010-02-17 Thread Einar S . Idsø
Yeah, sorry about the long mail. I thought it would be a good idea to explain my app and its requirements, and thereby get better advice on how to structure it, than having to iterate to and from this list a number of times. Perhaps that was the wrong strategy. Thanks for your assistance. I've loo

Re: [Twisted-Python] Need help for structured application development

2010-02-16 Thread Alexandre Quessy
Hello Einar, This is a quite long email. What I can tell you, is that querying many command line applications with t.i.utils.getProcessOutput and gathering them in a DeferredList worked for me. Example: the list_cameras in http://svn.sat.qc.ca/trac/miville/browser/trunk/py/scenic/devices/cameras.py