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