org.entityfs.support.io
Class WritableByteChannelProxy<T extends WritableByteChannel>
java.lang.Object
org.entityfs.support.lang.ObjectProxySupport<T>
org.entityfs.support.io.ChannelProxy<T>
org.entityfs.support.io.WritableByteChannelProxy<T>
- All Implemented Interfaces:
- Closeable, Channel, WritableByteChannel
- Direct Known Subclasses:
- GatheringByteChannelAdapter, GatheringByteChannelProxy, LockAwareWritableByteChannel
public abstract class WritableByteChannelProxy<T extends WritableByteChannel>
- extends ChannelProxy<T>
- implements WritableByteChannel
This is a proxy for WritableByteChannel
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
WritableByteChannelProxy
protected WritableByteChannelProxy(T proxied)
write
public int write(ByteBuffer src)
throws IOException
- Specified by:
write
in interface WritableByteChannel
- Throws:
IOException