java.lang.Object
org.newsclub.net.unix.AFSocketOption<T>
- Type Parameters:
T- The option's value type.
- All Implemented Interfaces:
SocketOption<T>
A special socket option supported by some junixsocket-based implementation.
- Author:
- Christian Kohlschütter
-
Constructor Summary
ConstructorsConstructorDescriptionAFSocketOption(String name, Class<T> type, int level, int optionName) Creates a new socket option. -
Method Summary
-
Constructor Details
-
AFSocketOption
Creates a new socket option. This should only be called byAFSocketimplementations.- Parameters:
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
-
name
- Specified by:
namein interfaceSocketOption<T>
-
type
- Specified by:
typein interfaceSocketOption<T>
-
toString
-