public class DebuggingStreamSourceConduit
extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
Obviously this should not be used in production.
| Constructor | Description |
|---|---|
DebuggingStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next) |
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
dump() |
|
int |
read(ByteBuffer dst) |
|
long |
read(ByteBuffer[] dsts,
int offs,
int len) |
|
long |
transferTo(long position,
long count,
FileChannel target) |
|
long |
transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target) |
awaitReadable, awaitReadable, getReadThread, isReadResumed, isReadShutdown, resumeReads, setReadReadyHandler, suspendReads, terminateReads, wakeupReadspublic DebuggingStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next)
next - the delegate conduit to setpublic long transferTo(long position,
long count,
FileChannel target)
throws IOException
transferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic long transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target)
throws IOException
transferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic int read(ByteBuffer dst) throws IOException
read in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic long read(ByteBuffer[] dsts, int offs, int len) throws IOException
read in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic static void dump()
Copyright © 2018. All rights reserved.