@Deprecated public final class WriteTimeoutStreamSinkChannel extends DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>
Options.WRITE_TIMEOUTcloseSetter, delegate, writeSetter| Constructor and Description |
|---|
WriteTimeoutStreamSinkChannel(org.xnio.channels.StreamSinkChannel delegate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
<T> T |
setOption(org.xnio.Option<T> option,
T value)
Deprecated.
|
void |
shutdownWrites()
Deprecated.
|
long |
transferFrom(FileChannel src,
long position,
long count)
Deprecated.
|
long |
transferFrom(org.xnio.channels.StreamSourceChannel source,
long count,
ByteBuffer throughBuffer)
Deprecated.
|
int |
write(ByteBuffer src)
Deprecated.
|
long |
write(ByteBuffer[] srcs,
int offset,
int length)
Deprecated.
|
int |
writeFinal(ByteBuffer src)
Deprecated.
|
long |
writeFinal(ByteBuffer[] srcs)
Deprecated.
|
long |
writeFinal(ByteBuffer[] srcs,
int offset,
int length)
Deprecated.
|
awaitWritable, awaitWritable, flush, getCloseSetter, getIoThread, getOption, getWorker, getWriteSetter, getWriteThread, isOpen, isWriteResumed, resumeWrites, supportsOption, suspendWrites, wakeupWrites, writepublic WriteTimeoutStreamSinkChannel(org.xnio.channels.StreamSinkChannel delegate)
delegate - The underlying channelpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelwrite in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write in interface GatheringByteChannelwrite in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic int writeFinal(ByteBuffer src) throws IOException
writeFinal in interface org.xnio.channels.StreamSinkChannelwriteFinal in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic long writeFinal(ByteBuffer[] srcs, int offset, int length) throws IOException
writeFinal in interface org.xnio.channels.StreamSinkChannelwriteFinal in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic long writeFinal(ByteBuffer[] srcs) throws IOException
writeFinal in interface org.xnio.channels.StreamSinkChannelwriteFinal in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic long transferFrom(FileChannel src, long position, long count) throws IOException
transferFrom in interface org.xnio.channels.StreamSinkChanneltransferFrom in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic long transferFrom(org.xnio.channels.StreamSourceChannel source,
long count,
ByteBuffer throughBuffer)
throws IOException
transferFrom in interface org.xnio.channels.StreamSinkChanneltransferFrom in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic <T> T setOption(org.xnio.Option<T> option,
T value)
throws IllegalArgumentException,
IOException
setOption in interface org.xnio.channels.ConfigurablesetOption in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IllegalArgumentExceptionIOExceptionpublic void shutdownWrites()
throws IOException
shutdownWrites in interface org.xnio.channels.SuspendableWriteChannelshutdownWrites in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface Channelclose in interface InterruptibleChannelclose in interface org.xnio.channels.CloseableChannelclose in interface org.xnio.channels.SuspendableWriteChannelclose in class DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>IOExceptionCopyright © 2016. All rights reserved.