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:
write
in interfaceWritableByteChannel
- 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
-
-