Top Description Fields Constructors Methods
org.glassfish.grizzly.nio.transport

public final Class UDPNIOAsyncQueueReader

extends AbstractNIOAsyncQueueReader
Class Inheritance
Imports
java.io.IOException, java.net.SocketAddress, org.glassfish.grizzly.Buffer, .CompletionHandler, .Connection, .IOEvent, .Interceptor, .ReadResult, org.glassfish.grizzly.asyncqueue.AsyncQueueReader, .AsyncReadQueueRecord, org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader, .NIOConnection, .NIOTransport

The UDP transport AsyncQueueReader implementation, based on the Java NIO
Author
Alexey Stashok

Field Summary

Inherited from org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader:
DEFAULT_BUFFER_SIZEdefaultBufferSizetransport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
addRecord(Connection<L> connection, Buffer buffer, CompletionHandler<E> completionHandler, Interceptor<ReadResult<K, L>> interceptor)

protected void
protected int
Inherited from org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader:
closedoReadisReadyonCloseonReadFailureprocessAsyncread

Constructor Detail

UDPNIOAsyncQueueReaderback to summary
public UDPNIOAsyncQueueReader(NIOTransport transport)

Method Detail

addRecordback to summary
protected void addRecord(Connection<L> connection, Buffer buffer, CompletionHandler<E> completionHandler, Interceptor<ReadResult<K, L>> interceptor)
onReadyToReadback to summary
protected void onReadyToRead(Connection<L> connection) throws IOException

Implements abstract org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader.onReadyToRead.

Annotations
@Override
read0back to summary
protected int read0(Connection<L> connection, Buffer buffer, ReadResult<Buffer, SocketAddress> currentResult) throws IOException

Implements abstract org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader.read0.

Annotations
@Override