Package com.mongodb.connection
Interface StreamFactoryFactory
-
- All Known Implementing Classes:
AsynchronousSocketChannelStreamFactoryFactory
,NettyStreamFactoryFactory
public interface StreamFactoryFactory
A factory ofStreamFactory
instances.- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamFactory
create(SocketSettings socketSettings, SslSettings sslSettings)
Create aStreamFactory
with the given settings.
-
-
-
Method Detail
-
create
StreamFactory create(SocketSettings socketSettings, SslSettings sslSettings)
Create aStreamFactory
with the given settings.- Parameters:
socketSettings
- the socket settingssslSettings
- the SSL settings- Returns:
- a stream factory that will apply the given settins
-
-