Package com.mongodb.connection
Class AsynchronousSocketChannelStreamFactoryFactory
java.lang.Object
com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
- All Implemented Interfaces:
StreamFactoryFactory
@Deprecated
public final class AsynchronousSocketChannelStreamFactoryFactory
extends Object
implements StreamFactoryFactory
Deprecated.
There is no replacement for this class.
A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.- Since:
- 3.1
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated.A builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.Gets a builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.create
(SocketSettings socketSettings, SslSettings sslSettings) Deprecated.Create aStreamFactory
with the given settings.
-
Method Details
-
builder
Deprecated.Gets a builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.- Returns:
- the builder
- Since:
- 3.6
-
create
Deprecated.Description copied from interface:StreamFactoryFactory
Create aStreamFactory
with the given settings.- Specified by:
create
in interfaceStreamFactoryFactory
- Parameters:
socketSettings
- the socket settingssslSettings
- the SSL settings- Returns:
- a stream factory that will apply the given settins
-