StreamFactoryFactory (original) (raw)
- All Known Implementing Classes:
[AsynchronousSocketChannelStreamFactoryFactory](AsynchronousSocketChannelStreamFactoryFactory.html "class in com.mongodb.connection")
,[NettyStreamFactoryFactory](netty/NettyStreamFactoryFactory.html "class in com.mongodb.connection.netty")
,[TlsChannelStreamFactoryFactory](TlsChannelStreamFactoryFactory.html "class in com.mongodb.connection")
public interface StreamFactoryFactory
A factory of StreamFactory
instances.
Since:
3.1
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method Description StreamFactory create(SocketSettings socketSettings,SslSettings sslSettings) Create a StreamFactory with the given settings. Method Detail
* #### create [StreamFactory](StreamFactory.html "interface in com.mongodb.connection") create([SocketSettings](SocketSettings.html "class in com.mongodb.connection") socketSettings, [SslSettings](SslSettings.html "class in com.mongodb.connection") sslSettings) Create a `StreamFactory` with the given settings. Parameters: `socketSettings` \- the socket settings `sslSettings` \- the SSL settings Returns: a stream factory that will apply the given settins