|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.AbstractWriter<java.net.SocketAddress>
org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter
org.glassfish.grizzly.nio.transport.UDPNIOAsyncQueueWriter
public final class UDPNIOAsyncQueueWriter
The UDP transport AsyncQueueWriter implementation, based on
the Java NIO
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.grizzly.asyncqueue.AsyncQueueWriter |
|---|
AsyncQueueWriter.Reentrant |
| Nested classes/interfaces inherited from interface org.glassfish.grizzly.asyncqueue.AsyncQueue |
|---|
AsyncQueue.AsyncResult |
| Field Summary |
|---|
| Fields inherited from class org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter |
|---|
EMPTY_RECORD_SPACE_VALUE, maxPendingBytes, maxWriteReentrants, transport |
| Fields inherited from interface org.glassfish.grizzly.asyncqueue.AsyncQueueWriter |
|---|
AUTO_SIZE, UNLIMITED_SIZE |
| Fields inherited from interface org.glassfish.grizzly.asyncqueue.AsyncQueue |
|---|
EXPECTING_MORE_OPTION |
| Constructor Summary | |
|---|---|
UDPNIOAsyncQueueWriter(NIOTransport transport)
|
|
| Method Summary | |
|---|---|
protected void |
onReadyToWrite(NIOConnection connection)
|
protected long |
write0(NIOConnection connection,
AsyncWriteQueueRecord queueRecord)
|
| 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 org.glassfish.grizzly.AbstractWriter |
|---|
write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.grizzly.Writer |
|---|
write, write, write, write |
| Constructor Detail |
|---|
public UDPNIOAsyncQueueWriter(NIOTransport transport)
| Method Detail |
|---|
protected long write0(NIOConnection connection,
AsyncWriteQueueRecord queueRecord)
throws java.io.IOException
write0 in class AbstractNIOAsyncQueueWriterjava.io.IOException
protected final void onReadyToWrite(NIOConnection connection)
throws java.io.IOException
onReadyToWrite in class AbstractNIOAsyncQueueWriterjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||