public final class WriteTimeoutStreamSinkChannel extends DelegatingStreamSinkChannel<WriteTimeoutStreamSinkChannel>
Options.WRITE_TIMEOUTcloseSetter, delegate, writeSetter| Constructor and Description | 
|---|
WriteTimeoutStreamSinkChannel(org.xnio.channels.StreamSinkChannel delegate)  |  
| Modifier and Type | Method and Description | 
|---|---|
void |  close()  |  
<T> T |  setOption(org.xnio.Option<T> option, T value)  |  
void |  shutdownWrites()  |  
long |  transferFrom(FileChannel src, long position, long count)  |  
long |  transferFrom(org.xnio.channels.StreamSourceChannel source, long count, ByteBuffer throughBuffer)  |  
int |  write(ByteBuffer src)  |  
long |  write(ByteBuffer[] srcs, int offset, int length)  |  
int |  writeFinal(ByteBuffer src)  |  
long |  writeFinal(ByteBuffer[] srcs)  |  
long |  writeFinal(ByteBuffer[] srcs, int offset, int length)  |  
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 © 2015 JBoss by Red Hat. All rights reserved.