AFSocketAddress for AF_SYSTEM sockets.
| Modifier and Type | Class and Description |
|---|---|
| public static class | AFSYSTEMSocketAddress.
The AF_SYSTEM system address. |
| Modifier and Type | Field and Description |
|---|---|
| private static AFAddressFamily | |
| private static final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | AFSYSTEMSocketAddress(int port, final byte[] socketAddress, ObjectPool.
|
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized AFAddressFamily | |
| public File | getFile()
Implements abstract org. Returns the |
| public int | |
| public @NonNull AFSYSTEMSocketAddress. | |
| public int | |
| public boolean | hasFilename()
Implements abstract org. Checks if the address can be resolved to a |
| public static boolean | Returns: true if so.The instance to check. addr)Checks if an |
| public static boolean | Returns: true if so.The instance to check. addr)Checks if a |
| private static AFSYSTEMSocketAddress | newAFSocketAddress(int port, final byte[] socketAddress, ObjectPool.
|
| public static AFSYSTEMSocketAddress | Returns: The address.The URI. uri)Hides org. Returns an |
| public static AFSYSTEMSocketAddress | Returns: The address.The URI. uri, int The port to forcibly use, or overridePort)-1 for "don't override".Hides org. Returns an |
| public static AFSYSTEMSocketAddress | Returns: A correspondingAFSYSTEMSocketAddress instance.The emulated "port" number (not part of AF_SYSTEM). javaPort, AFSYSTEMSocketAddress.16-bit system address (e.g., AF_SYS_KERNCONTROL) sysAddr,Controller unique identifier id, int Developer private unit number, 0 means "unspecified". unit)Returns an |
| public static AFSYSTEMSocketAddress | Returns: A correspondingAFSYSTEMSocketAddress instance.16-bit system address (e.g., AF_SYS_KERNCONTROL) sysAddr,Controller unique identifier id, int Developer private unit number unit)Returns an |
| private static byte[] | |
| public String | toString()
Overrides java. Constructs a string representation of this InetSocketAddress. |
| public URI | toURI(String
The target scheme. scheme, URI An optional template to reuse certain parameters (e.g., the "path" component
for an template)http request), or null.Overrides org. Tries to create a URI based on this |
| public static AFSYSTEMSocketAddress | Returns: TheAFSYSTEMSocketAddress instance.The "special" address, int InetAddress.The port (use 0 for "none"). port)Returns an |
| public static AFSYSTEMSocketAddress | Returns: TheAFSYSTEMSocketAddress instance.The "special" hostname, as provided by hostname, int InetAddress#getHostName().The port (use 0 for "none"). port)Returns an |
| public static AFSYSTEMSocketAddress | Returns: TheAFSYSTEMSocketAddress instance.The address to unwrap. address)Returns an |
| afSystem | back to summary |
|---|---|
| private static AFAddressFamily<AFSYSTEMSocketAddress> afSystem | |
| SELECTOR_PROVIDER_CLASS | back to summary |
|---|---|
| private static final String SELECTOR_PROVIDER_CLASS | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| AFSYSTEMSocketAddress | back to summary |
|---|---|
| private AFSYSTEMSocketAddress(int port, final byte[] socketAddress, ObjectPool. | |
| addressFamily | back to summary |
|---|---|
| public static synchronized AFAddressFamily Returns the corresponding
| |
| getFile | back to summary |
|---|---|
| public File getFile() throws FileNotFoundException Implements abstract org. Doc from org. Returns the
| |
| getId | back to summary |
|---|---|
| public int getId() Returns the "id" part of the address.
| |
| getSysAddr | back to summary |
|---|---|
| public @NonNull AFSYSTEMSocketAddress. Returns the "SysAddr" part of the address.
| |
| getUnit | back to summary |
|---|---|
| public int getUnit() Returns the "unit" part of the address.
| |
| hasFilename | back to summary |
|---|---|
| public boolean hasFilename() Implements abstract org. Doc from org. Checks if the address can be resolved to a
| |
| isSupportedAddress | back to summary |
|---|---|
| public static boolean isSupportedAddress(InetAddress addr) Checks if an
| |
| isSupportedAddress | back to summary |
|---|---|
| public static boolean isSupportedAddress(SocketAddress addr) Checks if a
| |
| newAFSocketAddress | back to summary |
|---|---|
| private static AFSYSTEMSocketAddress newAFSocketAddress(int port, final byte[] socketAddress, ObjectPool. | |
| of | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress of(URI uri) throws SocketException Hides org. Returns an
| |
| of | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress of(URI uri, int overridePort) throws SocketException Hides org. Returns an
| |
| ofSysAddrIdUnit | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress ofSysAddrIdUnit(int javaPort, AFSYSTEMSocketAddress. Returns an
| |
| ofSysAddrIdUnit | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress ofSysAddrIdUnit(AFSYSTEMSocketAddress. Returns an
| |
| toBytes | back to summary |
|---|---|
private static byte[] toBytes(AFSYSTEMSocketAddress.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Constructs a string representation of this InetSocketAddress.
This string is constructed by calling
If the address is an IPv6 address, the IPv6 literal is enclosed in
square brackets, for example:
To retrieve a string representation of the hostname or the address, use
| |
| toURI | back to summary |
|---|---|
| public URI toURI(String scheme, URI template) throws IOException Overrides org. Doc from org. Tries to create a URI based on this
| |
| unwrap | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress unwrap(InetAddress address, int port) throws SocketException Returns an
| |
| unwrap | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress unwrap(String hostname, int port) throws SocketException Returns an
| |
| unwrap | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress unwrap(SocketAddress address) throws SocketException Returns an
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AFSYSTEMSocketAddress. | AF_SYS_CONTROL
The sysaddr AF_SYS_CONTROL, also known as AF_SYS_KERN_CONTROL. |
| private static final long | |
| private static final @NonNull AFSYSTEMSocketAddress. |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AFSYSTEMSocketAddress. |
| AF_SYS_CONTROL | back to summary |
|---|---|
| public static final AFSYSTEMSocketAddress. The sysaddr AF_SYS_CONTROL, also known as AF_SYS_KERN_CONTROL. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| VALUES | back to summary |
|---|---|
| private static final @NonNull AFSYSTEMSocketAddress. | |
| SysAddr | back to summary |
|---|---|
| private SysAddr(int id) | |
| SysAddr | back to summary |
|---|---|
| private SysAddr(String name, int id) | |
| ofValue | back to summary |
|---|---|
| public static AFSYSTEMSocketAddress. Returns a
| |