public final class FinishableStreamSinkConduit
extends org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>
| Constructor | Description |
|---|---|
FinishableStreamSinkConduit(org.xnio.conduits.StreamSinkConduit delegate,
ConduitListener<? super FinishableStreamSinkConduit> finishListener) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
flush() |
|
void |
terminateWrites() |
|
void |
truncateWrites() |
|
int |
writeFinal(ByteBuffer src) |
|
long |
writeFinal(ByteBuffer[] srcs,
int offset,
int length) |
awaitWritable, awaitWritable, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, wakeupWritestransferFrom, transferFrom, write, writepublic FinishableStreamSinkConduit(org.xnio.conduits.StreamSinkConduit delegate,
ConduitListener<? super FinishableStreamSinkConduit> finishListener)
public int writeFinal(ByteBuffer src) throws IOException
writeFinal in class org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic long writeFinal(ByteBuffer[] srcs, int offset, int length) throws IOException
writeFinal in class org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic void terminateWrites()
throws IOException
terminateWrites in class org.xnio.conduits.AbstractSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic void truncateWrites()
throws IOException
truncateWrites in class org.xnio.conduits.AbstractSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic boolean flush()
throws IOException
flush in class org.xnio.conduits.AbstractSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionCopyright © 2018. All rights reserved.