Package com.mongodb.internal.connection
Class AsynchronousSocketChannelStream
java.lang.Object
com.mongodb.internal.connection.AsynchronousChannelStream
com.mongodb.internal.connection.AsynchronousSocketChannelStream
- All Implemented Interfaces:
BufferProvider
,Stream
@Deprecated(since="2021-05-27")
public final class AsynchronousSocketChannelStream
extends AsynchronousChannelStream
implements Stream
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionAsynchronousSocketChannelStream
(ServerAddress serverAddress, SocketSettings settings, BufferProvider bufferProvider, AsynchronousChannelGroup group) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
Deprecated.void
openAsync
(AsyncCompletionHandler<Void> handler) Deprecated.Open the stream asynchronously.Methods inherited from class com.mongodb.internal.connection.AsynchronousChannelStream
close, getAddress, getBuffer, getBufferProvider, getChannel, getServerAddress, getSettings, isClosed, open, read, readAsync, write, writeAsync
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mongodb.connection.BufferProvider
getBuffer
Methods inherited from interface com.mongodb.connection.Stream
close, getAddress, isClosed, open, read, readAsync, write, writeAsync
-
Constructor Details
-
AsynchronousSocketChannelStream
public AsynchronousSocketChannelStream(ServerAddress serverAddress, SocketSettings settings, BufferProvider bufferProvider, AsynchronousChannelGroup group) Deprecated.
-
-
Method Details