Package org.xnio.conduits
Class ConduitReadableByteChannel
java.lang.Object
org.xnio.conduits.ConduitReadableByteChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,ReadableByteChannel
A byte channel which wraps a conduit.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new instance. -
Method Summary
-
Constructor Details
-
ConduitReadableByteChannel
Construct a new instance.- Parameters:
conduit- the conduit to delegate to
-
-
Method Details
-
read
- Specified by:
readin interfaceReadableByteChannel- Throws:
IOException
-
isOpen
public boolean isOpen() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-