Web-Interface Questions

Aidan Steele <[email protected]> Wed, 28 Sep 2005 14:37:25 +1000
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
Hi there,

I hope I'm not asking too many questions here! (I'm not too familiar
with the netiquette of mailinglists, I apologise.)

Insofar I have been writing my HTTPServer class as a part of the
LimeWire core. I've implemented a subset of the HTTP/1.1 spec (enough
for a project of this magnitude) and a basic templating engine, which
is working as expected so far. I am about to implement things like
searching for files on the network, downloading them etc. -- but
there's a problem.

I can see in the com.limegroup.gnutella.gui.search package there are a
number of functions made for searching, retrieving results and so on.
>From what I know (admittedly not much) I cannot import
com.limegroup.gnutella.gui.search.* into my HTTPServer class in the
core.

I am therefore wondering if I should simply copy and paste these
functions into the core (which seems terribly wasteful, not to mention
a maintenance nightmare!) or if there is a much better way to go about
this? I am primarily a C++ programmer, but this issue has me
perplexed.

Should I copy and paste the functions from SearchMediator.java into
the core? Should I import the com.limegroup.gnutella.gui.search
package? Something else?

Thanks,
--
Aidan Steele.

_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev