Package
Class
Use
Tree
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
S
save(byte[], String)
- Static method in class jBittorrentAPI.
IOManager
Save the byte array into a file with the give filename
saveAs
- Variable in class jBittorrentAPI.
TorrentFile
saveFromURL(InputStream, String)
- Static method in class jBittorrentAPI.
IOManager
Save the bytes in the stream to the file in parameter
SAVEPATH
- Static variable in class jBittorrentAPI.
Constants
savePiece(int)
- Method in class jBittorrentAPI.
DownloadManager
Save a piece in the corresponding file(s)
set(int)
- Method in class jBittorrentAPI.
Bits
set(int, boolean)
- Method in class jBittorrentAPI.
Bits
setAccept(boolean)
- Method in class jBittorrentAPI.
ConnectionListener
Decides if the client should accept or not future connection
setAnnounceURL(String)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the announce url of the torrent
setBits(boolean[])
- Method in class jBittorrentAPI.
Bits
setBlock(int, byte[])
- Method in class jBittorrentAPI.
Piece
Set a block of data at the corresponding offset
setChoked(boolean)
- Method in class jBittorrentAPI.
Peer
Sets if this peer is choked or not
setChoking(boolean)
- Method in class jBittorrentAPI.
Peer
Sets if this peer is choking or not
setComment(String)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the comment about this torrent
setComplete(int, boolean)
- Method in class jBittorrentAPI.
DownloadManager
Mark a piece as complete or not according to the parameters
setCookie(String, String)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds a cookie to the requst
setCookies(Map)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds cookies to the request
setCookies(String[])
- Method in class jBittorrentAPI.
ClientHttpRequest
adds cookies to the request
setCreationDate(long)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the time the torrent was created
setCreator(String)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the creator of the torrent.
setData(byte[], byte[], byte[], byte[], byte[])
- Method in class jBittorrentAPI.
Message_HS
Set the values of the fields according to the parameters
setData(int)
- Method in class jBittorrentAPI.
Message_PP
setData(int, byte[])
- Method in class jBittorrentAPI.
Message_PP
setData(byte[], byte, byte[])
- Method in class jBittorrentAPI.
Message_PP
setDLRate(int)
- Method in class jBittorrentAPI.
Peer
Updates the downloaded values
setDownloaded(long)
- Method in class jBittorrentAPI.
PeerUpdater
Sets the # of bytes downloaded so far
setEncoding(String)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the encoding of the torrent
setEvent(String)
- Method in class jBittorrentAPI.
PeerUpdater
Sets the current state of the client
setFileAndOffset(int, int)
- Method in class jBittorrentAPI.
Piece
setHasPiece(byte[])
- Method in class jBittorrentAPI.
Peer
Updates this peer availability according to the received bitfield
setHasPiece(int, boolean)
- Method in class jBittorrentAPI.
Peer
Updates the availability of the piece in parameter
setID(int)
- Method in class jBittorrentAPI.
Message_PP
setID(String)
- Method in class jBittorrentAPI.
Peer
Sets the id of this peer
setInterested(boolean)
- Method in class jBittorrentAPI.
Peer
Sets if this peer is intereseted or not
setInteresting(boolean)
- Method in class jBittorrentAPI.
Peer
Sets if this peer is interesting or not
setInterval(int)
- Method in class jBittorrentAPI.
PeerUpdater
Sets the interval between tracker update
setIP(String)
- Method in class jBittorrentAPI.
Peer
Sets the IP address of this peer
setLeft(long)
- Method in class jBittorrentAPI.
PeerUpdater
Sets the # of bytes still to download
setLength(byte[])
- Method in class jBittorrentAPI.
Message_PP
setListeningPort(int)
- Method in class jBittorrentAPI.
PeerUpdater
setMaxPort(int)
- Method in class jBittorrentAPI.
ConnectionListener
Sets the minimal port number this client will try to listen on
setMinInterval(int)
- Method in class jBittorrentAPI.
PeerUpdater
Sets the mininterval between tracker update
setMinPort(int)
- Method in class jBittorrentAPI.
ConnectionListener
Sets the minimal port number this client will try to listen on
setName(String)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the directory the files have to be saved in (in case of multiple files torrent)
setParameter(String, String)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds a string parameter to the request
setParameter(String, String, InputStream)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds a file parameter to the request
setParameter(String, File)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds a file parameter to the request
setParameter(String, Object)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds a parameter to the request; if the parameter is a File, the file is uploaded, otherwise the string value of the parameter is passed in the request
setParameters(Map)
- Method in class jBittorrentAPI.
ClientHttpRequest
adds parameters to the request
setParameters(Object[])
- Method in class jBittorrentAPI.
ClientHttpRequest
adds parameters to the request
setPayload(byte[])
- Method in class jBittorrentAPI.
Message_PP
setPieceLength(int)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the pieceLength
setPort(int)
- Method in class jBittorrentAPI.
Peer
Sets the listening port of this peer
setRecoveryMode(boolean)
- Method in class jBittorrentAPI.
BDecoder
setRequested(int, boolean)
- Method in class jBittorrentAPI.
DownloadManager
Mark a piece as requested or not according to the parameters
setTorrent(TorrentFile)
- Method in class jBittorrentAPI.
TorrentProcessor
Sets the TorrentFile object of the Publisher equals to the given one
setTorrentData(String, int, String, String, String)
- Method in class jBittorrentAPI.
TorrentProcessor
Updates the TorrentFile object according to the given parameters
setTorrentData(String, int, String, String, String, List)
- Method in class jBittorrentAPI.
TorrentProcessor
Updates the TorrentFile object according to the given parameters
setULRate(int)
- Method in class jBittorrentAPI.
Peer
Updates the uploaded values
setUploaded(long)
- Method in class jBittorrentAPI.
PeerUpdater
Sets the # of bytes uploaded so far
sha1
- Variable in class jBittorrentAPI.
Piece
SHA1 hash of the piece contained in the torrent file.
showHelp()
- Static method in class jBittorrentAPI.
ExamplePublish
ss
- Variable in class jBittorrentAPI.
ConnectionListener
startListening(int, int)
- Method in class jBittorrentAPI.
DownloadManager
Create the ConnectionListener to accept incoming connection from peers
startTrackerUpdate()
- Method in class jBittorrentAPI.
DownloadManager
Create and start the peer updater to retrieve new peers sharing the file
state
- Variable in class jBittorrentAPI.
DownloadTask
stopThread()
- Method in class jBittorrentAPI.
MessageReceiver
Stops the current thread by completing the run() method
stopThread()
- Method in class jBittorrentAPI.
MessageSender
Sets the 'run' variable to false, causing the thread to stop on its next loop.
stopTrackerUpdate()
- Method in class jBittorrentAPI.
DownloadManager
Stop the tracker updates
subArray(byte[], int, int)
- Static method in class jBittorrentAPI.
Utils
Return a subarray of the byte array in parameter.
Package
Class
Use
Tree
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W