@Override
    public void enable( ConnectionType type, boolean startInDirectTlsMode, boolean enabled )
    {
        getListener( type, startInDirectTlsMode ).enable( enabled );
    }
Enables or disables a connection listener. Does nothing if the particular listener is already in the requested
state.

The #startInSslMode parameter is used to distinguish between listeners that expect to receive TLS encrypted data
immediately, as opposed to connections that initially accept plain text data (the latter are typically subject to
StartTLS for in-band encryption configuration). When for a particular connection type only one of these options
is implemented, the parameter value is ignored.

@param type The connection type for which a listener is to be configured.
@param startInDirectTlsMode true when the listener to be configured is in Direct TLS mode, otherwise false.
@param enabled true if the listener is to be enabled, otherwise false.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/ConnectionManagerImpl.java