org.entityfs.support.io
Class ReadableByteChannelProxy<T extends ReadableByteChannel>
java.lang.Object
org.entityfs.support.lang.ObjectProxySupport<T>
org.entityfs.support.io.ChannelProxy<T>
org.entityfs.support.io.ReadableByteChannelProxy<T>
- All Implemented Interfaces:
- Closeable, Channel, ReadableByteChannel
- Direct Known Subclasses:
- LockAwareReadableByteChannel, ScatteringByteChannelAdapter, ScatteringByteChannelProxy
public abstract class ReadableByteChannelProxy<T extends ReadableByteChannel>
- extends ChannelProxy<T>
- implements ReadableByteChannel
This is a proxy for ReadableByteChannel
objects. The methods in this
class delegate all calls to the proxied object. Inheriting classes may
override all methods they want to change the behavior of.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- entityfs-core
ReadableByteChannelProxy
protected ReadableByteChannelProxy(T proxied)
read
public int read(ByteBuffer dst)
throws IOException
- Specified by:
read
in interface ReadableByteChannel
- Throws:
IOException