LimeWire Consolidated API

Package com.limegroup.gnutella.downloader

Interface Summary
CoreDownloader Extends the Downloader interface to provide more functionality, allowing the download to be more tightly managed.
CoreDownloaderFactory Constructs all kinds of CoreDownloaders.
DownloadStatsTracker Used to track statistics about the way clients connect to peers for downloads (i.e., direct or push), and why pushes are done.
HTTPDownloaderFactory  
InNetworkDownloader Public interface by which InNetworkDownloads can be used.
LWSIntegrationServices A class that initializes listeners to the passed in instance of LWSManager.
LWSIntegrationServicesDelegate An interface for the LWSIntegrationServices to talk to.
MagnetDownloader  
ManagedDownloader Defines an interface for controlled downloads.
MeshHandler Defines an interface to inform the mesh network about the quality and location of RemoteFileDescs.
PushedSocketHandler Handler for sockets that have been negotiated through a push.
PushedSocketHandlerRegistry  
RemoteFileDescCreator Small factory interface that RemoteFileDescFactory delegates to to allow different RemoteFileDesc implementations to be created based on the type of address.
RemoteFileDescDeserializer  
RemoteFileDescFactory  
RequeryManagerFactory  
ResumeDownloader  
SameHostLimitChecker  
SelectionStrategy  
SourceRanker  
StoreDownloader A Downloader for the LimeWire Store.
Visitor<T> A simple visitor.
 

Class Summary
AbstractCoreDownloader A basic implementation of CoreDownloader.
AbstractSourceRanker A class that ranks sources for a download.
BiasedRandomDownloadStrategy This SelectionStrategy sometimes selects the first available chunk and sometimes selects a random chunk from availableIntervals.
ChunkDiskJob A job to be performed on the disk, using a chunk.
ConnectionStatus Simple class that enumerates values for the status of requesting a file.
CoreDownloaderFactoryImpl  
DiskController Manages writing / reading from / to disk.
DownloadStateEvent  
DownloadStatsTrackerImpl  
DownloadWorker Performs the logic of downloading a file from a single host.
FriendsFirstSourceRanker Delegates Gnutella rfds to PingRanker and non-gnutella rfds to the LegacyRanker.
HTTPDownloader Downloads a file over an HTTP connection.
HTTPDownloaderFactoryImpl Default implementation of HTTPDownloaderFactory.
IncompleteFileManager A repository of temporary filenames.
InNetworkCallback Once an in-network download finishes, the UpdateHandler is notified.
LegacyRanker A ranker which uses the legacy logic for selecting from available sources.
LimeWireDownloadModule  
LWSIntegrationServicesImpl  
PingRanker  
PushDownloadManager Handles sending out pushes and awaiting incoming GIVs.
PushList Keeps track of who needs a push, and who should be notified of of success or failure.
RandomDownloadStrategy This SelectionStrategy selects random Intervals from the availableIntervals.
RemoteFileDescContext  
RemoteFileDescImpl A default implementation for RemoteFileDesc.
RequeryManagerFactoryImpl  
SelectionStrategyFactory A class to determine which SelectionStrategy should be used for a given file.
SourceRankerFactory  
VerifyingFile A control point for all access to the file being downloaded to, also does on-the-fly verification.
VerifyingFile.WriteRequest  
VerifyingFileFactory A factory for creating VerifyingFiles.
 

Enum Summary
DownloaderType Defines the various types of downloads.
DownloadStatsTracker.PushReason an enumeration of the reasons for doing a push, as opposed to connecting directly
LWSIntegrationServices.Info Constants for querying the information about the running client.
 

Exception Summary
BadURLException Basically just a renamed MalformedURLException
CantConnectException Basically just a renamed ConnectException
CantResumeException Thrown if we can't resume to a file, i.e., because it's not a valid incomplete file.
ContentUrnMismatchException  
FileCantBeMovedException Thrown if the file couldn't be moved to the Library
FileIncompleteException Thrown id the downloaded file is incomplete
FileNotFoundException Thrown when a file is not found, for example an HTTP 404.
FileTooLargeException Thrown if too much has been downloaded, and the file is too big
InvalidPathException Thrown when the download path is invalid
NoHTTPOKException Thrown when no 'HTTP OK' or the equivalent is not received.
NoSuchRangeException Thrown when we are not able to find a range that an uploader offers, that we need.
NotSharingException HTTP 410 "Gone" error, aka, "BearShare Not Sharing".
NullIncompleteDirectoryException Thrown when the Incomplete Directory is null
OverlapMismatchException Thrown when overlapped download bytes mismatch, i.e., bytes written to disk don't match non-zero bytes already there.
QueuedException  
RangeNotAvailableException Thrown when the requested range is not available
ReaderIsNullException Thrown when the ByteReader is null
TryAgainLaterException Thrown when the slots are filled, and the client should try again later, ie an HTTP 503
UnknownCodeException Thrown when the response code is unknown
 


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.