public class BrokenStreamSourceConduit
extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>
| Constructor and Description |
|---|
BrokenStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next,
IOException exception)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(ByteBuffer dst) |
long |
read(ByteBuffer[] dsts,
int offset,
int length) |
long |
transferTo(long count,
ByteBuffer throughBuffer,
org.xnio.channels.StreamSinkChannel target) |
long |
transferTo(long position,
long count,
FileChannel target) |
awaitReadable, awaitReadable, getReadThread, isReadResumed, isReadShutdown, resumeReads, setReadReadyHandler, suspendReads, terminateReads, wakeupReadsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BrokenStreamSourceConduit(org.xnio.conduits.StreamSourceConduit next,
IOException exception)
next - the delegate conduit to setexception - public long transferTo(long position,
long count,
FileChannel target)
throws IOException
transferTo in interface org.xnio.conduits.StreamSourceConduittransferTo 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 interface org.xnio.conduits.StreamSourceConduittransferTo in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read in interface org.xnio.conduits.StreamSourceConduitread in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionpublic int read(ByteBuffer dst) throws IOException
read in interface org.xnio.conduits.StreamSourceConduitread in class org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit>IOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.