| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | awaitWritable(long
the time to wait time, TimeUnit the time unit timeUnit)Block until this conduit becomes writable again, or until the timeout expires. |
| public boolean | Returns: true if everything is flushed, false otherwiseFlush out any unwritten, buffered output. |
| public XnioIoThread | Returns: the thread, ornull if none is configured or availableGet the write thread for this conduit. |
| public boolean | Returns: true if write notifications are enabledDetermine whether write notifications are currently enabled. |
| public boolean | Returns: true if writes are fully shut down, false otherwiseDetermine whether writes have been fully shut down on this conduit. |
| public void | resumeWrites()
Indicate that the conduit's |
| public void | setWriteReadyHandler(WriteReadyHandler
the filter to receive readiness notifications handler)Set the handler which should receive readiness notifications. |
| public void | |
| public void | |
| public void | |
| public void | wakeupWrites()
Indicate that the conduit's |
| awaitWritable | back to summary |
|---|---|
| public void awaitWritable() throws IOException Block until this channel becomes writable again. This method may return spuriously before the channel becomes writable.
| |
| awaitWritable | back to summary |
|---|---|
| public void awaitWritable(long time, TimeUnit timeUnit) throws IOException 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 Flush out any unwritten, buffered output.
| |
| getWriteThread | back to summary |
|---|---|
| public XnioIoThread getWriteThread() Get the write thread for this conduit.
| |
| isWriteResumed | back to summary |
|---|---|
| public boolean isWriteResumed() Determine whether write notifications are currently enabled.
| |
| isWriteShutdown | back to summary |
|---|---|
| public boolean isWriteShutdown() Determine whether writes have been fully shut down on this conduit.
| |
| resumeWrites | back to summary |
|---|---|
| public void resumeWrites() Indicate that the conduit's | |
| setWriteReadyHandler | back to summary |
|---|---|
| public void setWriteReadyHandler(WriteReadyHandler handler) 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() Indicate that calling the conduit's | |
| terminateWrites | back to summary |
|---|---|
| public void terminateWrites() throws IOException Signal that no more write data is forthcoming. The conduit must be | |
| truncateWrites | back to summary |
|---|---|
| public void truncateWrites() throws IOException 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() Indicate that the conduit's | |