org.freecompany.redline

Class WritableChannelWrapper

public class WritableChannelWrapper extends ChannelWrapper implements WritableByteChannel

Field Summary
protected WritableByteChannelchannel
Constructor Summary
WritableChannelWrapper(WritableByteChannel channel)
Method Summary
voidclose()
booleanisOpen()
intwrite(ByteBuffer buffer)

Field Detail

channel

protected WritableByteChannel channel

Constructor Detail

WritableChannelWrapper

public WritableChannelWrapper(WritableByteChannel channel)

Method Detail

close

public void close()

isOpen

public boolean isOpen()

write

public int write(ByteBuffer buffer)