Uses of Enum Class
org.jivesoftware.openfire.spi.ConnectionType
Packages that use ConnectionType
Package
Description
Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH).
-
Uses of ConnectionType in org.jivesoftware.openfire
Methods in org.jivesoftware.openfire with parameters of type ConnectionTypeModifier and TypeMethodDescriptionvoid
ConnectionManager.enable
(ConnectionType type, boolean startInDirectTlsMode, boolean enabled) Enables or disables a connection listener.ConnectionManager.getListener
(ConnectionType type, boolean startInDirectTlsMode) Returns a connection listener.ConnectionManager.getListeners
(ConnectionType type) Returns al connection listeners for the provided type.int
ConnectionManager.getPort
(ConnectionType type, boolean startInDirectTlsMode) Retrieves the configured TCP port on which a listener accepts connections.boolean
ConnectionManager.isEnabled
(ConnectionType type, boolean startInDirectTlsMode) 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 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).void
ConnectionManager.setPort
(ConnectionType type, boolean startInDirectTlsMode, int port) Sets the TCP port on which a listener accepts connections. -
Uses of ConnectionType in org.jivesoftware.openfire.http
Constructors in org.jivesoftware.openfire.http with parameters of type ConnectionTypeModifierConstructorDescriptionHttpVirtualConnection
(InetAddress address, PacketDeliverer backupDeliverer, ConnectionType connectionType) -
Uses of ConnectionType in org.jivesoftware.openfire.keystore
Methods in org.jivesoftware.openfire.keystore with parameters of type ConnectionTypeModifier and TypeMethodDescriptionCertificateStoreManager.getIdentityStore
(ConnectionType type) static String
CertificateStoreManager.getIdentityStoreBackupDirectory
(ConnectionType type) The location (relative to OPENFIRE_HOME) of the directory that holds backups for identity stores.CertificateStoreManager.getIdentityStoreConfiguration
(ConnectionType type) static String
CertificateStoreManager.getIdentityStoreType
(ConnectionType type) The KeyStore type (jks, jceks, pkcs12, etc) for the identity store for connections of a particular type.CertificateStoreManager.getTrustStore
(ConnectionType type) static String
CertificateStoreManager.getTrustStoreBackupDirectory
(ConnectionType type) The location (relative to OPENFIRE_HOME) of the directory that holds backups for trust stores.CertificateStoreManager.getTrustStoreConfiguration
(ConnectionType type) static String
CertificateStoreManager.getTrustStoreType
(ConnectionType type) The KeyStore type (jks, jceks, pkcs12, etc) for the trust store for connections of a particular type.void
CertificateStoreManager.replaceIdentityStore
(ConnectionType type, CertificateStoreConfiguration configuration, boolean createIfAbsent) void
CertificateStoreManager.replaceTrustStore
(ConnectionType type, CertificateStoreConfiguration configuration, boolean createIfAbsent) -
Uses of ConnectionType in org.jivesoftware.openfire.spi
Methods in org.jivesoftware.openfire.spi that return ConnectionTypeModifier and TypeMethodDescriptionConnectionType.getFallback()
Returns a type from which configuration can be used, when configuration specific for this type is missing.ConnectionConfiguration.getType()
ConnectionListener.getType()
Returns the type of connection that is accepted by this listener.static ConnectionType
Returns the enum constant of this class with the specified name.static ConnectionType[]
ConnectionType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.jivesoftware.openfire.spi with parameters of type ConnectionTypeModifier and TypeMethodDescriptionvoid
ConnectionManagerImpl.enable
(ConnectionType type, boolean startInDirectTlsMode, boolean enabled) Enables or disables a connection listener.ConnectionManagerImpl.getConnectionAcceptor
(ConnectionType type, boolean directTLS) Returns the connection acceptor for a particular connection type and configuration.ConnectionManagerImpl.getListener
(ConnectionType type, boolean startInDirectTlsMode) Returns a connection listener.ConnectionManagerImpl.getListeners
(ConnectionType type) Returns al connection listeners for the provided type.int
ConnectionManagerImpl.getPort
(ConnectionType type, boolean startInDirectTlsMode) Retrieves the configured TCP port on which a listener accepts connections.boolean
ConnectionManagerImpl.isEnabled
(ConnectionType type, boolean startInDirectTlsMode) 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 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).void
ConnectionManagerImpl.setPort
(ConnectionType type, boolean startInDirectTlsMode, int port) Sets the TCP port on which a listener accepts connections.Constructors in org.jivesoftware.openfire.spi with parameters of type ConnectionTypeModifierConstructorDescriptionConnectionConfiguration
(ConnectionType type, boolean enabled, int maxThreadPoolSize, int maxBufferSize, Connection.ClientAuth clientAuth, InetAddress bindAddress, int port, Connection.TLSPolicy tlsPolicy, CertificateStoreConfiguration identityStoreConfiguration, CertificateStoreConfiguration trustStoreConfiguration, boolean acceptSelfSignedCertificates, boolean verifyCertificateValidity, boolean verifyCertificateRevocation, Set<String> encryptionProtocols, Set<String> encryptionCipherSuites, Connection.CompressionPolicy compressionPolicy, boolean strictCertificateValidation) ConnectionListener
(ConnectionType type, String tcpPortPropertyName, int defaultPort, String isEnabledPropertyName, String maxPoolSizePropertyName, String maxReadBufferPropertyName, String tlsPolicyPropertyName, String clientAuthPolicyPropertyName, InetAddress bindAddress, CertificateStoreConfiguration identityStoreConfiguration, CertificateStoreConfiguration trustStoreConfiguration, String compressionPolicyPropertyName) Instantiates a new connection listener.