Package org.apache.felix.gogo.runtime
Class Closure.WritableByteChannelImpl
- java.lang.Object
-
- java.nio.channels.spi.AbstractInterruptibleChannel
-
- org.apache.felix.gogo.runtime.Closure.WritableByteChannelImpl
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.nio.channels.Channel,java.nio.channels.InterruptibleChannel,java.nio.channels.WritableByteChannel
- Enclosing class:
- Closure
private static class Closure.WritableByteChannelImpl extends java.nio.channels.spi.AbstractInterruptibleChannel implements java.nio.channels.WritableByteChannel
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.channels.WritableByteChannelout
-
Constructor Summary
Constructors Constructor Description WritableByteChannelImpl(java.nio.channels.WritableByteChannel out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidimplCloseChannel()intwrite(java.nio.ByteBuffer src)-
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
-
-
-
Method Detail
-
write
public int write(java.nio.ByteBuffer src) throws java.io.IOException- Specified by:
writein interfacejava.nio.channels.WritableByteChannel- Throws:
java.io.IOException
-
implCloseChannel
protected void implCloseChannel()
- Specified by:
implCloseChannelin classjava.nio.channels.spi.AbstractInterruptibleChannel
-
-