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

R

ratioDown - Variable in class tracker.TrackerManagement
 
RatioRequest - Class in protocolP2P
Representation of payload for ratio request.
RatioRequest(HostItem) - Constructor for class protocolP2P.RatioRequest
Constructor with hostItem (typically used by client/server)
RatioRequest(byte[]) - Constructor for class protocolP2P.RatioRequest
Constructor (typically used by tracker) with a byte[] parameter containing the Packet received.
RatioResponse - Class in protocolP2P
Representation of payload for ratio response.
RatioResponse(HostItem, long, long) - Constructor for class protocolP2P.RatioResponse
Constructor with hostItem (typically used by tracker)
RatioResponse(byte[]) - Constructor for class protocolP2P.RatioResponse
Constructor (typically used by client/server) with a byte[] parameter containing the Packet received.
ratioUp - Variable in class tracker.TrackerManagement
 
ratioUpdater - Variable in class clientP2P.ClientDownload
 
RatioWatcher - Class in serverP2P
Class allowing to keep the tracker informed about ratios
RatioWatcher(Logger, long, HostItem) - Constructor for class serverP2P.RatioWatcher
Constructor
ratioWatcher - Variable in class serverP2P.ServerManagement
 
RatioWatcherTCP - Class in serverP2P
Class allowing to keep the tracker informed about file list (TCP impl.)
RatioWatcherTCP(Logger, long, HostItem) - Constructor for class serverP2P.RatioWatcherTCP
Constructor
RatioWatcherUDP - Class in serverP2P
Class allowing to keep the tracker informed about file list (UDP impl.)
RatioWatcherUDP(Logger, long, HostItem) - Constructor for class serverP2P.RatioWatcherUDP
Constructor
readByteArray(byte[], int, int) - Static method in class tools.BytesArrayTools
Read byte Array to byte Array
readInt(byte[], int) - Static method in class tools.BytesArrayTools
Read int from a bytearray
readInt16Bits(byte[], int) - Static method in class tools.BytesArrayTools
Read int from a bytearray of 16 bits
readLock - Variable in class tracker.TrackerManagement
 
readLong(byte[], int) - Static method in class tools.BytesArrayTools
Read long from a bytearray
readString(byte[], int, int) - Static method in class tools.BytesArrayTools
Read string from byte array
readString(byte[], int, String) - Static method in class tools.BytesArrayTools
Read string from byte array
readStringArray(byte[], int, int, String) - Static method in class tools.BytesArrayTools
Read string array from byte array starting at start with size parameter.
reassembleFile() - Method in class clientP2P.ClientDownload
Reassemble file from file parts.
receivedBytesCount - Variable in class clientP2P.ClientDownloadPart
 
receiveResponse() - Method in class protocolP2P.ProtocolP2PPacket
Receive a response
receiveResponse() - Method in class protocolP2P.ProtocolP2PPacketTCP
Receive response (typically used by client).
receiveResponse() - Method in class protocolP2P.ProtocolP2PPacketUDP
Receive response (typically used by client).
Register - Class in protocolP2P
Representation of payload for unregister.
Register(HostItem) - Constructor for class protocolP2P.Register
Constructor with hostItem (typically used by client)
Register(byte[]) - Constructor for class protocolP2P.Register
Constructor (typically used by server) with a byte[] parameter containing the Packet received.
registerTracker() - Method in class serverP2P.FileWatcher
Register server on tracker
registerTracker() - Method in class serverP2P.FileWatcherTCP
Register server on tracker
registerTracker() - Method in class serverP2P.FileWatcherUDP
Register server on tracker
remoteException - package remoteException
 
RemoteException - Exception in exception
 
RemoteException() - Constructor for exception exception.RemoteException
 
remoteHost - Variable in class protocolP2P.ProtocolP2PPacketUDP
 
reqPart(Long) - Method in class clientP2P.ClientDownloadPart
Send a request for a specific offset.
requestResponseCode - Variable in class protocolP2P.Payload
 
RequestResponseCode - Enum in protocolP2P
Request/Response code enum.
RequestResponseCode(CodeType, byte) - Constructor for enum protocolP2P.RequestResponseCode
Private constructor
requestSocket - Variable in class protocolP2P.ProtocolP2PPacketTCP
 
requestSocket - Variable in class protocolP2P.ProtocolP2PPacketUDP
 
responseSocket - Variable in class protocolP2P.ProtocolP2PPacketTCP
 
responseSocket - Variable in class protocolP2P.ProtocolP2PPacketUDP
 
responseSocketAddress - Variable in class protocolP2P.ProtocolP2PPacketUDP
 
RRCODE_POSITION - Static variable in enum protocolP2P.RequestResponseCode
 
run() - Method in class clientP2P.ClientDownload
Runnable implementation
run() - Method in class clientP2P.ClientDownloadPart
Runnable implementation
run() - Method in class clientP2P.ClientInterfaceCLI
Implementation of Runnable
run() - Method in class gui.ClientInterfaceGUI
Implementation of Runnable
run() - Method in class serverP2P.FileWatcher
Runnable implementation
run() - Method in class serverP2P.RatioWatcher
Runnable implementation
run() - Method in class serverP2P.ServerManagementTCP.ClientHandler
Implementation of runnable.
run() - Method in class serverP2P.ServerManagementTCP
Implementation of runnable.
run() - Method in class serverP2P.ServerManagementUDP
Implementation of runnable.
run() - Method in class tracker.TrackerManagementTCP.ClientHandler
Implementation of runnable.
run() - Method in class tracker.TrackerManagementTCP
Implementation of runnable.
run() - Method in class tracker.TrackerManagementUDP
Implementation of runnable.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links