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

public final Class UDPNIOAsyncQueueWriter

extends AbstractNIOAsyncQueueWriter
Class Inheritance
Imports
java.io.IOException, java.net.SocketAddress, org.glassfish.grizzly.IOEvent, org.glassfish.grizzly.asyncqueue.AsyncQueueWriter, .AsyncWriteQueueRecord, .RecordWriteResult, .WritableMessage, org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter, .NIOConnection, .NIOTransport

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

Field Summary

Inherited from org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter:
maxPendingBytesmaxWriteReentrantstransport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected RecordWriteResult<K, L>
Inherited from org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter:
aggregatecanWritecanWriteclosecreateRecordgetMaxPendingBytesPerConnectionisAllowDirectWriteisReadynotifyWritePossiblenotifyWritePossibleonCloseonWriteFailureprocessAsyncsetAllowDirectWritesetMaxPendingBytesPerConnectionwritewritewrite

Constructor Detail

UDPNIOAsyncQueueWriterback to summary
public UDPNIOAsyncQueueWriter(final NIOTransport transport)

Method Detail

onReadyToWriteback to summary
protected void onReadyToWrite(final NIOConnection connection) throws IOException

Implements abstract org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.onReadyToWrite.

Annotations
@Override
write0back to summary
protected RecordWriteResult<K, L> write0(final NIOConnection connection, final AsyncWriteQueueRecord queueRecord) throws IOException

Implements abstract org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write0.

Annotations
@Override
@SuppressWarnings:unchecked