org.entityfs.support.io
Class ScatteringByteChannelProxy<T extends ScatteringByteChannel>
java.lang.Object
org.entityfs.support.lang.ObjectProxySupport<T>
org.entityfs.support.io.ChannelProxy<T>
org.entityfs.support.io.ReadableByteChannelProxy<T>
org.entityfs.support.io.ScatteringByteChannelProxy<T>
- All Implemented Interfaces:
- Closeable, Channel, ReadableByteChannel, ScatteringByteChannel
public abstract class ScatteringByteChannelProxy<T extends ScatteringByteChannel>
- extends ReadableByteChannelProxy<T>
- implements ScatteringByteChannel
This is a proxy class for GatheringByteChannel
implementations. The
methods in this class delegates to the proxied channel. Inheriting classes
may override the methods they want to change the behavior of.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- entityfs-core
ScatteringByteChannelProxy
protected ScatteringByteChannelProxy(T proxied)
read
public long read(ByteBuffer[] dsts)
throws IOException
- Specified by:
read
in interface ScatteringByteChannel
- Throws:
IOException
read
public long read(ByteBuffer[] dsts,
int off,
int length)
throws IOException
- Specified by:
read
in interface ScatteringByteChannel
- Throws:
IOException