Home
last modified time | relevance | path

Searched defs:attachment (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DFutureLikeCompletionHandler.java26 Object attachment; field in FutureLikeCompletionHandler
28 public void completed(V result, Object attachment) { in completed()
40 public void failed(Throwable exc, Object attachment) { in failed()
DAsynchronousFileChannelTest.java253 public String attachment; field in AsynchronousFileChannelTest.RecordingHandler
260 public void completed(Integer result, String attachment) { in completed()
268 public void failed(Throwable exc, String attachment) { in failed()
288 String attachment = "ATTACHMENT"; in testRead_CompletionListener() local
351 afc.read(buf.asReadOnlyBuffer(), 1, attachment, handler); in testRead_CompletionListener() local
460 String attachment = "ATTACHMENT"; in testWrite_CompletionListener() local
475 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y'}), 0, attachment, handler); in testWrite_CompletionListener() local
492 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y', 'z'}), 6, attachment, handler); in testWrite_CompletionListener() local
510 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y' }), 9, attachment, handler); in testWrite_CompletionListener() local
526 afc.write(ByteBuffer.wrap(new byte[] { '0', '2' }), 13, attachment, handler); in testWrite_CompletionListener() local
DAsynchronousSocketChannelTest.java326 Object attachment = new Integer(1); in test_completionHandlerReadWrite() local
327 asc.connect(ss.getLocalSocketAddress(), attachment, connectCompletionHandler); in test_completionHandlerReadWrite() local
385 Object attachment = new Integer(1); in test_scatterReadWrite() local
386 asc.connect(ss.getLocalSocketAddress(), attachment, connectCompletionHandler); in test_scatterReadWrite() local
DAsynchronousServerSocketChannelTest.java163 Integer attachment = new Integer(123); in test_completionHandlerAccept_attachment() local
/libcore/ojluni/src/main/java/java/nio/channels/
DCompletionHandler.java55 void completed(V result, A attachment); in completed()
65 void failed(Throwable exc, A attachment); in failed()
DAsynchronousSocketChannel.java325 A attachment, in connect()
404 A attachment, in read()
417 A attachment, in read()
514 A attachment, in read()
561 A attachment, in write()
573 A attachment, in write()
665 A attachment, in write()
DAsynchronousByteChannel.java109 A attachment, in read()
188 A attachment, in write()
DAsynchronousFileChannel.java460 A attachment, in lock()
491 public final <A> void lock(A attachment, in lock()
678 A attachment, in read()
744 A attachment, in write()
DSelectionKey.java366 private volatile Object attachment = null; field in SelectionKey
397 public final Object attachment() { in attachment() method in SelectionKey
DAsynchronousServerSocketChannel.java285 public abstract <A> void accept(A attachment, in accept()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousFileChannelImpl.java109 A attachment, in implLock()
125 A attachment, in lock()
213 A attachment, in implRead()
224 A attachment, in read()
234 A attachment, in implWrite()
246 A attachment, in write()
DPendingFuture.java43 private final A attachment; field in PendingFuture
61 A attachment, in PendingFuture()
72 A attachment) in PendingFuture()
95 A attachment() { in attachment() method in PendingFuture
DInvoker.java121 A attachment, in invokeUnchecked()
155 A attachment, in invokeDirect()
170 A attachment, in invoke()
210 final A attachment, in invokeIndirectly()
233 final A attachment, in invokeIndirectly()
DAsynchronousSocketChannelImpl.java194 A attachment, in implConnect()
204 A attachment, in connect()
220 A attachment, in implRead()
290 A attachment, in read()
306 A attachment, in read()
329 A attachment, in implWrite()
394 A attachment, in write()
408 A attachment, in write()
DDirectBuffer.java35 public Object attachment(); in attachment() method
DSimpleAsynchronousFileChannelImpl.java176 final A attachment, in implLock()
290 final A attachment, in implRead()
346 final A attachment, in implWrite()
DAsynchronousServerSocketChannelImpl.java118 implAccept(Object attachment, in implAccept()
129 public final <A> void accept(A attachment, in accept()
DUnixAsynchronousSocketChannelImpl.java312 A attachment, in implConnect()
500 A attachment, in implRead()
695 A attachment, in implWrite()
DSelectorImpl.java125 Object attachment) in register()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java148 public final Object attachment() { in attachment() method in DirectByteBuffer