Uses of Class
org.johnnei.javatorrent.torrent.peer.Peer
-
-
Uses of Peer in org.johnnei.javatorrent.bittorrent.protocol.messages
Methods in org.johnnei.javatorrent.bittorrent.protocol.messages with parameters of type Peer Modifier and Type Method Description voidIMessage. process(Peer peer)Process the messagevoidMessageBitfield. process(Peer peer)voidMessageBlock. process(Peer peer)voidMessageCancel. process(Peer peer)voidMessageChoke. process(Peer peer)voidMessageHave. process(Peer peer)voidMessageInterested. process(Peer peer)voidMessageKeepAlive. process(Peer peer)voidMessageRequest. process(Peer peer)voidMessageUnchoke. process(Peer peer)voidMessageUninterested. process(Peer peer) -
Uses of Peer in org.johnnei.javatorrent.module
Methods in org.johnnei.javatorrent.module with parameters of type Peer Modifier and Type Method Description voidIModule. onPostHandshake(Peer peer)Called when the peer has successfully passed the handshake with us. -
Uses of Peer in org.johnnei.javatorrent.torrent
Methods in org.johnnei.javatorrent.torrent that return types with arguments of type Peer Modifier and Type Method Description List<Peer>Torrent. getPeers()Creates a copy of the list of connected peers.Methods in org.johnnei.javatorrent.torrent with parameters of type Peer Modifier and Type Method Description voidTorrent. addPeer(Peer peer)Adds a peer to the torrent if not already registered to the torrent.voidTorrent. removePeer(Peer peer)Removes a peer from the torrent. -
Uses of Peer in org.johnnei.javatorrent.torrent.algos.choking
Methods in org.johnnei.javatorrent.torrent.algos.choking with parameters of type Peer Modifier and Type Method Description voidIChokingStrategy. updateChoking(Peer peer)Checks and possibly updates the choke states of the Peer.voidPermissiveStrategy. updateChoking(Peer peer)Checks and possibly updates the choke states of the Peer.voidPermissiveUploadStrategy. updateChoking(Peer peer) -
Uses of Peer in org.johnnei.javatorrent.torrent.algos.pieceselector
Methods in org.johnnei.javatorrent.torrent.algos.pieceselector with parameters of type Peer Modifier and Type Method Description Optional<Piece>FullPieceSelect. getPieceForPeer(Peer peer)Optional<Piece>IPieceSelector. getPieceForPeer(Peer p)Gets the next piece to download -
Uses of Peer in org.johnnei.javatorrent.torrent.algos.requests
Methods in org.johnnei.javatorrent.torrent.algos.requests with parameters of type Peer Modifier and Type Method Description voidIRequestLimiter. onReceivedBlock(Peer peer, MessageBlock messageBlock)voidRateBasedLimiter. onReceivedBlock(Peer peer, MessageBlock messageBlock) -
Uses of Peer in org.johnnei.javatorrent.torrent.files
Methods in org.johnnei.javatorrent.torrent.files with parameters of type Peer Modifier and Type Method Description IMessageIFileSetRequestFactory. createCancelRequestFor(Peer peer, Piece piece, int byteOffset, int length)Creates a cancelIMessagefor a earlier send out request.IMessageIFileSetRequestFactory. createRequestFor(Peer peer, Piece piece, int byteOffset, int length)Creates a request to download the given piece block. -
Uses of Peer in org.johnnei.javatorrent.torrent.peer
Methods in org.johnnei.javatorrent.torrent.peer that return Peer Modifier and Type Method Description PeerPeer.Builder. build() -
Uses of Peer in org.johnnei.javatorrent.tracker.http
Methods in org.johnnei.javatorrent.tracker.http with parameters of type Peer Modifier and Type Method Description voidHttpTrackerModule. onPostHandshake(Peer peer)
-