Class ChannelFunctionReadableByteChannel
java.lang.Object
io.undertow.websockets.core.function.ChannelFunctionReadableByteChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,ReadableByteChannel
- Author:
- Norman Maurer
-
Constructor Summary
ConstructorsConstructorDescriptionChannelFunctionReadableByteChannel
(ReadableByteChannel channel, ChannelFunction... functions) -
Method Summary
-
Constructor Details
-
ChannelFunctionReadableByteChannel
public ChannelFunctionReadableByteChannel(ReadableByteChannel channel, ChannelFunction... functions)
-
-
Method Details
-
read
- Specified by:
read
in interfaceReadableByteChannel
- Throws:
IOException
-
isOpen
public boolean isOpen() -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-