Uses of Interface
org.glassfish.grizzly.GrizzlyFuture

Packages that use GrizzlyFuture
org.glassfish.grizzly   
org.glassfish.grizzly.impl   
org.glassfish.grizzly.nio   
org.glassfish.grizzly.nio.transport   
org.glassfish.grizzly.streams   
 

Uses of GrizzlyFuture in org.glassfish.grizzly
 

Methods in org.glassfish.grizzly that return GrizzlyFuture
 GrizzlyFuture<Connection> Connection.close()
          Close the Connection
 GrizzlyFuture<E> Closeable.close()
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(java.net.SocketAddress remoteAddress)
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)
           
 GrizzlyFuture<Connection> AbstractSocketConnectorHandler.connect(java.lang.String host, int port)
           
<M> GrizzlyFuture<ReadResult<M,L>>
Readable.read()
          Method reads data.
 GrizzlyFuture<ReadResult<Buffer,L>> Reader.read(Connection connection)
          Method reads data.
 GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection connection)
          Method reads data.
 GrizzlyFuture<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer)
          Method reads data to the buffer.
 GrizzlyFuture<ReadResult<Buffer,L>> AbstractReader.read(Connection connection, Buffer buffer)
          Method reads data to the buffer.
 GrizzlyFuture<WriteResult<WritableMessage,L>> Writer.write(Connection connection, L dstAddress, WritableMessage message)
          Method writes the WritableMessage to the specific address.
 GrizzlyFuture<WriteResult<WritableMessage,L>> AbstractWriter.write(Connection connection, L dstAddress, WritableMessage message)
          Method writes the WritableMessage to the specific address.
 GrizzlyFuture<WriteResult<WritableMessage,L>> Writer.write(Connection connection, WritableMessage message)
          Method writes the WritableMessage.
 GrizzlyFuture<WriteResult<WritableMessage,L>> AbstractWriter.write(Connection connection, WritableMessage message)
          Method writes the WritableMessage.
<M> GrizzlyFuture<WriteResult<M,L>>
Writable.write(M message)
          Method writes the buffer.
 

Uses of GrizzlyFuture in org.glassfish.grizzly.impl
 

Subinterfaces of GrizzlyFuture in org.glassfish.grizzly.impl
 interface FutureImpl<R>
          Future interface, which has full control over the state.
 

Classes in org.glassfish.grizzly.impl that implement GrizzlyFuture
 class ReadyFutureImpl<R>
          Future implementation with the specific unmodifiable result.
 class SafeFutureImpl<R>
          Safe FutureImpl implementation.
 class UnsafeFutureImpl<R>
          Simple thread-unsafe Future implementation.
 

Uses of GrizzlyFuture in org.glassfish.grizzly.nio
 

Methods in org.glassfish.grizzly.nio that return GrizzlyFuture
 GrizzlyFuture<Connection> NIOConnection.close()
           
<M> GrizzlyFuture<ReadResult<M,java.net.SocketAddress>>
NIOConnection.read()
           
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(java.nio.channels.SelectableChannel channel)
           
 GrizzlyFuture<RegisterChannelResult> AbstractNIOConnectionDistributor.registerChannelAsync(java.nio.channels.SelectableChannel channel)
           
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(java.nio.channels.SelectableChannel channel, int interestOps)
           
 GrizzlyFuture<RegisterChannelResult> AbstractNIOConnectionDistributor.registerChannelAsync(java.nio.channels.SelectableChannel channel, int interestOps)
           
 GrizzlyFuture<RegisterChannelResult> NIOChannelDistributor.registerChannelAsync(java.nio.channels.SelectableChannel channel, int interestOps, java.lang.Object attachment)
           
 GrizzlyFuture<RegisterChannelResult> AbstractNIOConnectionDistributor.registerChannelAsync(java.nio.channels.SelectableChannel channel, int interestOps, java.lang.Object attachment)
           
<M> GrizzlyFuture<WriteResult<M,java.net.SocketAddress>>
NIOConnection.write(M message)
           
 

Uses of GrizzlyFuture in org.glassfish.grizzly.nio.transport
 

Methods in org.glassfish.grizzly.nio.transport that return GrizzlyFuture
 GrizzlyFuture<Connection> TCPNIOServerConnection.accept()
          Accept a Connection.
protected  GrizzlyFuture<Connection> TCPNIOServerConnection.acceptAsync()
          Asynchronously accept a Connection
 GrizzlyFuture<Connection> UDPNIOTransport.connect()
          Creates non-connected UDP Connection.
 GrizzlyFuture<Connection> UDPNIOConnectorHandler.connect()
          Creates non-connected UDP Connection.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(java.net.SocketAddress remoteAddress)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(java.net.SocketAddress remoteAddress)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 GrizzlyFuture<Connection> UDPNIOTransport.connect(java.lang.String host, int port)
          Creates, initializes and connects socket to the specific remote host and port and returns Connection, representing socket.
 GrizzlyFuture<Connection> TCPNIOTransport.connect(java.lang.String host, int port)
          Creates, initializes and connects socket to the specific remote host and port and returns Connection, representing socket.
 GrizzlyFuture<java.lang.Integer> DefaultStreamWriter.flush(CompletionHandler<java.lang.Integer> completionHandler)
           
protected  GrizzlyFuture<java.lang.Integer> DefaultStreamWriter.Output.flush0(Buffer buffer, CompletionHandler<java.lang.Integer> completionHandler)
           
 

Uses of GrizzlyFuture in org.glassfish.grizzly.streams
 

Fields in org.glassfish.grizzly.streams declared as GrizzlyFuture
protected static GrizzlyFuture<java.lang.Integer> BufferedOutput.ZERO_READY_FUTURE
           
protected static GrizzlyFuture<java.lang.Integer> AbstractStreamWriter.ZERO_READY_FUTURE
           
 

Methods in org.glassfish.grizzly.streams that return GrizzlyFuture
 GrizzlyFuture<java.lang.Integer> StreamWriter.close(CompletionHandler<java.lang.Integer> completionHandler)
          Close the StreamWriter and make sure all data was flushed.
 GrizzlyFuture<java.lang.Integer> StreamOutput.close(CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> Output.close(CompletionHandler<java.lang.Integer> completionHandler)
          Close the StreamWriter and make sure all data was flushed.
 GrizzlyFuture<java.lang.Integer> BufferedOutput.close(CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> AbstractStreamWriter.close(CompletionHandler<java.lang.Integer> completionHandler)
          Close the StreamWriter and make sure all data was flushed.
<E> GrizzlyFuture<E>
StreamReader.decode(Transformer<Stream,E> decoder)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<E>
AbstractStreamReader.decode(Transformer<Stream,E> decoder)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<E>
StreamReader.decode(Transformer<Stream,E> decoder, CompletionHandler<E> completionHandler)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<E>
AbstractStreamReader.decode(Transformer<Stream,E> decoder, CompletionHandler<E> completionHandler)
          Read and decode data from the StreamReader
<E> GrizzlyFuture<Stream>
StreamWriter.encode(Transformer<E,Buffer> encoder, E object)
           
<E> GrizzlyFuture<Stream>
AbstractStreamWriter.encode(Transformer<E,Buffer> encoder, E object)
          
<E> GrizzlyFuture<Stream>
StreamWriter.encode(Transformer<E,Buffer> encoder, E object, CompletionHandler<Stream> completionHandler)
           
<E> GrizzlyFuture<Stream>
AbstractStreamWriter.encode(Transformer<E,Buffer> encoder, E object, CompletionHandler<Stream> completionHandler)
          
 GrizzlyFuture<java.lang.Integer> StreamWriter.flush()
          Make sure that all data that has been written is flushed from the stream to its destination.
 GrizzlyFuture<java.lang.Integer> AbstractStreamWriter.flush()
          Cause the overflow handler to be called even if buffer is not full.
 GrizzlyFuture<java.lang.Integer> StreamWriter.flush(CompletionHandler<java.lang.Integer> completionHandler)
          Make sure that all data that has been written is flushed from the stream to its destination.
 GrizzlyFuture<java.lang.Integer> StreamOutput.flush(CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> Output.flush(CompletionHandler<java.lang.Integer> completionHandler)
          Make sure that all data that has been written is flushed from the stream to its destination.
 GrizzlyFuture<java.lang.Integer> BufferedOutput.flush(CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> AbstractStreamWriter.flush(CompletionHandler<java.lang.Integer> completionHandler)
          Cause the overflow handler to be called even if buffer is not full.
protected  GrizzlyFuture<java.lang.Integer> TransformerOutput.flush0(Buffer buffer, CompletionHandler<java.lang.Integer> completionHandler)
           
protected abstract  GrizzlyFuture<java.lang.Integer> BufferedOutput.flush0(Buffer buffer, CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> StreamReader.notifyAvailable(int size)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<java.lang.Integer> AbstractStreamReader.notifyAvailable(int size)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<java.lang.Integer> StreamReader.notifyAvailable(int size, CompletionHandler<java.lang.Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<java.lang.Integer> AbstractStreamReader.notifyAvailable(int size, CompletionHandler<java.lang.Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader has required amount of bytes available for reading reading.
 GrizzlyFuture<java.lang.Integer> StreamReader.notifyCondition(Condition condition)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 GrizzlyFuture<java.lang.Integer> AbstractStreamReader.notifyCondition(Condition condition)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 GrizzlyFuture<java.lang.Integer> StreamReader.notifyCondition(Condition condition, CompletionHandler<java.lang.Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 GrizzlyFuture<java.lang.Integer> StreamInput.notifyCondition(Condition condition, CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> Input.notifyCondition(Condition condition, CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> BufferedInput.notifyCondition(Condition condition, CompletionHandler<java.lang.Integer> completionHandler)
           
 GrizzlyFuture<java.lang.Integer> AbstractStreamReader.notifyCondition(Condition condition, CompletionHandler<java.lang.Integer> completionHandler)
          Method returns Future, using which it's possible check if StreamReader meets specific Condition.
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.