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:
read
in interfaceReadableByteChannel
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-