org.glassfish.grizzly.nio.transport
Class UDPNIOAsyncQueueWriter
java.lang.Object
org.glassfish.grizzly.AbstractWriter<SocketAddress>
org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter
org.glassfish.grizzly.nio.transport.UDPNIOAsyncQueueWriter
- All Implemented Interfaces:
- AsyncQueue, AsyncQueueWriter<SocketAddress>, Writer<SocketAddress>
public final class UDPNIOAsyncQueueWriter
- extends AbstractNIOAsyncQueueWriter
The UDP transport AsyncQueueWriter implementation, based on
the Java NIO
- Author:
- Alexey Stashok
| Methods inherited from class org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter |
aggregate, canWrite, close, createRecord, getMaxPendingBytesPerConnection, getMaxWriteReentrants, getWriteReentrant, isAllowDirectWrite, isMaxReentrantsReached, isReady, notifyWritePossible, offerToTaskQueue, onClose, onWriteFailure, processAsync, setAllowDirectWrite, setMaxPendingBytesPerConnection, setMaxWriteReentrants, write, write, writeQueueRecord |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDPNIOAsyncQueueWriter
public UDPNIOAsyncQueueWriter(NIOTransport transport)
write0
protected long write0(NIOConnection connection,
AsyncWriteQueueRecord queueRecord)
throws IOException
- Specified by:
write0 in class AbstractNIOAsyncQueueWriter
- Throws:
IOException
onReadyToWrite
protected final void onReadyToWrite(NIOConnection connection)
throws IOException
- Specified by:
onReadyToWrite in class AbstractNIOAsyncQueueWriter
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.