On Wed, 27 Dec 2000, Brandon wrote: > I consider it a meta-key that is in a layer on top of other keys. Yeah. > > To add support for MSKs to RequestClient, the obvious place to add it is > > ClientUtil.getKey, but I would have to overload it with another version > > that takes a MapHandler as an argument, and that's ugly and inefficient, > > because the key might not even be a MSK. So I could add a isMSK method to > > ClientUtil that takes the key string and checks. I'd do it in fillBuckets > > before the ClientKey is initialized, and if it returns true, I'd > > instantiate a MapHandler and run the key string through it first. > > ClientUtil.getKey is the right place, I think, but the place for the > MapHandler is in MapHandler.instance (static variable). You only need one > map handler for the whole JVM even if you have multiple things running and > you don't need to mess with all that other crazy stuff. So that's how you do that! Java's so kewl... -- Mark Roberts [EMAIL PROTECTED] _______________________________________________ Freenet-dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/mailman/listinfo/freenet-dev
- Re: [Freenet-dev] Map files for FProxy Oskar Sandberg
- Re: [Freenet-dev] Map files for FProxy Mark J. Roberts
- Re: [Freenet-dev] Map files for FProxy Oskar Sandberg
- Re: [Freenet-dev] Map files for FProxy Mark J. Roberts
- Re: [Freenet-dev] Map files for FProxy Scott Gregory Miller
- Re: [Freenet-dev] Map files for FProxy Scott Gregory Miller
- Re: [Freenet-dev] Map files for FProxy Brandon
- Re: [Freenet-dev] Map files for FProxy Brandon
- Re: [Freenet-dev] Map files for FProxy Mark J. Roberts
- Re: [Freenet-dev] Map files for FProxy Brandon
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Mark J. Roberts
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Mark J. Roberts
- RE: [Freenet-dev] Map files for FProxy / Pissing Memo... Fred Salzer
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Scott Gregory Miller
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Travis Bemann
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Ian Clarke
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Scott Gregory Miller
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Travis Bemann
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Ian Clarke
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Travis Bemann
- Re: [Freenet-dev] Map files for FProxy / Pissing Memo... Scott Gregory Miller