All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bt.net.IConnectionHandlerFactory Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
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