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