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
G
generate()
- Method in class jBittorrentAPI.
Message
generate()
- Method in class jBittorrentAPI.
Message_HS
Generate the byte array representing the whole message that can then be transmitted
generate()
- Method in class jBittorrentAPI.
Message_PP
generateID()
- Static method in class jBittorrentAPI.
Utils
Generate the client id, which is a fixed string of length 8 concatenated with 12 random bytes
generatePieceHashes(TorrentFile)
- Method in class jBittorrentAPI.
TorrentProcessor
Generate the SHA-1 hashes for the file in the torrent in parameter
generatePieceHashes()
- Method in class jBittorrentAPI.
TorrentProcessor
Generate the SHA-1 hashes for the files in the current object TorrentFile
generateTorrent(TorrentFile)
- Method in class jBittorrentAPI.
TorrentProcessor
Generate the bytes of the bencoded TorrentFile data
generateTorrent()
- Method in class jBittorrentAPI.
TorrentProcessor
Generate the bytes for the current object TorrentFile
get(int)
- Method in class jBittorrentAPI.
Bits
getBitField()
- Method in class jBittorrentAPI.
DownloadManager
Compute the bitfield byte array from the isComplete BitSet
getBits()
- Method in class jBittorrentAPI.
Bits
getByteArrayFromStream(InputStream)
- Method in class jBittorrentAPI.
BDecoder
getConListenerInterfaces()
- Method in class jBittorrentAPI.
ConnectionListener
getConnectedPort()
- Method in class jBittorrentAPI.
ConnectionListener
Returns the port this client is listening on
getDL()
- Method in class jBittorrentAPI.
Peer
Returns the total number of bytes downloaded from this peer
getDLRate(boolean)
- Method in class jBittorrentAPI.
Peer
Returns the number of bytes downloaded since the last reset
getDownloaded()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the number of bytes that have been downloaded so far
getDTListeners()
- Method in class jBittorrentAPI.
DownloadTask
getEvent()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the current event of the client
getFileAndOffset()
- Method in class jBittorrentAPI.
Piece
getFileID()
- Method in class jBittorrentAPI.
Message_HS
Return the infoHash as a byte array
getHasPiece()
- Method in class jBittorrentAPI.
Peer
Returns the pieces availability of this peer
getID()
- Method in class jBittorrentAPI.
Message_PP
getID()
- Method in class jBittorrentAPI.
Peer
Returns the id of this peer
getIncomingListeners()
- Method in class jBittorrentAPI.
MessageReceiver
getIndex()
- Method in class jBittorrentAPI.
Piece
Return the index of the piece
getInterval()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the last interval for updates received from the tracker
getIP()
- Method in class jBittorrentAPI.
Peer
Returns the IP address of this peer
getLeft()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the number of bytes still to download to complete task
getLength()
- Method in class jBittorrentAPI.
Message_HS
Return the length of the protocol string as a byte
getLength()
- Method in class jBittorrentAPI.
Message_PP
getLength()
- Method in class jBittorrentAPI.
Piece
Returns the length of the piece
getList()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the list of peers in its current state
getMaxPort()
- Method in class jBittorrentAPI.
ConnectionListener
Returns the maximal port number this client will try to listen on
getMinInterval()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the last minimal interval for updates received from the tracker
getMinPort()
- Method in class jBittorrentAPI.
ConnectionListener
Returns the minimal port number this client will try to listen on
getNumberFromStream(InputStream, char)
- Method in class jBittorrentAPI.
BDecoder
getNumberFromStreamOld(InputStream, char)
- Method in class jBittorrentAPI.
BDecoder
getOutgoingListeners()
- Method in class jBittorrentAPI.
MessageSender
getPayload()
- Method in class jBittorrentAPI.
Message_PP
getPeer()
- Method in class jBittorrentAPI.
DownloadTask
Returns this peer object
getPeerID()
- Method in class jBittorrentAPI.
Message_HS
Return the peerID as a byte array
getPeerUpdateListeners()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the list of object that are currently listening to this PeerUpdater
getPiece(int)
- Method in class jBittorrentAPI.
DownloadManager
Returns the piece with the given index
getPieceBlock(int, int, int)
- Method in class jBittorrentAPI.
DownloadManager
Get a piece block from the existing file(s)
getPieceFromFiles(int)
- Method in class jBittorrentAPI.
DownloadManager
Load piece data from the existing files
getPort()
- Method in class jBittorrentAPI.
Peer
Returns the listening port of this peer
getPriority()
- Method in class jBittorrentAPI.
Message
getProtocol()
- Method in class jBittorrentAPI.
Message_HS
Return the protocol string as a byte array
getReserved()
- Method in class jBittorrentAPI.
Message_HS
Return the reserved bytes as a byte array
getTorrent()
- Method in class jBittorrentAPI.
TorrentProcessor
Returns the local TorrentFile in its current state
getTorrentFile(Map)
- Method in class jBittorrentAPI.
TorrentProcessor
Given a Map, retrieve all useful information and represent it as a TorrentFile object
getType()
- Method in class jBittorrentAPI.
Message
getUL()
- Method in class jBittorrentAPI.
Peer
Returns the total number of bytes uploaded to this peer
getULRate(boolean)
- Method in class jBittorrentAPI.
Peer
Returns the number of bytes uploaded since the last reset.
getUploaded()
- Method in class jBittorrentAPI.
PeerUpdater
Returns the number of bytes that have been uploaded so far
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