Class ChannelFunctionWritableByteChannel
- java.lang.Object
-
- io.undertow.websockets.core.function.ChannelFunctionWritableByteChannel
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,WritableByteChannel
public class ChannelFunctionWritableByteChannel extends Object implements WritableByteChannel
- Author:
- Norman Maurer
-
-
Constructor Summary
Constructors Constructor Description ChannelFunctionWritableByteChannel(WritableByteChannel channel, ChannelFunction... functions)
-
-
-
Constructor Detail
-
ChannelFunctionWritableByteChannel
public ChannelFunctionWritableByteChannel(WritableByteChannel channel, ChannelFunction... functions)
-
-
Method Detail
-
write
public int write(ByteBuffer src) throws IOException
- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-