Reflection is very cool. If you implement a telnet
protocol, I'll hook it up to XCommander (in avalon-apps)
so you can issue the commands in XML (or some script
can do so).

Not because I would use it, but it's cool nonetheless ;)

cheers,

- Leo

> -----Oorspronkelijk bericht-----
> Van: Shawn Boyce [mailto:[EMAIL PROTECTED]
> Verzonden: Thursday, March 21, 2002 5:23 PM
> Aan: Avalon Applications Developers List
> Onderwerp: Re: Telnet server for Phoenix
> 
> 
> OK. This helps me understand the needs.
> The Reflection idea is very interesting and allows the server to be
> a generic plugin.
> 
> Peter Donald wrote:
> 
> >On Fri, 22 Mar 2002 01:32, Peter Royal wrote:
> >
> >>On Thursday 21 March 2002 09:26 am, Peter Donald wrote:
> >>
> >>>On Tue, 19 Mar 2002 04:37, Shawn Boyce wrote:
> >>>
> >>>>At one point (although I don't see it now), the Avalon web site
> >>>>mentioned interest in a Telnet server for Phoenix. It also mentioned
> >>>>the telnetd server that is on SourceForge.
> >>>>
> >>>>I'm curious if that interest was still there and what are the
> >>>>expectations regarding the server's functionality.
> >>>>
> >>>I was the main one interested in it I think and I have no imediate need
> >>>for such a beast atm. However I would love to see see something that
> >>>could inter-operate with phoenix ;)
> >>>
> >>I'm curious as to what the use of a telnet server for phoenix would be.
> >>Text-based management console?
> >>
> >
> >That was my original design. The application server I wrote 
> before phoenix 
> >actually used such a thing. I used telnet + simple reflection to 
> write the 
> >server. 
> >
> >ie When you issued the following command over telnet
> >
> >>displayClient 2
> >>
> >
> >It would search through a biunch of "management" objects using 
> reflection 
> >looking for a method of form
> >
> >public void cmd_displayClient(String[] args) 
> >{
> >}
> >
> >and execute it if found. If there was multiple objects with same 
> command you 
> >could prefix command with object name like
> >
> >>server.displayClient 2
> >>
> >
> >And this would only look at the "server" management object for 
> the command.
> >
> >It was a simple system and remarkably easy to add things and get 
> things going.
> >
> 
> -- 
> Shawn Boyce
> QCOM, Inc.   
> Quality Software is Our Business
> http://www.qcominc.com
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to