On Thu, May 03, 2001 at 10:05:30PM -0700, Ian Clarke wrote: > On Thu, May 03, 2001 at 11:12:51PM -0400, Tavin Cole wrote: > > As has been discussed, the servlet API in its 0.3 form had to be at least > > temporarily discarded while developing 0.4. Before we bring back this > > hulking, klunky beast, let's consider using a much simpler plug-in model. > > I think that the methods exposed by any alternative model should match > the FCP or XML-RPC functions. This means that layers above FCP can make > use of these function calls, and the whole thing ends up being more > elegant.
Ian, the issue is that we need a standard way for the node to pass off the management of an incoming connection to a plug-in. Strictly speaking it's unrelated to the points you raised. At any rate, FCP or XML-RPC is not the most fundamental layer. The most fundamental layer from the perspective of a plug-in would be the node's message handling state machine. On top of this I have built an InternalClient which matches the API for the FNPClient or FCPClient. This is what plug-ins would use. -- # tavin cole # # "The process of scientific discovery is, in effect, # a continual flight from wonder." # - Albert Einstein _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
