java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.Channel, java.nio.channels.WritableByteChannelpublic class ChannelFunctionWritableByteChannel
extends java.lang.Object
implements java.nio.channels.WritableByteChannel
| Constructor | Description |
|---|---|
ChannelFunctionWritableByteChannel(java.nio.channels.WritableByteChannel channel,
ChannelFunction... functions) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
boolean |
isOpen() |
|
int |
write(java.nio.ByteBuffer src) |
public ChannelFunctionWritableByteChannel(java.nio.channels.WritableByteChannel channel,
ChannelFunction... functions)
public int write(java.nio.ByteBuffer src)
throws java.io.IOException
write in interface java.nio.channels.WritableByteChanneljava.io.IOExceptionpublic boolean isOpen()
isOpen in interface java.nio.channels.Channelpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channelclose in interface java.io.Closeablejava.io.IOExceptionCopyright © 2018. All rights reserved.