Uses of Class
org.jivesoftware.openfire.spi.ConnectionType
-
Packages that use ConnectionType Package Description org.jivesoftware.openfire org.jivesoftware.openfire.http Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH).org.jivesoftware.openfire.keystore org.jivesoftware.openfire.spi -
-
Uses of ConnectionType in org.jivesoftware.openfire
Methods in org.jivesoftware.openfire with parameters of type ConnectionType Modifier and Type Method Description void
ConnectionManager. enable(ConnectionType type, boolean startInDirectTlsMode, boolean enabled)
Enables or disables a connection listener.ConnectionListener
ConnectionManager. getListener(ConnectionType type, boolean startInDirectTlsMode)
Returns a connection listener.Set<ConnectionListener>
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 ConnectionType Constructor Description HttpVirtualConnection(InetAddress address, PacketDeliverer backupDeliverer, ConnectionType connectionType)
-
Uses of ConnectionType in org.jivesoftware.openfire.keystore
Methods in org.jivesoftware.openfire.keystore with parameters of type ConnectionType Modifier and Type Method Description IdentityStore
CertificateStoreManager. getIdentityStore(ConnectionType type)
static String
CertificateStoreManager. getIdentityStoreBackupDirectory(ConnectionType type)
The location (relative to OPENFIRE_HOME) of the directory that holds backups for identity stores.CertificateStoreConfiguration
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.TrustStore
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.CertificateStoreConfiguration
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 ConnectionType Modifier and Type Method Description ConnectionType
ConnectionType. getFallback()
Returns a type from which configuration can be used, when configuration specific for this type is missing.ConnectionType
ConnectionConfiguration. getType()
ConnectionType
ConnectionListener. getType()
Returns the type of connection that is accepted by this listener.static ConnectionType
ConnectionType. valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectionType[]
ConnectionType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jivesoftware.openfire.spi with parameters of type ConnectionType Modifier and Type Method Description void
ConnectionManagerImpl. enable(ConnectionType type, boolean startInDirectTlsMode, boolean enabled)
Enables or disables a connection listener.ConnectionAcceptor
ConnectionManagerImpl. getConnectionAcceptor(ConnectionType type, boolean directTLS)
Returns the connection acceptor for a particular connection type and configuration.ConnectionListener
ConnectionManagerImpl. getListener(ConnectionType type, boolean startInDirectTlsMode)
Returns a connection listener.Set<ConnectionListener>
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 ConnectionType Constructor Description ConnectionConfiguration(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, 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.
-