org.xnio.conduits.Conduit, org.xnio.conduits.SourceConduit, org.xnio.conduits.StreamSourceConduitpublic 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(java.nio.ByteBuffer dst) |
|
long |
read(java.nio.ByteBuffer[] dsts,
int offs,
int len) |
|
long |
transferTo(long position,
long count,
java.nio.channels.FileChannel target) |
|
long |
transferTo(long count,
java.nio.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,
java.nio.channels.FileChannel target)
throws java.io.IOException
transferTo in interface org.xnio.conduits.StreamSourceConduittransferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>java.io.IOExceptionpublic long transferTo(long count,
java.nio.ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target)
throws java.io.IOException
transferTo in interface org.xnio.conduits.StreamSourceConduittransferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>java.io.IOExceptionpublic int read(java.nio.ByteBuffer dst)
throws java.io.IOException
read in interface org.xnio.conduits.StreamSourceConduitread in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>java.io.IOExceptionpublic long read(java.nio.ByteBuffer[] dsts,
int offs,
int len)
throws java.io.IOException
read in interface org.xnio.conduits.StreamSourceConduitread in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>java.io.IOExceptionpublic static void dump()
Copyright © 2018. All rights reserved.