For me this highlights a difficulty with making a component generic (and therefore more useful) vs knowing where to find the component for the task at hand:
I've found the name of the module "ConnectedServer" a little mystifying until now. your explanation about how it could be used for non TCP server based tasks, plus what you've said here means it now makes sense for me. I imagine others have had similar difficulty when asking the question "where do I find a component for building a TCP server?". The name "ConnectedServer" is definitely the most logical descriptive choice. However, combined with its location in Kamaelia.Chassis, it doesn't feel like the natural place to look for building a TCP server. I have a suggestion: Maybe what we need is a slightly stripped back properly generic ConnectedServer module (ie. similar to what it is now, but without the TCP server specificness); then a specialisation of it in Kamaelia.Internet that more closely resembles how it currently stands. I'd imagine this Kamaelia.Internet.Server (or whatever you call it) component would be a prefab, or subclass, of the Kamaelia.Chassis.ConnectedServer component. Only problem I can see with moving towards my suggestion would be maintaining backwards compatibility. Perhaps that could be solved by coming up with a new name for the "properly generic" ConnectedServer module in Kamaelia.Chassis - ummm, eg. Kamaelia.Chassis.ConnectionServer and later marking the existing Kamaelia.Chassis.ConnectedServer with prominent deprecation warnings. Matt On Wed, 14 Jan 2009 10:55:34 -0000, Michael Sparks <spark...@gmail.com> wrote: > > On Wednesday 14 January 2009 02:36:30 Jason Baker wrote: >> -===================== >> -Simple Server Chassis >> -===================== >> +==================================== >> +SimpleServer and ServerCore Chassis >> +==================================== > > I've rewritten that part of the file, calling it "Connected Servers" > instead, > to be a) consistent with the filename b) consistent with the fact that > neither > SimpleServer nor ServerCore are actually limited to TCP based servers. > (It'd > be a little bit of a pain at present to do some other sorts, but doable) > > > Michael. -- | Matt Hammond | Research Engineer, FM&T, BBC, Kingswood Warren, Tadworth, Surrey, UK | http://www.bbc.co.uk/rd/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to kamaelia@googlegroups.com To unsubscribe from this group, send email to kamaelia+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---