*
*/
public interface ConnectionConfiguration {
-
- /**
- * connection functionality support types
- */
- public enum FEATURE_SUPPORT {
- /** feature is not supported at all */
- NOT_SUPPORTED,
- /** feature is supported */
- SUPPORTED,
- /** feature is supported and has to be used by clients */
- REQUIRED
- }
-
+
/**
* @return address to bind, if null, all available interfaces will be used
*/
public Object getTransferProtocol();
/**
- * @return encryption feature support
+ * @return TLS configuration object
*/
- public FEATURE_SUPPORT getTlsSupport();
+ public TlsConfiguration getTlsConfiguration();
/**
* @return silence time (in milliseconds) - after this time {@link SwitchIdleEvent} message is sent upstream