bt.protocol.IHandshakeFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bt-core Show documentation
Show all versions of bt-core Show documentation
BitTorrent Client Library (Core)
package bt.protocol;
import bt.metainfo.TorrentId;
/**
* Factory of standard BitTorrent handshakes.
*
* @since 1.0
*/
public interface IHandshakeFactory {
/**
* Create a handshake, that can be used
* to initialize peer connections for a given torrent.
*
* @since 1.0
*/
Handshake createHandshake(TorrentId torrentId);
}