org.entityfs.support.io
Class GatheringByteChannelProxy<T extends GatheringByteChannel>
java.lang.Object
org.entityfs.support.lang.ObjectProxySupport<T>
org.entityfs.support.io.ChannelProxy<T>
org.entityfs.support.io.WritableByteChannelProxy<T>
org.entityfs.support.io.GatheringByteChannelProxy<T>
- All Implemented Interfaces:
- Closeable, Channel, GatheringByteChannel, WritableByteChannel
public abstract class GatheringByteChannelProxy<T extends GatheringByteChannel>
- extends WritableByteChannelProxy<T>
- implements GatheringByteChannel
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
GatheringByteChannelProxy
protected GatheringByteChannelProxy(T proxied)
write
public long write(ByteBuffer[] srcs)
throws IOException
- Specified by:
write
in interface GatheringByteChannel
- Throws:
IOException
write
public long write(ByteBuffer[] srcs,
int offset,
int length)
throws IOException
- Specified by:
write
in interface GatheringByteChannel
- Throws:
IOException