i2psnark: Revert API changes that broke i2psnark-rpc plugin

compile-tested only
This commit is contained in:
zzz
2020-02-17 15:47:03 +00:00
parent fd958df118
commit daf595ab7e
3 changed files with 29 additions and 4 deletions

View File

@@ -489,6 +489,21 @@ public class Snark
_comments = completeListener.getSavedComments(this);
}
/**
* multitorrent, magnet, Used by snark-rpc plugin
*
* Will not start itself. Caller must call startTorrent() if desired.
*
* @param ignored used to be autostart
* @throws RuntimeException via fatal()
* @since 0.8.4, removed in 0.9.36, restored in 0.9.45 with boolean param now ignored
*/
protected Snark(I2PSnarkUtil util, String torrent, byte[] ih, String trackerURL,
CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet,
ConnectionAcceptor connectionAcceptor, boolean ignored, String rootDir) {
this(util, torrent, ih, trackerURL, complistener, peerCoordinatorSet, connectionAcceptor, rootDir);
}
/**
* multitorrent, magnet
*