public interface StreamChannel extends SuspendableChannel, StreamSinkChannel, StreamSourceChannel, ByteChannel
EMPTY
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends StreamChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends StreamChannel> |
getReadSetter()
Get the setter which can be used to change the read listener for this channel.
|
ChannelListener.Setter<? extends StreamChannel> |
getWriteSetter()
Get the setter which can be used to change the write listener for this channel.
|
transferFrom, transferFrom, writeFinal, writeFinal, writeFinal
awaitWritable, awaitWritable, close, flush, getWriteThread, isOpen, isWriteResumed, resumeWrites, shutdownWrites, suspendWrites, wakeupWrites
transferTo, transferTo
awaitReadable, awaitReadable, getReadThread, isReadResumed, resumeReads, shutdownReads, suspendReads, wakeupReads
getIoThread, getWorker
getOption, setOption, supportsOption
write, write
write
read, read
read
ChannelListener.Setter<? extends StreamChannel> getReadSetter()
getReadSetter
in interface StreamSourceChannel
getReadSetter
in interface SuspendableChannel
getReadSetter
in interface SuspendableReadChannel
ChannelListener.Setter<? extends StreamChannel> getWriteSetter()
getWriteSetter
in interface StreamSinkChannel
getWriteSetter
in interface SuspendableChannel
getWriteSetter
in interface SuspendableWriteChannel
ChannelListener.Setter<? extends StreamChannel> getCloseSetter()
getCloseSetter
in interface CloseableChannel
getCloseSetter
in interface StreamSinkChannel
getCloseSetter
in interface StreamSourceChannel
getCloseSetter
in interface SuspendableChannel
getCloseSetter
in interface SuspendableReadChannel
getCloseSetter
in interface SuspendableWriteChannel
Copyright © 2019 JBoss by Red Hat. All rights reserved.