57585960616263
* * @param protocol * thw protocol to use */ public TorrentController(TorrentProtocol protocol) { this(protocol, new NIOTorrentStorage()); }
76777879808182
/** * Creates a new controller with {@link PeerWireProtocol} as default * protocol and {@link NIOTorrentStorage} as default storage. */ public TorrentController() { this(new PeerWireProtocol(), new NIOTorrentStorage()); }