I know that this is a big 'ol can of worms, but I'm venturing here anyway. As a client writer, I'm looking to integrate the information in GJ's NodeStatus servlet into my client. However, I noticed that things keep changing from build to build, and the logic in my program needed to interpret all the different versions is getting rather large.
What I'm asking isn't anything new (Ian was pushing it earlier, I think) -- please make the node status information available via FCP. Then, users wouldn't have to edit their config files manually or open up another port, as well as maintaining compatibility between upgrades. Also, I'm not telling you to remove the servlet; I rather like being able to see what's going on with a web browser, I'm just asking that it can be made available in a consistent manner somehow. Possible structure: C->N QueryNodeStatus Data=(BasicStats | ExtendedStats | RefDownload | KeyList) EndMessage N->C (one of:) BasicStats TotalRefs=9a ContactedRefs=2 BackedOffRefs=8f NumOfKeys=3a51 EndMessage ExtendedStats TotalRefs=9a ContactedRefs=2 BackedOffRefs=8f NumOfKeys=3A51 Ref.0.Address=tcp/casa.dyndns.org:3155 Ref.0.CP=1.0 Ref.0.Failures=1 Ref.0.Attempts=183 Ref.0.Connects=B0 Ref.0.BackedOff=no Ref.0.LastAttempt=83 . . . EndMessage RefDownload TotalRefs=9a <ref data> . . . EndMessage KeyList NumOfKeys=3a51 Key.0=9a67152bd1e3c68a436a24dd8b972993c28d05980f0203 Key.1=2cca2422ed066ddfb4f063935185dac6376dc8d50f0203 Key.2=b3c2d59ddf66e831ef8edfadb79d75d6abd29a6a0f0203 . . . EndMessage --delta407 _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
