NIO uploads and downloads
Gregorio Roper <[email protected]> Sat, 15 Oct 2005 13:16:52 +0200
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm looking at having LimeWire's uploads and downloads use Sam's nio infrastructure. The first problem I have encountered was the udpconnect package. It seems to me, the easiest way of making it compatible would be to stop trying to emulate a regular socket entirely and just offer an implementation of the com.limegroup.gnutella.io.NIOMultiplexor interface. Likewise I would remove the blocking UDPBufferedInput/OutputStreams in favor of Readable/WritableByteChannels. An issue that still remains is of course bandwidth management, - because the currently used NBThrottle class would be incompatible with any Throttle we would use for the UDP transfers. Comments and ideas greatly appreciated, thanks gregorio _______________________________________________ core-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/core-dev