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.
--
Cheers,
Pete
*-----------------------------------------------------------------------*
PROGRAM: n. a magic spell cast over a computer allowing it to turn
one's input into error messages. v.t. to engage in a pastime similar
to banging one's head against a wall, but with fewer opportunities for
reward.
*-----------------------------------------------------------------------*
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>