- get(int) - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedList
-
Gets an item from the bencoded list.
- get(String) - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedMap
-
Gets the value from the map if available.
- get() - Method in interface org.johnnei.javatorrent.internal.utils.CheckedSupplier
-
- getAddress() - Method in class org.johnnei.javatorrent.network.PeerConnectInfo
-
- getBitfieldBytes() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Gets the have pieces in bitfield format as specified by BEP #3.
- getBitfieldBytes() - Method in class org.johnnei.javatorrent.torrent.MetadataFileSet
-
- getBitfieldBytes() - Method in class org.johnnei.javatorrent.torrent.TorrentFileSet
-
- getBitTorrentSocket() - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Gets the socket handler which handles the socket of this peer
- getBlockCount() - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Gets the amount of blocks in this piece
- getBlockData() - Method in class org.johnnei.javatorrent.disk.DiskJobReadBlock
-
The read data from the piece
- getBlockIndex() - Method in class org.johnnei.javatorrent.disk.DiskJobWriteBlock
-
Gets the block index within the owning piece.
- getBlockIndex() - Method in class org.johnnei.javatorrent.internal.torrent.peer.Job
-
- getBlockSize() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Gets the size of a non-truncated block
- getBlockSize(int) - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Gets the size of the specified block
- getBlockStatus(int) - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Gets the block status for the block at the given index
- getBytes() - Method in class org.johnnei.javatorrent.internal.torrent.peer.Bitfield
-
Returns a copy of the internal byte array
- getCharactersRead() - Method in class org.johnnei.javatorrent.bittorrent.encoding.Bencoding
-
- getChokingStrategy() - Method in interface org.johnnei.javatorrent.phases.IDownloadPhase
-
Gets the choking strategy which is optimal for this phase.
- getChokingStrategy() - Method in class org.johnnei.javatorrent.phases.PhaseData
-
- getChokingStrategy() - Method in class org.johnnei.javatorrent.phases.PhaseSeed
-
- getClientName() - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Gets the client name as reported by the BEP #10 extension if supported.
- getConnectingCount() - Method in interface org.johnnei.javatorrent.tracker.IPeerConnector
-
Gets the amount of peers are pending to be connected.
- getConnectingCount() - Method in class org.johnnei.javatorrent.tracker.PeerConnector
-
Gets the amount of peers are pending to be connected.
- getConnectingCount() - Method in class org.johnnei.javatorrent.tracker.PeerConnectorPool
-
Gets the amount of peers are pending to be connected.
- getConnectingCountFor(Torrent) - Method in class org.johnnei.javatorrent.internal.tracker.TrackerManager
-
Calculates how many connections are assigned to the torrent but haven't passed the BitTorrent handshake yet.
- getConnectingCountFor(Torrent) - Method in class org.johnnei.javatorrent.TorrentClient
-
Calculates how many connections are assigned to the torrent but haven't passed the BitTorrent handshake yet.
- getConnectingCountFor(Torrent) - Method in interface org.johnnei.javatorrent.tracker.IPeerConnector
-
Calculates how many connections are assigned to the torrent but haven't passed the BitTorrent handshake yet.
- getConnectingCountFor(Torrent) - Method in class org.johnnei.javatorrent.tracker.PeerConnector
-
Calculates how many connections are assigned to the torrent but haven't passed the BitTorrent handshake yet.
- getConnectingCountFor(Torrent) - Method in class org.johnnei.javatorrent.tracker.PeerConnectorPool
-
Calculates how many connections are assigned to the torrent but haven't passed the BitTorrent handshake yet.
- getConnectionDegradation() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the configured connection degradation rules.
- getDependsOn() - Method in interface org.johnnei.javatorrent.module.IModule
-
Returns the extensions which must be present to allow this module to work at all.
- getDisplayName() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
- getDownloadCount() - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
The amount of times this torrent has been downloaded
If the tracker returns 0 it will return N/A as the tracker apparently doesn't support it
- getDownloadedBytes() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
The amount of bytes downloaded
- getDownloadPort() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the port at which we are listening for peers
- getDownloadRate() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Returns the last polled download rate.
- getDownloadRate() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Sums the download rates of all peers.
- getEvent() - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
Gets the current tracker event for this
Torrent
- getExecutorService() - Method in class org.johnnei.javatorrent.TorrentClient
-
- getExtensionBytes() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the eight extension bytes which represent which BitTorrent extensions are enabled on this client.
- getFileAccess() - Method in class org.johnnei.javatorrent.torrent.FileInfo
-
Gets the handle to write/read from this file.
- getFileForBytes(int, int, int) - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Gets the FileInfo for the given piece and block
- getFileName() - Method in class org.johnnei.javatorrent.torrent.FileInfo
-
Gets the name of this file.
- getFiles() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Creates an unmodifiable view of the list of files in this fileset.
- getFileSet() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Gets the files which are being downloaded within this torrent.
- getFirstByteOffset() - Method in class org.johnnei.javatorrent.torrent.FileInfo
-
The offset of the first byte as if the entire torrent is a single file
- getFreeWorkTime() - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Calculates the amount of blocks we can request without overflowing the peer and without slowing us down.
- getHash() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
- getHashArray() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Gets the 20 byte BTIH hash of the torrent.
- getId() - Method in interface org.johnnei.javatorrent.bittorrent.protocol.messages.IMessage
-
The id of this message
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageBitfield
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageBlock
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageCancel
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageChoke
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageHave
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageInterested
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageKeepAlive
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageRequest
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageUnchoke
-
- getId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageUninterested
-
- getId() - Method in enum org.johnnei.javatorrent.bittorrent.tracker.TrackerAction
-
- getId() - Method in enum org.johnnei.javatorrent.bittorrent.tracker.TrackerEvent
-
- getIndex() - Method in class org.johnnei.javatorrent.torrent.files.Block
-
Gets the index of this block within the owning
Piece
- getIndex() - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Gets the index of this Piece
The index is equal to the offset in the file divided by the default piece size
- getInfo(Torrent) - Method in interface org.johnnei.javatorrent.bittorrent.tracker.ITracker
-
Retrieves the torrent information which is stored for this tracker.
- getInputStream() - Method in interface org.johnnei.javatorrent.internal.network.socket.ISocket
-
Gets the inputstream from the underlaying socket
- getInputStream() - Method in class org.johnnei.javatorrent.internal.network.socket.TcpSocket
-
- getJobs() - Method in class org.johnnei.javatorrent.internal.torrent.peer.Client
-
Gets an iterable to allow iteration over the job list.
- getLastActivity() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Gets the time at which the last byte has been read or written to the socket.
- getLastActivity() - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Gets the time at which the last byte has been read or written to the socket.
- getLeecherCount() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Counts the amount of peers which don't have all pieces yet.
- getLeechers() - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
The amount of leechers as reported by the tracker
- getLength() - Method in interface org.johnnei.javatorrent.bittorrent.protocol.messages.IMessage
-
The length of the message (only needed on writing)
The length should include the byte for the message id
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageBitfield
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageBlock
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageChoke
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageHave
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageInterested
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageKeepAlive
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageUnchoke
-
- getLength() - Method in class org.johnnei.javatorrent.bittorrent.protocol.messages.MessageUninterested
-
- getLength() - Method in class org.johnnei.javatorrent.internal.bittorrent.protocol.messages.AbstractBlockMessage
-
- getLength() - Method in class org.johnnei.javatorrent.internal.torrent.peer.Job
-
- getMessage() - Method in exception org.johnnei.javatorrent.network.BitTorrentSocketException
-
- getMessageFactory() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the message factory for this client
- getMetadata() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
- getModule(Class<T>) - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the module instance if it is registered to this Torrent Client.
- getModuleInfo(Class<T>) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
- getModules() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets an unmodifiable view of the registered modules to this torrent client.
- getName() - Method in interface org.johnnei.javatorrent.bittorrent.tracker.ITracker
-
Returns a user friendly name for this tracker.
- getNeededPieces() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Creates a stream with only the pieces which are not done
- getOffset() - Method in class org.johnnei.javatorrent.disk.DiskJobReadBlock
-
Gets the offset at which the data started reading.
- getOutputStream() - Method in interface org.johnnei.javatorrent.internal.network.socket.ISocket
-
Gets the outputstream from the underlaying socket
- getOutputStream() - Method in class org.johnnei.javatorrent.internal.network.socket.TcpSocket
-
- getPassedHandshake() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Gets if this socket has completed the BitTorrent handshake
- getPeerConnector() - Method in class org.johnnei.javatorrent.TorrentClient
-
- getPeerDistributor() - Method in class org.johnnei.javatorrent.TorrentClient
-
- getPeerExtensionBytes() - Method in class org.johnnei.javatorrent.bittorrent.protocol.BitTorrentHandshake
-
- getPeerId() - Method in class org.johnnei.javatorrent.bittorrent.protocol.BitTorrentHandshake
-
- getPeerId() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the 20-byte peer ID associated to this tracker manager
- getPeers() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Creates a copy of the list of connected peers.
- getPhaseRegulator() - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the
PhaseRegulator which manages the ordering of the download states.
- getPiece() - Method in class org.johnnei.javatorrent.disk.DiskJobCheckHash
-
Gets the piece for which the hash has been verified.
- getPiece() - Method in class org.johnnei.javatorrent.disk.DiskJobReadBlock
-
The piece from which data was read.
- getPiece() - Method in class org.johnnei.javatorrent.disk.DiskJobWriteBlock
-
Gets the piece for which this store task is being used.
- getPiece(int) - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Gets the piece with the given index
- getPieceCount() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Gets the amount of pieces in this torrent
- getPieceCount() - Method in class org.johnnei.javatorrent.torrent.FileInfo
-
The amount of pieces which contain a part of data for this file
- getPieceForPeer(Peer) - Method in class org.johnnei.javatorrent.torrent.algos.pieceselector.FullPieceSelect
-
- getPieceForPeer(Peer) - Method in interface org.johnnei.javatorrent.torrent.algos.pieceselector.IPieceSelector
-
Gets the next piece to download
- getPieceIndex() - Method in class org.johnnei.javatorrent.internal.torrent.peer.Job
-
- getPieceSelector() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
The regulator which is managing this download
- getPieceSize() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Gets the size of a non-truncated piece.
- getPieceSize() - Method in class org.johnnei.javatorrent.torrent.MetadataFileSet
-
- getPieceSize() - Method in class org.johnnei.javatorrent.torrent.TorrentFileSet
-
Gets the default piece size
- getPriority() - Method in class org.johnnei.javatorrent.disk.DiskJobCheckHash
-
- getPriority() - Method in class org.johnnei.javatorrent.disk.DiskJobReadBlock
-
The priority of this job
- getPriority() - Method in class org.johnnei.javatorrent.disk.DiskJobWriteBlock
-
The priority of this job
- getPriority() - Method in interface org.johnnei.javatorrent.disk.IDiskJob
-
The priority of this job
- getPriority() - Method in enum org.johnnei.javatorrent.internal.disk.DiskJobPriority
-
- getQueueSize() - Method in class org.johnnei.javatorrent.internal.torrent.peer.Client
-
The amount of jobs on the working queue
- getReadDuration() - Method in class org.johnnei.javatorrent.network.InStream
-
Gets the duration it took to read this message.
- getRelatedBep() - Method in interface org.johnnei.javatorrent.module.IModule
-
Returns the number of the BEP to which this module is related.
- getRequestBlock() - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Gets a new block to be requested
- getRequestLimit() - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Gets the amount of requests we are allowed to make to this peer
- getSeedCount() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Counts the amount of peers which have all pieces.
- getSeeders() - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
The amount of seeders as reported by the tracker
- getSize() - Method in class org.johnnei.javatorrent.torrent.FileInfo
-
Gets the size of this file
- getSize() - Method in class org.johnnei.javatorrent.torrent.files.Block
-
Gets the amount of bytes expected for this block.
- getSize() - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Gets the total size of all blocks in bytes
- getSocketName() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Gets the class simple name of the underlying socket.
- getStatus() - Method in interface org.johnnei.javatorrent.bittorrent.tracker.ITracker
-
Returns the a user friendly name for the current action which the being executed.
- getStatus() - Method in class org.johnnei.javatorrent.torrent.files.Block
-
Gets the current status of this block.
- getTimeSinceLastAnnounce() - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
The time since the last announce
- getTorrent() - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
Gets the associated torrent
- getTorrent(byte[]) - Method in class org.johnnei.javatorrent.internal.torrent.TorrentManager
-
Gets the torrent associated with the given hash.
- getTorrent() - Method in class org.johnnei.javatorrent.network.PeerConnectInfo
-
- getTorrent() - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Gets the torrent to which this peer is linked.
- getTorrentByHash(byte[]) - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets the torrent associated with the given hash.
- getTorrentCount() - Method in class org.johnnei.javatorrent.TorrentClient
-
- getTorrentHash() - Method in class org.johnnei.javatorrent.bittorrent.protocol.BitTorrentHandshake
-
- getTorrents() - Method in class org.johnnei.javatorrent.internal.torrent.TorrentManager
-
Creates a copy of the list containing the torrents
- getTotalFileSize() - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
- getTrackerFor(String) - Method in class org.johnnei.javatorrent.bittorrent.tracker.TrackerFactory
-
Either creates or returns the tracker implementation for the given url
- getTrackersFor(Torrent) - Method in class org.johnnei.javatorrent.internal.tracker.TrackerManager
-
Gets all trackers which know the given torrent
- getTrackersFor(Torrent) - Method in class org.johnnei.javatorrent.TorrentClient
-
Gets all trackers which know the given torrent
- getTrackersHavingTorrent(Torrent) - Method in class org.johnnei.javatorrent.bittorrent.tracker.TrackerFactory
-
- getUploadedBytes() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
The amount of bytes we have uploaded this session
- getUploadRate() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Returns the last polled upload rate.
- getUploadRate() - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Sums the upload rates of all peers.
- getWorkQueueSize(PeerDirection) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Gets the amount of pieces the client still needs to send
- scrape() - Method in interface org.johnnei.javatorrent.bittorrent.tracker.ITracker
-
Requests a scrape off all known torrent in this tracker.
- sendHandshake(byte[], byte[], byte[]) - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Writes the handshake onto the output stream
- sendMessage() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Sends at most 1 pending message.
- serialize() - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedInteger
-
- serialize() - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedList
-
- serialize() - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedMap
-
- serialize() - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedString
-
- serialize() - Method in interface org.johnnei.javatorrent.bittorrent.encoding.IBencodedValue
-
- setAbsoluteRequestLimit(int) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Sets the amount of requests this peer can support at most
- setBlockStatus(int, BlockStatus) - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Updates the block status of the block at the given index.
- setChoked(PeerDirection, boolean) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Sets if this peer is choked or not.
- setClientName(String) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Sets the client as reported by the Client in BEP #10.
- setConnectionDegradation(ConnectionDegradation) - Method in class org.johnnei.javatorrent.TorrentClient.Builder
-
- setDownloadPort(int) - Method in class org.johnnei.javatorrent.TorrentClient.Builder
-
Sets the download port at which we are listening
- setEvent(TrackerEvent) - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
Sets the current event for this
Torrent
- setExecutorService(ScheduledExecutorService) - Method in class org.johnnei.javatorrent.TorrentClient.Builder
-
- setExtensionBytes(byte[]) - Method in class org.johnnei.javatorrent.torrent.peer.Peer.Builder
-
- setFileSet(AbstractFileSet) - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Sets the current set of files this torrent is downloading.
- setHash(byte[]) - Method in class org.johnnei.javatorrent.torrent.Torrent.Builder
-
Sets the hash of the torrent.
- setHavingPiece(int) - Method in class org.johnnei.javatorrent.torrent.AbstractFileSet
-
Marks a piece as completed.
- setHavingPiece(int) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Registers that this peer has the given piece
- setHavingPiece(int) - Method in class org.johnnei.javatorrent.torrent.TorrentFileSet
-
Adds the have to the bitfield and updates the correct fileInfo have counts
- setId(byte[]) - Method in class org.johnnei.javatorrent.torrent.peer.Peer.Builder
-
- setInfo(int, int) - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
Updates the seeder and leecher counts.
- setInfo(int, int, int) - Method in class org.johnnei.javatorrent.bittorrent.tracker.TorrentInfo
-
Updates the seeder, leecher and completed downloads count.
- setInterested(PeerDirection, boolean) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
Sets if this peer is interested or not.
- setMetadata(MetadataFileSet) - Method in class org.johnnei.javatorrent.torrent.Torrent
-
Sets the associated metadata file of the torrent
- setName(String) - Method in class org.johnnei.javatorrent.torrent.Torrent.Builder
-
Sets the display name for this torrent.
- setPassedHandshake() - Method in class org.johnnei.javatorrent.network.BitTorrentSocket
-
Marks that this socket has passed the BitTorrent handshake and therefor is a valid BitTorrent socket.
- setPeerConnector(Function<TorrentClient, IPeerConnector>) - Method in class org.johnnei.javatorrent.TorrentClient.Builder
-
- setPeerDistributor(Function<TorrentClient, IPeerDistributor>) - Method in class org.johnnei.javatorrent.TorrentClient.Builder
-
Sets the peer distributor which is being used by the
IPeerConnector implementation.
- setPhaseRegulator(PhaseRegulator) - Method in class org.johnnei.javatorrent.TorrentClient.Builder
-
- setPieceSelector(IPieceSelector) - Method in class org.johnnei.javatorrent.torrent.Torrent
-
- setRequestLimit(int) - Method in class org.johnnei.javatorrent.torrent.peer.Peer
-
- setSize(int) - Method in class org.johnnei.javatorrent.internal.torrent.peer.Bitfield
-
Increases or decreased the bitfieldBytes size but it will preserve the old data
- setSocket(BitTorrentSocket) - Method in class org.johnnei.javatorrent.torrent.peer.Peer.Builder
-
- setStatus(BlockStatus) - Method in class org.johnnei.javatorrent.torrent.files.Block
-
Updates the status of the block.
- setTorrent(Torrent) - Method in class org.johnnei.javatorrent.torrent.peer.Peer.Builder
-
- setTorrentClient(TorrentClient) - Method in class org.johnnei.javatorrent.bittorrent.tracker.TrackerFactory.Builder
-
- setTorrentClient(TorrentClient) - Method in class org.johnnei.javatorrent.torrent.Torrent.Builder
-
Sets the torrent client on which this torrent will be registered.
- SHA1 - Class in org.johnnei.javatorrent.bittorrent.encoding
-
- shutdown() - Method in class org.johnnei.javatorrent.TorrentClient
-
Shuts down all components of the TorrentClient.
- shutdownTorrent(Torrent) - Method in class org.johnnei.javatorrent.internal.torrent.TorrentManager
-
Shuts down the torrent processing cleanly.
- size() - Method in class org.johnnei.javatorrent.bittorrent.encoding.BencodedList
-
- size() - Method in class org.johnnei.javatorrent.network.OutStream
-
- skipBytes(int) - Method in class org.johnnei.javatorrent.network.InStream
-
Skips the next n bytes on the stream.
- start(TorrentClient) - Method in class org.johnnei.javatorrent.internal.torrent.TorrentManager
-
Starts the connnection listener which will accept new peers
- start() - Method in interface org.johnnei.javatorrent.tracker.IPeerConnector
-
Starts the peer connector
- start() - Method in class org.johnnei.javatorrent.tracker.PeerConnector
-
Starts the peer connector
- start() - Method in class org.johnnei.javatorrent.tracker.PeerConnectorPool
-
Starts the peer connector
- stop() - Method in class org.johnnei.javatorrent.async.LoopingRunnable
-
Stops the runnable once it has completed its cycle.
- stop() - Method in class org.johnnei.javatorrent.internal.torrent.TorrentManager
-
Gracefully stops the connection processing.
- stop() - Method in interface org.johnnei.javatorrent.tracker.IPeerConnector
-
Stops the peer connector.
- stop() - Method in class org.johnnei.javatorrent.tracker.PeerConnector
-
Stops the peer connector.
- stop() - Method in class org.johnnei.javatorrent.tracker.PeerConnectorPool
-
Stops the peer connector.
- storeBlock(int, byte[]) - Method in class org.johnnei.javatorrent.torrent.files.Piece
-
Writes the block into the correct file(s)
- StringUtils - Class in org.johnnei.javatorrent.utils
-