A B C D E F G H I J K L M N O P R S T U V W

C

CANCEL - Static variable in class jBittorrentAPI.PeerProtocol
 
cardinalityR() - Method in class jBittorrentAPI.DownloadManager
Returns the number of pieces currently requested to peers
changeState(int) - Method in class jBittorrentAPI.DownloadTask
Change the state of the task.
checkDownloaded() - Method in class jBittorrentAPI.DownloadTask
Returns the total amount of bytes downloaded by this task so far
checkTempFiles() - Method in class jBittorrentAPI.DownloadManager
Check the existence of the files specified in the torrent and if necessary, create them
CHOKE - Static variable in class jBittorrentAPI.PeerProtocol
 
choked - Variable in class jBittorrentAPI.Peer
 
choking - Variable in class jBittorrentAPI.Peer
 
choosePiece2Download(String) - Method in class jBittorrentAPI.DownloadManager
Returns the index of the piece that could be downloaded by the peer in parameter
cl - Variable in class jBittorrentAPI.DownloadManager
 
clear() - Method in class jBittorrentAPI.DownloadTask
Clear the piece currently downloading
clearData() - Method in class jBittorrentAPI.Piece
 
CLIENT - Static variable in class jBittorrentAPI.Constants
 
ClientHttpRequest - Class in jBittorrentAPI
Title: Client HTTP Request class Description: this class helps to send POST HTTP requests with various form data, including files.
ClientHttpRequest(URLConnection) - Constructor for class jBittorrentAPI.ClientHttpRequest
Creates a new multipart POST HTTP request on a freshly opened URLConnection
ClientHttpRequest(URL) - Constructor for class jBittorrentAPI.ClientHttpRequest
Creates a new multipart POST HTTP request for a specified URL
ClientHttpRequest(String) - Constructor for class jBittorrentAPI.ClientHttpRequest
Creates a new multipart POST HTTP request for a specified URL string
clientID - Variable in class jBittorrentAPI.DownloadManager
 
closeTempFiles() - Method in class jBittorrentAPI.DownloadManager
Close all open files
comment - Variable in class jBittorrentAPI.TorrentFile
 
compare(Object, Object) - Method in class jBittorrentAPI.DLRateComparator
Compares its two arguments for order.
compare(Object, Object) - Method in class jBittorrentAPI.ULRateComparator
Compares its two arguments for order.
concat(byte[], byte[]) - Static method in class jBittorrentAPI.Utils
Concatenate the 2 byte arrays
concat(byte[], byte) - Static method in class jBittorrentAPI.Utils
Concatenate the byte array and the byte
concat2(byte[], byte[]) - Static method in class jBittorrentAPI.Utils
Concatenate the 2 byte arrays
ConListenerInterface - Interface in jBittorrentAPI
 
connect() - Method in class jBittorrentAPI.ClientHttpRequest
 
connect(int, int) - Method in class jBittorrentAPI.ConnectionListener
Try to create a server socket for remote peers to connect on within the specified port range
connect() - Method in class jBittorrentAPI.ConnectionListener
Try to create a server socket for remote peers to connect on within current port range
connectedPort - Variable in class jBittorrentAPI.ConnectionListener
 
connection - Variable in class jBittorrentAPI.ClientHttpRequest
 
CONNECTION_REFUSED - Static variable in class jBittorrentAPI.DownloadTask
 
connectionAccepted(Socket) - Method in interface jBittorrentAPI.ConListenerInterface
Method called when a new connection is accepted and bound to the given socket
connectionAccepted(Socket) - Method in class jBittorrentAPI.DownloadManager
Called when a new peer connects to the client.
connectionClosed() - Method in class jBittorrentAPI.DownloadTask
Fired when the connection to the remote peer has been closed.
connectionClosed() - Method in interface jBittorrentAPI.OutgoingListener
Fired when the connection to the remote peer has been closed
ConnectionListener - Class in jBittorrentAPI
Thread that can listen for remote peers connection tries to this client
ConnectionListener() - Constructor for class jBittorrentAPI.ConnectionListener
 
ConnectionListener(int, int) - Constructor for class jBittorrentAPI.ConnectionListener
 
ConnectionManager - Class in jBittorrentAPI
Provides methods for interaction with remote host, like downloading or uploading files using HTTP protocol.
ConnectionManager() - Constructor for class jBittorrentAPI.ConnectionManager
 
Constants - Class in jBittorrentAPI
Some useful (or not...) constants used (or not yet...) throughout the program
Constants() - Constructor for class jBittorrentAPI.Constants
 
contactTracker(byte[], TorrentFile, long, long, long, String) - Method in class jBittorrentAPI.PeerUpdater
Contact the tracker according to the HTTP/HTTPS tracker protocol and using the information in the TorrentFile.
cookies - Variable in class jBittorrentAPI.ClientHttpRequest
 
copy(byte[], byte[]) - Static method in class jBittorrentAPI.Utils
Copy the input byte array to the output byte array
createdBy - Variable in class jBittorrentAPI.TorrentFile
 
creationDate - Variable in class jBittorrentAPI.TorrentFile
 
creationTime - Variable in class jBittorrentAPI.DownloadTask
 

A B C D E F G H I J K L M N O P R S T U V W