Class RawUnixChannelOption

java.lang.Object
io.netty.util.AbstractConstant<ChannelOption<ByteBuffer>>
All Implemented Interfaces:
Constant<ChannelOption<ByteBuffer>>, Comparable<ChannelOption<ByteBuffer>>

public final class RawUnixChannelOption extends GenericUnixChannelOption<ByteBuffer>
A GenericUnixChannelOption which uses an ByteBuffer as optval. The user is responsible to fill the ByteBuffer in a correct manner, so it works with the and .
  • Constructor Details

    • RawUnixChannelOption

      public RawUnixChannelOption(String name, int level, int optname, int length)
      Creates a new instance.
      Parameters:
      name - the name that is used.
      level - the level.
      optname - the optname.
      length - the expected length of the optvalue.
  • Method Details