Class AFSocketOption<T>

Type Parameters:
T - The option's value type.
All Implemented Interfaces:

public final class AFSocketOption<T> extends Object implements SocketOption<T>
A special socket option supported by some junixsocket-based implementation.
Christian Kohlschütter
  • Constructor Details

    • AFSocketOption

      public AFSocketOption(String name, Class<T> type, int level, int optionName)
      Creates a new socket option. This should only be called by AFSocket implementations.
      name - The name of the option.
      type - The value type.
      level - The socket level (as defined in junixsocket-native).
      optionName - The option name (as defined in junixsocket-native).
  • Method Details