Searched defs:attachment (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DDirectBuffer.java35 public Object attachment(); method in interface:DirectBuffer
H A DSelectorImpl.java126 Object attachment)
131 k.attach(attachment);
124 register(AbstractSelectableChannel ch, int ops, Object attachment) argument
H A DAsynchronousFileChannelImpl.java109 A attachment,
125 A attachment,
130 implLock(position, size, shared, attachment, handler);
213 A attachment,
224 A attachment,
229 implRead(dst, position, attachment, handler);
234 A attachment,
246 A attachment,
251 implWrite(src, position, attachment, handler);
106 implLock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
122 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
211 implRead(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
222 read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
232 implWrite(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
244 write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
H A DAsynchronousServerSocketChannelImpl.java118 implAccept(Object attachment, argument
129 public final <A> void accept(A attachment, argument
134 implAccept(attachment, (CompletionHandler<AsynchronousSocketChannel,Object>)handler);
H A DInvoker.java121 A attachment,
126 handler.completed(value, attachment);
128 handler.failed(exc, attachment);
140 A attachment,
145 Invoker.invokeUnchecked(handler, attachment, result, exc);
155 A attachment,
173 invokeDirect(thisGroupAndInvokeCount, handler, attachment, result, exc);
176 invokeIndirectly(channel, handler, attachment, result, exc);
182 handler, attachment, result, exc);
195 final A attachment,
120 invokeUnchecked(CompletionHandler<V,? super A> handler, A attachment, V value, Throwable exc) argument
138 invokeDirect(GroupAndInvokeCount myGroupAndInvokeCount, CompletionHandler<V,? super A> handler, A attachment, V result, Throwable exc) argument
153 invoke(AsynchronousChannel channel, CompletionHandler<V,? super A> handler, A attachment, V result, Throwable exc) argument
193 invokeIndirectly(AsynchronousChannel channel, final CompletionHandler<V,? super A> handler, final A attachment, final V result, final Throwable exc) argument
217 invokeIndirectly(final CompletionHandler<V,? super A> handler, final A attachment, final V value, final Throwable exc, Executor executor) argument
[all...]
H A DPendingFuture.java34 * attachment of an additional arbitrary context object and a timer task.
43 private final A attachment; field in class:PendingFuture
61 A attachment,
66 this.attachment = attachment;
72 A attachment)
76 this.attachment = attachment;
95 A attachment() { method in class:PendingFuture
96 return attachment;
59 PendingFuture(AsynchronousChannel channel, CompletionHandler<V,? super A> handler, A attachment, Object context) argument
70 PendingFuture(AsynchronousChannel channel, CompletionHandler<V,? super A> handler, A attachment) argument
[all...]
H A DSimpleAsynchronousFileChannelImpl.java177 final A attachment,
191 Invoker.invokeIndirectly(handler, attachment, null, exc, executor);
226 Invoker.invokeUnchecked(handler, attachment, fli, exc);
291 final A attachment,
306 Invoker.invokeIndirectly(handler, attachment, 0, exc, executor);
336 Invoker.invokeUnchecked(handler, attachment, n, exc);
347 final A attachment,
360 Invoker.invokeIndirectly(handler, attachment, 0, exc, executor);
390 Invoker.invokeUnchecked(handler, attachment, n, exc);
174 implLock(final long position, final long size, final boolean shared, final A attachment, final CompletionHandler<FileLock,? super A> handler) argument
289 implRead(final ByteBuffer dst, final long position, final A attachment, final CompletionHandler<Integer,? super A> handler) argument
345 implWrite(final ByteBuffer src, final long position, final A attachment, final CompletionHandler<Integer,? super A> handler) argument
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousByteChannel.java92 * @param attachment
107 A attachment,
171 * @param attachment
184 A attachment,
106 read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler) argument
183 write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler) argument
H A DCompletionHandler.java52 * @param attachment
55 void completed(V result, A attachment); argument
62 * @param attachment
65 void failed(Throwable exc, A attachment); argument
H A DAsynchronousServerSocketChannel.java266 * @param attachment
278 public abstract <A> void accept(A attachment, argument
H A DAsynchronousFileChannel.java438 * @param attachment
457 A attachment,
475 * @param attachment
486 public final <A> void lock(A attachment, argument
489 lock(0L, Long.MAX_VALUE, false, attachment, handler);
659 * @param attachment
671 A attachment,
723 * @param attachment
735 A attachment,
454 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument
669 read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
733 write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument
H A DSelectionKey.java87 * <i>attachment</i> of a single arbitrary object to a key. An object can be
89 * the {@link #attachment() attachment} method.
366 private volatile Object attachment = null; field in class:SelectionKey
370 SelectionKey.class, Object.class, "attachment"
376 * <p> An attached object may later be retrieved via the {@link #attachment()
377 * attachment} method. Only one object may be attached at a time; invoking
378 * this method causes any previous attachment to be discarded. The current
379 * attachment may be discarded by attaching <tt>null</tt>. </p>
392 * Retrieves the current attachment
397 public final Object attachment() { method in class:SelectionKey
[all...]
H A DAsynchronousSocketChannel.java292 * @param attachment
314 A attachment,
374 * @param attachment
391 A attachment,
404 A attachment,
407 read(dst, 0L, TimeUnit.MILLISECONDS, attachment, handler);
477 * @param attachment
499 A attachment,
529 * @param attachment
544 A attachment,
313 connect(SocketAddress remote, A attachment, CompletionHandler<Void,? super A> handler) argument
388 read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler) argument
403 read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler) argument
494 read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument
541 write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler) argument
555 write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler) argument
641 write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/
H A DAbstractNotificationHandler.java57 * @param attachment
65 T attachment) {
76 * @param attachment
83 T attachment) {
94 * @param attachment
101 T attachment) {
112 * @param attachment
119 T attachment) {
130 * @param attachment
137 T attachment) {
64 handleNotification(Notification notification, T attachment) argument
82 handleNotification(AssociationChangeNotification notification, T attachment) argument
100 handleNotification(PeerAddressChangeNotification notification, T attachment) argument
118 handleNotification(SendFailedNotification notification, T attachment) argument
136 handleNotification(ShutdownNotification notification, T attachment) argument
[all...]
H A DNotificationHandler.java36 * <P> Additionally, an attachment object can be attached to the {@code receive}
38 * attachment is important for cases where a <i>state-less</i> {@code
59 * @param attachment
64 HandlerResult handleNotification(Notification notification, T attachment); argument
H A DSctpChannel.java758 * @param attachment
795 T attachment,
794 receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) argument
H A DSctpMultiChannel.java573 * @param attachment
614 T attachment,
613 receive(ByteBuffer buffer, T attachment, NotificationHandler<T> handler) argument
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/attachment/
H A DAttachmentUnmarshaller.java26 package javax.xml.bind.attachment;
110 * a {@link DataHandler} that represents the MIME attachment.
112 * @throws IllegalArgumentException if the attachment for the given cid is not found.
117 * <p>Retrieve the attachment identified by content-id, <code>cid</code>, as a <tt>byte[]</tt></p>.
123 * @return byte[] representation of attachment identified by cid.
125 * @throws IllegalArgumentException if the attachment for the given cid is not found.
H A DAttachmentMarshaller.java26 package javax.xml.bind.attachment;
63 * <p>Consider MIME content <code>data</code> for optimized binary storage as an attachment.
93 * binary data should be inlined or optimized as an attachment.
104 * a valid content-id URI (see <a href="http://www.w3.org/TR/xop10/#RFC2387">RFC 2387</a>) that identifies the attachment containing <code>data</code>.
105 * Otherwise, null if the attachment was not added and should instead be inlined in the message.
113 * <p>Consider binary <code>data</code> for optimized binary storage as an attachment.
115 * <p>Since content type is not known, the attachment's MIME content type must be set to "application/octet-stream".</p>
122 * binary data should be inlined or optimized as an attachment.
148 * @return content-id URI, cid, to the attachment containing
182 * <p>Add MIME <code>data</code> as an attachment an
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DSctpChannelImpl.java130 public <T> MessageInfo receive(ByteBuffer dst, T attachment, argument
H A DSctpMultiChannelImpl.java111 public <T> MessageInfo receive(ByteBuffer buffer, T attachment, argument
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DReceive.java298 Notification notification, Object attachment) {
305 AssociationChangeNotification notification, Object attachment) {
334 ShutdownNotification notification, Object attachment) {
297 handleNotification( Notification notification, Object attachment) argument
304 handleNotification( AssociationChangeNotification notification, Object attachment) argument
333 handleNotification( ShutdownNotification notification, Object attachment) argument
H A DSend.java419 Notification notification, Void attachment) {
426 AssociationChangeNotification notification, Void attachment) {
418 handleNotification( Notification notification, Void attachment) argument
425 handleNotification( AssociationChangeNotification notification, Void attachment) argument
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DBranch.java239 AssociationChangeNotification notification, Object attachment) {
257 ShutdownNotification notification, Object attachment) {
238 handleNotification( AssociationChangeNotification notification, Object attachment) argument
256 handleNotification( ShutdownNotification notification, Object attachment) argument
H A DSocketOptionTests.java241 AssociationChangeNotification notification, Object attachment) {
240 handleNotification( AssociationChangeNotification notification, Object attachment) argument

Completed in 103 milliseconds

12