Home
last modified time | relevance | path

Searched refs:AsynchronousSocketChannel (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java31 import java.nio.channels.AsynchronousSocketChannel;
57 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_connect()
83 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_bind()
103 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_bind_unsupportedAddress()
119 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_bind_unresolvedAddress()
134 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_bind_usedAddress()
150 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_bind_null()
161 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_connect_unresolvedAddress()
174 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_close()
272 AsynchronousSocketChannel asc = AsynchronousSocketChannel.open(); in test_futureReadWrite()
[all …]
DAsynchronousServerSocketChannelTest.java32 import java.nio.channels.AsynchronousSocketChannel;
111 Future<AsynchronousSocketChannel> acceptFuture = assc.accept(); in test_futureAccept()
116 AsynchronousSocketChannel asc = acceptFuture.get(1000, TimeUnit.MILLISECONDS); in test_futureAccept()
133 FutureLikeCompletionHandler<AsynchronousSocketChannel> acceptCompletionHandler = in test_completionHandlerAccept()
134 new FutureLikeCompletionHandler<AsynchronousSocketChannel>(); in test_completionHandlerAccept()
140 AsynchronousSocketChannel asc = acceptCompletionHandler.get(1000); in test_completionHandlerAccept()
160 FutureLikeCompletionHandler<AsynchronousSocketChannel> acceptCompletionHandler = in test_completionHandlerAccept_attachment()
161 new FutureLikeCompletionHandler<AsynchronousSocketChannel>(); in test_completionHandlerAccept_attachment()
168 AsynchronousSocketChannel asc = acceptCompletionHandler.get(1000); in test_completionHandlerAccept_attachment()
183 FutureLikeCompletionHandler<AsynchronousSocketChannel> acceptCompletionHandler = in test_completionHandlerAccept_nyb()
[all …]
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousSocketChannel.java119 public abstract class AsynchronousSocketChannel class
130 protected AsynchronousSocketChannel(AsynchronousChannelProvider provider) { in AsynchronousSocketChannel() method in AsynchronousSocketChannel
164 public static AsynchronousSocketChannel open(AsynchronousChannelGroup group) in open()
187 public static AsynchronousSocketChannel open() in open()
209 public abstract AsynchronousSocketChannel bind(SocketAddress local) in bind()
218 public abstract <T> AsynchronousSocketChannel setOption(SocketOption<T> name, T value) in setOption()
241 public abstract AsynchronousSocketChannel shutdownInput() throws IOException; in shutdownInput()
261 public abstract AsynchronousSocketChannel shutdownOutput() throws IOException; in shutdownOutput()
DAsynchronousServerSocketChannel.java286 CompletionHandler<AsynchronousSocketChannel,? super A> handler); in accept() argument
306 public abstract Future<AsynchronousSocketChannel> accept(); in accept()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixAsynchronousServerSocketChannelImpl.java66 private CompletionHandler<AsynchronousSocketChannel,Object> acceptHandler;
68 private PendingFuture<AsynchronousSocketChannel,Object> acceptFuture;
109 CompletionHandler<AsynchronousSocketChannel,Object> handler; in implClose()
111 PendingFuture<AsynchronousSocketChannel,Object> future; in implClose()
187 AsynchronousSocketChannel child = null; in onEvent()
199 CompletionHandler<AsynchronousSocketChannel,Object> handler = acceptHandler; in onEvent()
201 PendingFuture<AsynchronousSocketChannel,Object> future = acceptFuture; in onEvent()
226 private AsynchronousSocketChannel finishAccept(FileDescriptor newfd, in finishAccept()
231 AsynchronousSocketChannel ch = null; in finishAccept()
271 Future<AsynchronousSocketChannel> implAccept(Object att, in implAccept()
[all …]
DAsynchronousServerSocketChannelImpl.java117 abstract Future<AsynchronousSocketChannel>
119 CompletionHandler<AsynchronousSocketChannel,Object> handler); in implAccept() argument
123 public final Future<AsynchronousSocketChannel> accept() { in accept()
130 CompletionHandler<AsynchronousSocketChannel,? super A> handler) in accept() argument
134 implAccept(attachment, (CompletionHandler<AsynchronousSocketChannel,Object>)handler); in accept()
DAsynchronousSocketChannelImpl.java49 extends AsynchronousSocketChannel
420 public final AsynchronousSocketChannel bind(SocketAddress local) in bind()
454 public final <T> AsynchronousSocketChannel setOption(SocketOption<T> name, T value) in setOption()
532 public final AsynchronousSocketChannel shutdownInput() throws IOException { in shutdownInput()
550 public final AsynchronousSocketChannel shutdownOutput() throws IOException { in shutdownOutput()
DLinuxAsynchronousChannelProvider.java85 public AsynchronousSocketChannel openAsynchronousSocketChannel(AsynchronousChannelGroup group) in openAsynchronousSocketChannel()
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAsynchronousChannelProvider.java243 public abstract AsynchronousSocketChannel openAsynchronousSocketChannel
/libcore/api/
Dcurrent.txt6013 …accept(A, java.nio.channels.CompletionHandler<java.nio.channels.AsynchronousSocketChannel,? super …
6014 …method public abstract java.util.concurrent.Future<java.nio.channels.AsynchronousSocketChannel> ac…
6023 …public abstract class AsynchronousSocketChannel implements java.nio.channels.AsynchronousByteChann…
6024 ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider);
6025 …method public abstract java.nio.channels.AsynchronousSocketChannel bind(java.net.SocketAddress) th…
6029 …method public static java.nio.channels.AsynchronousSocketChannel open(java.nio.channels.Asynchrono…
6030 …method public static java.nio.channels.AsynchronousSocketChannel open() throws java.io.IOException;
6035 …method public abstract <T> java.nio.channels.AsynchronousSocketChannel setOption(java.net.SocketOp…
6036 …method public abstract java.nio.channels.AsynchronousSocketChannel shutdownInput() throws java.io.…
6037 …method public abstract java.nio.channels.AsynchronousSocketChannel shutdownOutput() throws java.io…
[all …]
/libcore/
Dopenjdk_java_files.bp368 "ojluni/src/main/java/java/nio/channels/AsynchronousSocketChannel.java",