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 voidConnectionManager. enable(ConnectionType type, boolean startInDirectTlsMode, boolean enabled)Enables or disables a connection listener.ConnectionListenerConnectionManager. getListener(ConnectionType type, boolean startInDirectTlsMode)Returns a connection listener.Set<ConnectionListener>ConnectionManager. getListeners(ConnectionType type)Returns al connection listeners for the provided type.intConnectionManager. getPort(ConnectionType type, boolean startInDirectTlsMode)Retrieves the configured TCP port on which a listener accepts connections.booleanConnectionManager. 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).voidConnectionManager. 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 IdentityStoreCertificateStoreManager. getIdentityStore(ConnectionType type)static StringCertificateStoreManager. getIdentityStoreBackupDirectory(ConnectionType type)The location (relative to OPENFIRE_HOME) of the directory that holds backups for identity stores.CertificateStoreConfigurationCertificateStoreManager. getIdentityStoreConfiguration(ConnectionType type)static StringCertificateStoreManager. getIdentityStoreType(ConnectionType type)The KeyStore type (jks, jceks, pkcs12, etc) for the identity store for connections of a particular type.TrustStoreCertificateStoreManager. getTrustStore(ConnectionType type)static StringCertificateStoreManager. getTrustStoreBackupDirectory(ConnectionType type)The location (relative to OPENFIRE_HOME) of the directory that holds backups for trust stores.CertificateStoreConfigurationCertificateStoreManager. getTrustStoreConfiguration(ConnectionType type)static StringCertificateStoreManager. getTrustStoreType(ConnectionType type)The KeyStore type (jks, jceks, pkcs12, etc) for the trust store for connections of a particular type.voidCertificateStoreManager. replaceIdentityStore(ConnectionType type, CertificateStoreConfiguration configuration, boolean createIfAbsent)voidCertificateStoreManager. 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 ConnectionTypeConnectionType. getFallback()Returns a type from which configuration can be used, when configuration specific for this type is missing.ConnectionTypeConnectionConfiguration. getType()ConnectionTypeConnectionListener. getType()Returns the type of connection that is accepted by this listener.static ConnectionTypeConnectionType. 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 voidConnectionManagerImpl. enable(ConnectionType type, boolean startInDirectTlsMode, boolean enabled)Enables or disables a connection listener.ConnectionAcceptorConnectionManagerImpl. getConnectionAcceptor(ConnectionType type, boolean directTLS)Returns the connection acceptor for a particular connection type and configuration.ConnectionListenerConnectionManagerImpl. getListener(ConnectionType type, boolean startInDirectTlsMode)Returns a connection listener.Set<ConnectionListener>ConnectionManagerImpl. getListeners(ConnectionType type)Returns al connection listeners for the provided type.intConnectionManagerImpl. getPort(ConnectionType type, boolean startInDirectTlsMode)Retrieves the configured TCP port on which a listener accepts connections.booleanConnectionManagerImpl. 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).voidConnectionManagerImpl. 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.
-