| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | awaitWritable()
Implements org. Block until this channel becomes writable again. |
| public void | awaitWritable(final long
the time to wait time, final TimeUnit the time unit timeUnit)Implements org. Block until this conduit becomes writable again, or until the timeout expires. |
| public boolean | |
| public XnioIoThread | getWriteThread()
Implements org. Get the write thread for this conduit. |
| public boolean | isWriteResumed()
Implements org. Determine whether write notifications are currently enabled. |
| public boolean | isWriteShutdown()
Implements org. Determine whether writes have been fully shut down on this conduit. |
| public void | resumeWrites()
Implements org. Indicate that the conduit's |
| public void | setWriteReadyHandler(final WriteReadyHandler
the filter to receive readiness notifications handler)Implements org. Set the handler which should receive readiness notifications. |
| public void | suspendWrites()
Implements org. Indicate that calling the conduit's |
| public void | terminateWrites()
Implements org. Signal that no more write data is forthcoming. |
| public void | truncateWrites()
Implements org. Terminate writes and discard any outstanding write data. |
| public void | wakeupWrites()
Implements org. Indicate that the conduit's |
| AbstractSinkConduit | back to summary |
|---|---|
| protected AbstractSinkConduit(final D next) Construct a new instance.
| |
| awaitWritable | back to summary |
|---|---|
| public void awaitWritable() throws IOException Implements org. Doc from org. Block until this channel becomes writable again. This method may return spuriously before the channel becomes writable.
| |
| awaitWritable | back to summary |
|---|---|
| public void awaitWritable(final long time, final TimeUnit timeUnit) throws IOException Implements org. Doc from org. Block until this conduit becomes writable again, or until the timeout expires. This method may return spuriously before the conduit becomes writable or the timeout expires.
| |
| flush | back to summary |
|---|---|
| public boolean flush() throws IOException Implements org. Doc from org. Flush out any unwritten, buffered output.
| |
| getWriteThread | back to summary |
|---|---|
| public XnioIoThread getWriteThread() Implements org. Doc from org. Get the write thread for this conduit.
| |
| isWriteResumed | back to summary |
|---|---|
| public boolean isWriteResumed() Implements org. Doc from org. Determine whether write notifications are currently enabled.
| |
| isWriteShutdown | back to summary |
|---|---|
| public boolean isWriteShutdown() Implements org. Doc from org. Determine whether writes have been fully shut down on this conduit.
| |
| resumeWrites | back to summary |
|---|---|
| public void resumeWrites() Implements org. Doc from org. Indicate that the conduit's | |
| setWriteReadyHandler | back to summary |
|---|---|
| public void setWriteReadyHandler(final WriteReadyHandler handler) Implements org. Doc from org. Set the handler which should receive readiness notifications. A filter may pass this invocation on to the filter it wraps, or it may substitute itself.
| |
| suspendWrites | back to summary |
|---|---|
| public void suspendWrites() Implements org. Doc from org. Indicate that calling the conduit's | |
| terminateWrites | back to summary |
|---|---|
| public void terminateWrites() throws IOException Implements org. Doc from org. Signal that no more write data is forthcoming. The conduit must be | |
| truncateWrites | back to summary |
|---|---|
| public void truncateWrites() throws IOException Implements org. Doc from org. Terminate writes and discard any outstanding write data. The conduit is terminated and flushed regardless of the outcome of this method.
| |
| wakeupWrites | back to summary |
|---|---|
| public void wakeupWrites() Implements org. Doc from org. Indicate that the conduit's | |