com.aelitis.azureus.plugins.extseed.impl.webseed
Class ExternalSeedReaderWebSeed
java.lang.Object
com.aelitis.azureus.plugins.extseed.impl.ExternalSeedReaderImpl
com.aelitis.azureus.plugins.extseed.impl.webseed.ExternalSeedReaderWebSeed
- All Implemented Interfaces:
- ExternalSeedReader, PeerManagerListener2
public class ExternalSeedReaderWebSeed
- extends ExternalSeedReaderImpl
Methods inherited from class com.aelitis.azureus.plugins.extseed.impl.ExternalSeedReaderImpl |
addListener, addRequests, calculatePriorityOffsets, cancelAllRequests, cancelRequest, checkActivation, deactivate, eventOccurred, getBooleanParam, getExpiredRequests, getFailureCount, getIntParam, getIP, getLastFailTime, getMaximumNumberOfRequests, getOutgoingRequestCount, getOutgoingRequestedPieceNumbers, getPercentDoneOfCurrentIncomingRequest, getPermittedBytes, getPriorityOffsets, getRequestCount, getRequests, getStatus, getSystemTime, getTorrent, getUserAgent, informCancelled, informComplete, informFailed, isActive, isPermanentlyUnavailable, isTransient, log, processRequests, processRequests, read, readBytes, readData, readyToActivate, readyToDeactivate, removeListener, reportBytesRead, selectRequests, setActive, setActiveSupport, setReconnectDelay |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalSeedReaderWebSeed
protected ExternalSeedReaderWebSeed(ExternalSeedPlugin _plugin,
Torrent _torrent,
java.net.URL _url,
java.util.Map _params)
sameAs
public boolean sameAs(ExternalSeedReader other)
getName
public java.lang.String getName()
getType
public java.lang.String getType()
getURL
public java.net.URL getURL()
getPort
public int getPort()
getPieceGroupSize
protected int getPieceGroupSize()
- Specified by:
getPieceGroupSize
in class ExternalSeedReaderImpl
getRequestCanSpanPieces
protected boolean getRequestCanSpanPieces()
- Specified by:
getRequestCanSpanPieces
in class ExternalSeedReaderImpl
readData
protected void readData(int piece_number,
int piece_offset,
int length,
ExternalSeedHTTPDownloaderListener listener)
throws ExternalSeedException
- Specified by:
readData
in class ExternalSeedReaderImpl
- Throws:
ExternalSeedException