/** * Return if the configuration allows this listener to be enabled (but does not verify that the listener is * indeed active) * * The #startInSslMode parameter is used to distinguish between listeners that expect to receive SSL 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 startInSslMode true when the listener to be configured is in legacy SSL mode, otherwise false. * @return true if configuration allows this listener to be enabled, otherwise false. */ public boolean isEnabled( ConnectionType type, boolean startInSslMode ) { return getListener( type, startInSslMode ).isEnabled(); }
if ( !isEnabled() )
isEnabled(), maxThreadPoolSize, maxBufferSize,
/** * Return if the configuration allows this listener to be enabled (but does not verify that the listener is * indeed active) * * The #startInSslMode parameter is used to distinguish between listeners that expect to receive SSL 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 startInSslMode true when the listener to be configured is in legacy SSL mode, otherwise false. * @return true if configuration allows this listener to be enabled, otherwise false. */ public boolean isEnabled( ConnectionType type, boolean startInSslMode ) { return getListener( type, startInSslMode ).isEnabled(); }
isEnabled(), maxThreadPoolSize, maxBufferSize,