Top Description Constructors Methods
org.newsclub.net.unix

public final Class AFSYSTEMSocketImplExtensions

extends Object
implements AFSocketImplExtensions<AFSYSTEMSocketAddress>
Class Inheritance
All Implemented Interfaces
org.newsclub.net.unix.AFSocketImplExtensions
Imports
java.io.FileDescriptor, .IOException, java.util.Objects

AF_SYSTEM-specific code that resides in the native library. To be used by AFSystemSocket and AFSystemDatagramSocket only.
Author
Christian Kohlschütter

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The control Id.
getKernelControlId
(FileDescriptor
The socket file descriptor.
fd
,
String
The control name
name
)

Retrieves the kernel control ID given a kernel control name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AFSYSTEMSocketImplExtensionsback to summary
pack-priv AFSYSTEMSocketImplExtensions(AncillaryDataSupport ancillaryDataSupport)
Annotations
@SuppressWarnings:PMD.UnusedFormalParameter

Method Detail

getKernelControlIdback to summary
public int getKernelControlId(FileDescriptor fd, String name) throws IOException

Retrieves the kernel control ID given a kernel control name.

Parameters
fd:FileDescriptor

The socket file descriptor.

name:String

The control name

Returns:int

The control Id.

Exceptions
IOException:
on error.