Package com.mongodb.connection
Class TlsChannelStreamFactoryFactory
- java.lang.Object
 - 
- com.mongodb.connection.TlsChannelStreamFactoryFactory
 
 
- 
- All Implemented Interfaces:
 StreamFactoryFactory,java.io.Closeable,java.lang.AutoCloseable
@Deprecated(since="2021-05-27") public class TlsChannelStreamFactoryFactory extends java.lang.Object implements StreamFactoryFactory, java.io.Closeable
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.AStreamFactoryFactorythat supports TLS/SSL. The implementation supports asynchronous usage.Requires Java 8
- Since:
 - 3.10
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TlsChannelStreamFactoryFactory()Deprecated.Construct a new instanceTlsChannelStreamFactoryFactory(com.mongodb.internal.connection.tlschannel.async.AsynchronousTlsChannelGroup group)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.StreamFactorycreate(SocketSettings socketSettings, SslSettings sslSettings)Deprecated.Create aStreamFactorywith the given settings. 
 - 
 
- 
- 
Constructor Detail
- 
TlsChannelStreamFactoryFactory
public TlsChannelStreamFactoryFactory()
Deprecated.Construct a new instance 
- 
TlsChannelStreamFactoryFactory
@Deprecated public TlsChannelStreamFactoryFactory(com.mongodb.internal.connection.tlschannel.async.AsynchronousTlsChannelGroup group)
Deprecated.Construct a new instance with the givenAsynchronousTlsChannelGroup. Callers are required to close the provided group in order to free up resources.- Parameters:
 group- the group
 
 - 
 
- 
Method Detail
- 
create
public StreamFactory create(SocketSettings socketSettings, SslSettings sslSettings)
Deprecated.Description copied from interface:StreamFactoryFactoryCreate aStreamFactorywith the given settings.- Specified by:
 createin interfaceStreamFactoryFactory- Parameters:
 socketSettings- the socket settingssslSettings- the SSL settings- Returns:
 - a stream factory that will apply the given settins
 
 
- 
close
public void close()
Deprecated.- Specified by:
 closein interfacejava.lang.AutoCloseable- Specified by:
 closein interfacejava.io.Closeable
 
 - 
 
 -