Re: [Twisted-Python] glossary (was Re: Using SerialPort with t.a.s.Application)

2011-01-28 Thread Kevin Horn
> > > I'm not sure how much of a problem maintaining it would be, especially as I > agree that linking to the API docs is probably a good idea (though I think a > lot of the docstrings in there could be greatly improved). For one thing, > how often has the _intent_ of the IProtocol interface(which

Re: [Twisted-Python] glossary (was Re: Using SerialPort with t.a.s.Application)

2011-01-28 Thread Kevin Horn
On Fri, Jan 28, 2011 at 7:50 PM, Glyph Lefkowitz wrote: > > On Jan 28, 2011, at 5:47 PM, Kevin Horn wrote: > > > > On Fri, Jan 28, 2011 at 1:33 PM, Glyph Lefkowitz > wrote: > >> >> On Jan 28, 2011, at 10:38 AM, Kevin Horn wrote: >> >> >> >> On Fri, Jan 28, 2011 at 7:25 AM, Itamar Turner-Trauring

[Twisted-Python] glossary (was Re: Using SerialPort with t.a.s.Application)

2011-01-28 Thread Glyph Lefkowitz
On Jan 28, 2011, at 5:47 PM, Kevin Horn wrote: > > > On Fri, Jan 28, 2011 at 1:33 PM, Glyph Lefkowitz > wrote: > > On Jan 28, 2011, at 10:38 AM, Kevin Horn wrote: > >> >> >> On Fri, Jan 28, 2011 at 7:25 AM, Itamar Turner-Trauring >> wrote: >> >> A service is supposed >> to be something

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Kevin Horn
On Fri, Jan 28, 2011 at 1:33 PM, Glyph Lefkowitz wrote: > > On Jan 28, 2011, at 10:38 AM, Kevin Horn wrote: > > > > On Fri, Jan 28, 2011 at 7:25 AM, Itamar Turner-Trauring < > ita...@itamarst.org> wrote: > >> >> A service is supposed >> to be something you can start and stop, and encapsulates a >>

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Glyph Lefkowitz
On Jan 28, 2011, at 10:38 AM, Kevin Horn wrote: > > > On Fri, Jan 28, 2011 at 7:25 AM, Itamar Turner-Trauring > wrote: > > A service is supposed > to be something you can start and stop, and encapsulates a > self-contained piece of business logic. > > -Itamar > > > > This or something ve

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Tom Davis
On Fri, Jan 28, 2011 at 10:38 AM, Kevin Horn wrote: > > > On Fri, Jan 28, 2011 at 7:25 AM, Itamar Turner-Trauring < > ita...@itamarst.org> wrote: > >> >> A service is supposed >> to be something you can start and stop, and encapsulates a >> self-contained piece of business logic. >> >> -Itamar >>

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Kevin Horn
On Fri, Jan 28, 2011 at 7:25 AM, Itamar Turner-Trauring wrote: > > A service is supposed > to be something you can start and stop, and encapsulates a > self-contained piece of business logic. > > -Itamar > > > This or something very much like it should be in the Twisted Glossary. Kevin Horn

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Itamar Turner-Trauring
On Fri, 2011-01-28 at 09:29 +0100, Albert Brandl wrote: > I'd like to run the application with twistd. But it looks as if SerialPort > does not really fit into this framework. It does not implement IService, > so `my_serial_port.setServiceParent(collection)` does not work. Just implement your own

Re: [Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Ralph Meijer
On Fri, 2011-01-28 at 09:29 +0100, Albert Brandl wrote: > Hi! > > In our project, we accumulate data from various sources. Some of them are > connected via serial line (e.g. a GPS receiver and a weather station). > > I'd like to run the application with twistd. But it looks as if SerialPort > doe

[Twisted-Python] Using SerialPort with t.a.s.Application

2011-01-28 Thread Albert Brandl
Hi! In our project, we accumulate data from various sources. Some of them are connected via serial line (e.g. a GPS receiver and a weather station). I'd like to run the application with twistd. But it looks as if SerialPort does not really fit into this framework. It does not implement IService,