Package com.torrent4j.model.TorrentSwarm

Examples of com.torrent4j.model.TorrentSwarm.SwarmBroadcastHandler


  }

  @Override
  public void pieceComplete(Torrent torrent,
      final TorrentPiece completePiece, TorrentPeer peer) {
    torrent.getSwarm().broadcast(new SwarmBroadcastHandler() {
      @Override
      public void broadcast(TorrentPeer peer) {
        peer.have(completePiece);
      }
View Full Code Here

TOP

Related Classes of com.torrent4j.model.TorrentSwarm.SwarmBroadcastHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.