java.lang.Object
org.newsclub.net.unix.AFSYSTEMSocketImplExtensions
- All Implemented Interfaces:
AFSocketImplExtensions<AFSYSTEMSocketAddress>
public final class AFSYSTEMSocketImplExtensions
extends Object
implements AFSocketImplExtensions<AFSYSTEMSocketAddress>
AF_SYSTEM-specific code that resides in the native library. To be used by
AFSystemSocket
and AFSystemDatagramSocket
only.- Author:
- Christian Kohlschütter
-
Method Summary
Modifier and TypeMethodDescriptionint
getKernelControlId
(FileDescriptor fd, String name) Retrieves the kernel control ID given a kernel control name.
-
Method Details
-
getKernelControlId
Retrieves the kernel control ID given a kernel control name.- Parameters:
fd
- The socket file descriptor.name
- The control name- Returns:
- The control Id.
- Throws:
IOException
- on error.
-