> > o The freenet systray application assumes the node runs like any normal > > executable file. In fact the freenet systray application stops and > > restarts the node at will
> Could the systray applet not simply execute appropriate "net.exe start > <service>" or "net.exe stop <service>" to start and stop the node service? I though that's what said later on in the original email? : > > What I would therefore prefer to do is write a service wrapper for the java > > node, and modify freenet.exe to communicate with this wrapper rather than > > the node itself. Anyway, it wouldn't execute net.exe, it would go directly through the SCM, but the end result would be the same. If implemented properly, the systray app could send configuration requests directly to the service, rather than simply relying on the service to pick up changes when it is stopped-and-restarted. At its most basic this would simply mean having a custom handler defined to mean 'restart the node', which would in fact be implemented within the service to shutdown and restart the java node. You're right about FCP. I don't know much about FCP and the systray app predates it, maybe that's reason enough for me to look at using FCP to shut the node down. Dave _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
