Package com.mongodb.connection
Interface StreamFactory
- All Known Implementing Classes:
AsynchronousSocketChannelStreamFactory
,NettyStreamFactory
,SocketStreamFactory
Deprecated.
There is no replacement for this interface.
A factory for streams.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ServerAddress serverAddress) Deprecated.Create a Stream to the given address
-
Method Details
-
create
Deprecated.Create a Stream to the given address- Parameters:
serverAddress
- the address- Returns:
- the stream
-