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
Constructors Constructor Description AsynchronousSocketChannelStream(ServerAddress serverAddress, SocketSettings settings, BufferProvider bufferProvider, java.nio.channels.AsynchronousChannelGroup group)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.nio.channels.AsynchronousChannelGroup
getGroup()
Deprecated.void
openAsync(AsyncCompletionHandler<java.lang.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 Detail
-
AsynchronousSocketChannelStream
public AsynchronousSocketChannelStream(ServerAddress serverAddress, SocketSettings settings, BufferProvider bufferProvider, java.nio.channels.AsynchronousChannelGroup group)
Deprecated.
-
-
Method Detail
-
openAsync
public void openAsync(AsyncCompletionHandler<java.lang.Void> handler)
Deprecated.Description copied from interface:Stream
Open the stream asynchronously.
-
getGroup
public java.nio.channels.AsynchronousChannelGroup getGroup()
Deprecated.
-
-