Package com.mongodb.connection.netty
Class NettyStreamFactoryFactory
java.lang.Object
com.mongodb.connection.netty.NettyStreamFactoryFactory
- All Implemented Interfaces:
StreamFactoryFactory
@Deprecated
public final class NettyStreamFactoryFactory
extends Object
implements StreamFactoryFactory
Deprecated.
A
StreamFactoryFactory
implementation for Netty-based streams.- Since:
- 3.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated.A builder for an instance ofNettyStreamFactoryFactory
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.Gets a builder for an instance ofNettyStreamFactoryFactory
.create
(SocketSettings socketSettings, SslSettings sslSettings) Deprecated.Create aStreamFactory
with the given settings.boolean
Deprecated.int
hashCode()
Deprecated.toString()
Deprecated.
-
Method Details
-
builder
Deprecated.Gets a builder for an instance ofNettyStreamFactoryFactory
.- Returns:
- the builder
- Since:
- 3.3
-
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
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
NettyTransportSettings
, creatable viaTransportSettings.nettyBuilder()
and applied viaMongoClientSettings.Builder.transportSettings(TransportSettings)