public class DebuggingStreamSinkConduit
extends org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>
Obviously this should not be used in production.
| Constructor | Description |
|---|---|
DebuggingStreamSinkConduit(org.xnio.conduits.StreamSinkConduit next) |
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
dump() |
|
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[] dsts,
int offs,
int len) |
|
int |
writeFinal(ByteBuffer src) |
|
long |
writeFinal(ByteBuffer[] srcs,
int offset,
int length) |
awaitWritable, awaitWritable, flush, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, terminateWrites, truncateWrites, wakeupWritespublic DebuggingStreamSinkConduit(org.xnio.conduits.StreamSinkConduit next)
next - the delegate conduit to setpublic int write(ByteBuffer src) throws IOException
write in class org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic long write(ByteBuffer[] dsts, int offs, int len) throws IOException
write in class org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic long transferFrom(FileChannel src, long position, long count) throws IOException
transferFrom in class org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic long transferFrom(org.xnio.channels.StreamSourceChannel source,
long count,
ByteBuffer throughBuffer)
throws IOException
transferFrom in class org.xnio.conduits.AbstractStreamSinkConduit<org.xnio.conduits.StreamSinkConduit>IOExceptionpublic 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 static void dump()
Copyright © 2018. All rights reserved.