GenericUnixChannelOption which uses an ByteBuffer as optval. The user is responsible
to fill the ByteBuffer in a correct manner, so it works with the {@param level} and {@param optname}.
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public | RawUnixChannelOption(String
the name that is used. name, int the level. level, int the optname. optname, int the expected length of the optvalue. length)Creates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | validate(ByteBuffer value)
Overrides io. ChannelOption.
|
| length | back to summary |
|---|---|
| private final int length | |
| RawUnixChannelOption | back to summary |
|---|---|
| public RawUnixChannelOption(String name, int level, int optname, int length) Creates a new instance.
| |
| length | back to summary |
|---|---|
| public int length() The length of the optval.
| |
| validate | back to summary |
|---|---|
| public void validate(ByteBuffer value) Overrides io. Doc from io. Validate the value which is set for the
| |