Uses of Class
org.klomp.snark.Request
-
Packages that use Request Package Description org.klomp.snark I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features. -
-
Uses of Request in org.klomp.snark
Methods in org.klomp.snark that return Request Modifier and Type Method Description (package private) RequestPeerState. getOutstandingRequest(int piece, int begin, int length)Called when a piece message is being processed by the incoming connection.RequestPartialPiece. getRequest()Convert this PartialPiece to a request for the next chunk.Methods in org.klomp.snark that return types with arguments of type Request Modifier and Type Method Description (package private) List<Request>PeerState. returnPartialPieces()Get partial pieces, give them back to PeerCoordinator.Methods in org.klomp.snark with parameters of type Request Modifier and Type Method Description (package private) voidPeerState. pieceMessage(Request req)Called when a full chunk (i.e.(package private) voidPeerConnectionOut. sendCancel(Request req)send cancel(package private) voidPeerConnectionOut. sendRequest(Request req)Method parameters in org.klomp.snark with type arguments of type Request Modifier and Type Method Description (package private) voidPeerConnectionOut. retransmitRequests(List<Request> requests)voidPeerCoordinator. savePartialPieces(Peer peer, List<Request> partials)Save partial pieces on peer disconnection and hopefully restart it later.voidPeerListener. savePartialPieces(Peer peer, List<Request> pcs)Called when the peer has disconnected and the peer task may have a partially downloaded piece that the PeerCoordinator can save(package private) voidPeerConnectionOut. sendRequests(List<Request> requests)
-