
zmq.io.net.SelectorProviderChooser Maven / Gradle / Ivy
package zmq.io.net;
import java.nio.channels.spi.SelectorProvider;
import zmq.Options;
/**
* By implementing this class, it's possible to change the kind of channel used in tcp connections.
* It allows to easily wrap ZMQ socket in custom socket for TLS protection or other kind of trick.
*
* @author Fabrice Bacchella
*
*/
public interface SelectorProviderChooser
{
SelectorProvider choose(Address.IZAddress addr, Options options);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy