![JAR search and dependency download from the Maven repository](/logo.png)
bt.net.IConnectionHandlerFactory 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.net;
import bt.metainfo.TorrentId;
/**
* @since 1.0
*/
public interface IConnectionHandlerFactory {
/**
* @return Connection handler, that should be used
* for processing incoming connections.
* @since 1.0
*/
ConnectionHandler getIncomingHandler();
/**
* @return Connection handler, that should be used
* for processing outgoing connections for a given torrent ID.
* @since 1.0
*/
ConnectionHandler getOutgoingHandler(TorrentId torrentId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy