Top Description Constructors Methods
org.glassfish.grizzly

public abstract Class AbstractReader<L>

extends Object
implements Reader<L>
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.Reader
Known Direct Subclasses
org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader, org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorReader
Imports
org.glassfish.grizzly.impl.FutureImpl, org.glassfish.grizzly.utils.Futures

Abstract class, which provides transitive dependencies for overloaded Reader methods.
Author
Alexey Stashok

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final GrizzlyFuture<ReadResult<Buffer, L>>
read(final Connection<L> connection)

Implements org.glassfish.grizzly.Reader.read.

Method reads data.

public final GrizzlyFuture<ReadResult<Buffer, L>>
read(final Connection<L> connection, final Buffer buffer)

Implements org.glassfish.grizzly.Reader.read.

Method reads data to the buffer.

public final void
read(final Connection<L> connection, final Buffer buffer, final CompletionHandler<ReadResult<Buffer, L>> completionHandler)

Implements org.glassfish.grizzly.Reader.read.

Method reads data to the buffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractReaderback to summary
public AbstractReader()

Method Detail

readback to summary
public final GrizzlyFuture<ReadResult<Buffer, L>> read(final Connection<L> connection)

Implements org.glassfish.grizzly.Reader.read.

Doc from org.glassfish.grizzly.Reader.read.

Method reads data.

Annotations
@Override
readback to summary
public final GrizzlyFuture<ReadResult<Buffer, L>> read(final Connection<L> connection, final Buffer buffer)

Implements org.glassfish.grizzly.Reader.read.

Doc from org.glassfish.grizzly.Reader.read.

Method reads data to the buffer.

Annotations
@Override
readback to summary
public final void read(final Connection<L> connection, final Buffer buffer, final CompletionHandler<ReadResult<Buffer, L>> completionHandler)

Implements org.glassfish.grizzly.Reader.read.

Doc from org.glassfish.grizzly.Reader.read.

Method reads data to the buffer.

Annotations
@Override