Uses of Interface
com.sun.sgs.nio.channels.IoFuture

Packages that use IoFuture
com.sun.sgs.nio.channels Defines asynchronous channels that are connected to a stream-oriented connecting or listening socket, or a datagram-oriented socket. 
 

Uses of IoFuture in com.sun.sgs.nio.channels
 

Methods in com.sun.sgs.nio.channels that return IoFuture
abstract
<A> IoFuture<AsynchronousSocketChannel,A>
AsynchronousServerSocketChannel.accept(A attachment, CompletionHandler<AsynchronousSocketChannel,? super A> handler)
          Accepts a connection.
<A> IoFuture<AsynchronousSocketChannel,A>
AsynchronousServerSocketChannel.accept(CompletionHandler<AsynchronousSocketChannel,? super A> handler)
          Accepts a connection.
abstract
<A> IoFuture<Void,A>
AsynchronousSocketChannel.connect(SocketAddress remote, A attachment, CompletionHandler<Void,? super A> handler)
          Connects this channel.
abstract
<A> IoFuture<Void,A>
AsynchronousDatagramChannel.connect(SocketAddress remote, A attachment, CompletionHandler<Void,? super A> handler)
          Connects this channel.
<A> IoFuture<Void,A>
AsynchronousSocketChannel.connect(SocketAddress remote, CompletionHandler<Void,? super A> handler)
          Connects this channel.
<A> IoFuture<Void,A>
AsynchronousDatagramChannel.connect(SocketAddress remote, CompletionHandler<Void,? super A> handler)
          Connects this channel.
abstract
<A> IoFuture<Void,A>
AsynchronousDatagramChannel.disconnect(A attachment, CompletionHandler<Void,? super A> handler)
          Disconnects this channel.
<A> IoFuture<Void,A>
AsynchronousDatagramChannel.disconnect(CompletionHandler<Void,? super A> handler)
          Disconnects this channel.
abstract
<A> IoFuture<Long,A>
AsynchronousSocketChannel.read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
          Reads a sequence of bytes from this channel into a subsequence of the given buffers.
<A> IoFuture<Integer,A>
AsynchronousSocketChannel.read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
          Reads a sequence of bytes from this channel into the given buffer.
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
          Receives a datagram via this channel.
<A> IoFuture<Integer,A>
AsynchronousByteChannel.read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)
          Reads a sequence of bytes from this channel into the given buffer.
<A> IoFuture<Integer,A>
AsynchronousSocketChannel.read(ByteBuffer dst, CompletionHandler<Integer,? super A> handler)
          Reads a sequence of bytes from this channel into the given buffer.
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.read(ByteBuffer dst, CompletionHandler<Integer,? super A> handler)
          Receives a datagram via this channel.
<A> IoFuture<Integer,A>
AsynchronousByteChannel.read(ByteBuffer dst, CompletionHandler<Integer,? super A> handler)
          Reads a sequence of bytes from this channel into the given buffer.
abstract
<A> IoFuture<Integer,A>
AsynchronousSocketChannel.read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
          Reads a sequence of bytes from this channel into the given buffer.
abstract
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
          Receives a datagram via this channel.
<A> IoFuture<SocketAddress,A>
AsynchronousDatagramChannel.receive(ByteBuffer dst, A attachment, CompletionHandler<SocketAddress,? super A> handler)
          Receives a datagram via this channel.
<A> IoFuture<SocketAddress,A>
AsynchronousDatagramChannel.receive(ByteBuffer dst, CompletionHandler<SocketAddress,? super A> handler)
          Receives a datagram via this channel.
abstract
<A> IoFuture<SocketAddress,A>
AsynchronousDatagramChannel.receive(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<SocketAddress,? super A> handler)
          Receives a datagram via this channel.
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.send(ByteBuffer src, SocketAddress target, A attachment, CompletionHandler<Integer,? super A> handler)
          Sends a datagram via this channel.
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.send(ByteBuffer src, SocketAddress target, CompletionHandler<Integer,? super A> handler)
          Sends a datagram via this channel.
abstract
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.send(ByteBuffer src, SocketAddress target, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
          Sends a datagram via this channel.
abstract
<A> IoFuture<Long,A>
AsynchronousSocketChannel.write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)
          Writes a sequence of bytes to this channel from a subsequence of the given buffers.
<A> IoFuture<Integer,A>
AsynchronousSocketChannel.write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)
          Writes a sequence of bytes to this channel from the given buffer.
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)
          Writes a datagram to this channel.
<A> IoFuture<Integer,A>
AsynchronousByteChannel.write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)
          Writes a sequence of bytes to this channel from the given buffer.
<A> IoFuture<Integer,A>
AsynchronousSocketChannel.write(ByteBuffer src, CompletionHandler<Integer,? super A> handler)
          Writes a sequence of bytes to this channel from the given buffer.
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.write(ByteBuffer src, CompletionHandler<Integer,? super A> handler)
          Writes a datagram to this channel.
<A> IoFuture<Integer,A>
AsynchronousByteChannel.write(ByteBuffer src, CompletionHandler<Integer,? super A> handler)
          Writes a sequence of bytes to this channel from the given buffer.
abstract
<A> IoFuture<Integer,A>
AsynchronousSocketChannel.write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
          Writes a sequence of bytes to this channel from the given buffer.
abstract
<A> IoFuture<Integer,A>
AsynchronousDatagramChannel.write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)
          Writes a datagram to this channel.
 

Methods in com.sun.sgs.nio.channels with parameters of type IoFuture
 void CompletionHandler.completed(IoFuture<R,A> result)
          Invoked when an operation has completed.
 


RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved