## Uses of Class
org.klomp.snark.I2PSnarkUtil

- Packages that use I2PSnarkUtil
  Package | Description
  --- | ---
  org.klomp.snark |

- - ### Uses of I2PSnarkUtil in org.klomp.snark

    Methods in org.klomp.snark that return I2PSnarkUtil
    Modifier and Type | Method and Description
    --- | ---
    `I2PSnarkUtil` | SnarkManager.`util()` hook to I2PSnarkUtil for the servlet

    Methods in org.klomp.snark with parameters of type I2PSnarkUtil
    Modifier and Type | Method and Description
    --- | ---
    `void` | Peer.`runConnection(I2PSnarkUtil util, PeerListener listener, BitField bitfield, MagnetState mState)` Runs the connection to the other peer.

    Constructors in org.klomp.snark with parameters of type I2PSnarkUtil
    Constructor and Description
    `ConnectionAcceptor(I2PSnarkUtil util)`
    `ConnectionAcceptor(I2PSnarkUtil util, I2PServerSocket serverSocket, PeerAcceptor peeracceptor)`
    `PeerCheckerTask(I2PSnarkUtil util, PeerCoordinator coordinator)`
    `PeerCoordinator(I2PSnarkUtil util, byte[] id, byte[] infohash, MetaInfo metainfo, Storage storage, CoordinatorListener listener, Snark torrent)`
    `Snark(I2PSnarkUtil util, String torrent, byte[] ih, String trackerURL, Snark.CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet, ConnectionAcceptor connectionAcceptor, boolean start, String rootDir)` multitorrent, magnet
    `Snark(I2PSnarkUtil util, String torrent, String ip, int user_port, StorageListener slistener, CoordinatorListener clistener)` from main() via parseArguments() single torrent
    `Snark(I2PSnarkUtil util, String torrent, String ip, int user_port, StorageListener slistener, CoordinatorListener clistener, Snark.CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet, ConnectionAcceptor connectionAcceptor, boolean start, String rootDir)` multitorrent
    `Storage(I2PSnarkUtil util, File baseFile, String announce, StorageListener listener)` Creates a storage from the existing file or directory together with an appropriate MetaInfo file as can be announced on the given announce String location.
    `Storage(I2PSnarkUtil util, MetaInfo metainfo, StorageListener listener)` Creates a new storage based on the supplied MetaInfo.
    `TrackerClient(I2PSnarkUtil util, MetaInfo meta, String additionalTrackerURL, PeerCoordinator coordinator, Snark snark)`