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

H

handleClientRequest() - Method in class serverP2P.ServerManagementTCP.ClientHandler
Respond to next request incomming on socket s.
handleClientRequest() - Method in class tracker.TrackerManagementTCP.ClientHandler
Respond to next request incomming on socket s.
handleDiscover(T) - Method in class tracker.TrackerManagement
Handle Discover request
handleListRequest(T) - Method in class tracker.TrackerManagement
Handle List request
handleListResponse(T, HostItem) - Method in class tracker.TrackerManagement
Handle List Responses
handleRatio(T) - Method in class tracker.TrackerManagement
Handle Ratio request
handleRegister(T) - Method in class tracker.TrackerManagement
Handle Registering
handleRequest(T) - Method in class serverP2P.ServerManagement
Handle request.
handleRequest(T) - Method in class tracker.TrackerManagement
Handle requests
handleSizeRequest(T) - Method in class tracker.TrackerManagement
Handle Size request
handleUnregister(T) - Method in class tracker.TrackerManagement
Handle Unregistering
handleUpdateRatio(T) - Method in class tracker.TrackerManagement
Handle Update Ratio
hasFailed() - Method in class clientP2P.ClientDownloadPart
True if thread has failed to get a file.
hash512 - Variable in class clientP2P.ClientDownload
 
HashAlgorithm - Enum in protocolP2P
HashAlgorithm enum.
HashAlgorithm(String) - Constructor for enum protocolP2P.HashAlgorithm
 
hashCode() - Method in class tools.HostItem
Override of hashCode method
hashes - Variable in class protocolP2P.HashResponse
 
HashRequest - Class in protocolP2P
Representation of payload for hash request.
HashRequest(String, HashAlgorithm[]) - Constructor for class protocolP2P.HashRequest
Constructor (typically used by the server) with a filename parameter.
HashRequest(byte[]) - Constructor for class protocolP2P.HashRequest
Constructor (typically used by client) with a byte[] parameter containing the Packet received.
HashResponse - Class in protocolP2P
Representation of payload for hash response.
HashResponse(String, Map<HashAlgorithm, byte[]>) - Constructor for class protocolP2P.HashResponse
Constructor (typically used by the server) with a filename parameter.
HashResponse(byte[]) - Constructor for class protocolP2P.HashResponse
Constructor (typically used by client) with a byte[] parameter containing the Packet received.
hostItem - Variable in class protocolP2P.LoadRequest
 
hostItem - Variable in class protocolP2P.RatioRequest
 
hostItem - Variable in class protocolP2P.RatioResponse
 
hostItem - Variable in class protocolP2P.Register
 
hostItem - Variable in class protocolP2P.Unregister
 
HostItem - Class in tools
Class to store hostnames + ports
HostItem(String, int) - Constructor for class tools.HostItem
Constructor with hostname and port
HostItem(Socket) - Constructor for class tools.HostItem
Constructor from Socket.
hostList - Variable in class clientP2P.ClientDownload
 
hostList - Variable in class clientP2P.ClientManagement
 
hostList - Variable in class protocolP2P.DiscoverResponse
 
hostList - Variable in class tracker.TrackerManagement
 
hostname - Variable in class tools.HostItem
 
HOSTNAME_START_POSITION - Static variable in class protocolP2P.RatioRequest
 
HOSTNAME_START_POSITION - Static variable in class protocolP2P.RatioResponse
 
HOSTNAME_START_POSITION - Static variable in class protocolP2P.Register
 
HOSTNAME_START_POSITION - Static variable in class protocolP2P.Unregister
 
HOSTNAMES_START_POSITION - Static variable in class protocolP2P.UpdateRatio
 
hostnameServer - Variable in class gui.ClientP2PGUI
 
hostnameTracker - Variable in class gui.ClientP2PGUI
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links