Package org.xnio.conduits
Class ConduitWritableByteChannel
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:
writein interfaceWritableByteChannel- Throws:
IOException
-
isOpen
public boolean isOpen() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-