Module org.newsclub.net.unix
Package org.newsclub.net.unix
package org.newsclub.net.unix
The junixsocket base implementation, including support for AF_UNIX sockets.
-
ClassDescriptionA
SocketException
that may be thrown upon some "address unavailable" condition from native code (e.g., EADDRNOTAVAIL is returned).AFAddressFamily<A extends AFSocketAddress>Describes an address family supported by junixsocket.AFAddressFamilyConfig<A extends AFSocketAddress>The implementation-specifics for a given address family implementation.AFDatagramChannel<A extends AFSocketAddress>ADatagramChannel
implementation that works with junixsocket.AFDatagramSocket<A extends AFSocketAddress>ADatagramSocket
implementation that works with junixsocket.AFDatagramSocket.Constructor<A extends AFSocketAddress>A reference to the constructor of anAFDatagramSocket
subclass.AFDatagramSocketImpl<A extends AFSocketAddress>ADatagramSocketImpl
implemented by junixsocket.AnAFSocketAddress
for unknown socket types.AnInputStream
forAFSocket
, etc.AFIOSupplier<T>A supplier that can throw an IOException.AnOutputStream
forAFSocket
, etc.APipe
, natively implemented.A junixsocket-based protocol family.AFSelectorProvider<A extends AFSocketAddress>Service-provider class for junixsocket selectors and selectable channels.AFServerSocket<A extends AFSocketAddress>The server part of a junixsocket socket.AFServerSocket.Constructor<A extends AFSocketAddress>The constructor of the concrete subclass.AFServerSocketChannel<A extends AFSocketAddress>A selectable channel for stream-oriented listening sockets.Some connector that is able to createAFServerSocket
s bound to a givenAFSocketAddress
.AFSocket<A extends AFSocketAddress>junixsocket's base implementation of aSocket
.AFSocket.Constructor<A extends AFSocketAddress>The reference to the constructor of anAFSocket
subclass.SomeSocketAddress
that is supported by junixsocket, such asAFUNIXSocketAddress
.A reference to the constructor of an AFSocketAddress subclass.AFSocketAddressConfig<A extends AFSocketAddress>The implementation-specifics for a givenAFSocketAddress
subclass implementation.AFSocketAddressFromHostname<A extends AFSocketAddress>Helps converting an internet "hostname" to anAFSocketAddress
.Describes junixsocket capabilities the current environment (system platform, native library, etc.) may or may not support.AFSocketChannel<A extends AFSocketAddress>A selectable channel for stream-oriented connecting sockets.AFSocketChannel.AFSocketSupplier<A extends AFSocketAddress>A reference to a method that provides anAFSocket
instance.Some connector that is able to connect to a givenAFSocketAddress
.Defines certain methods that all junixsocket socket implementations share and extend beyond the standard socket API.AFSocketFactory<A extends AFSocketAddress>The base for a SocketFactory that connects to UNIX sockets.A socket factory that always connects to a fixed socket address, no matter what.AFSocketImpl<A extends AFSocketAddress>junixsocket-basedSocketImpl
.AFSocketImplExtensions<A extends AFSocketAddress>Placeholder for protocol-specific code that resides in the native library.A special socket option supported by some junixsocket-based implementation.AFSocketPair<T extends AFSomeSocket>A pair of sockets.Describes the "protocol" part of a socket.Describes the "type" of a socket.Marker interface that combines junixsocket-basedSocketChannel
s,Socket
s,DatagramChannel
s andDatagramSocket
s.Marker interface that combines junixsocket-basedSocketChannel
s,DatagramChannel
s orServerSocketChannel
s.Marker interface that combines junixsocket-basedSocketChannel
s,Socket
s,DatagramChannel
s andDatagramSocket
s, as well asServerSocket
s andServerSocketChannel
s.AnAFSocketAddress
for AF_SYSTEM sockets.The AF_SYSTEM system address.AF_SYSTEM-specific code that resides in the native library.AnAFSocketAddress
for TIPC sockets.The TIPC address type.The TIPC visibility scope.TIPC-specific code that resides in the native library.ADatagramChannel
implementation that works with AF_UNIX Unix domain sockets.ADatagramSocket
implementation that works with AF_UNIX Unix domain sockets.Describes the protocol family supported byAFUNIXSocketAddress
etc.Service-provider class for junixsocket selectors and selectable channels.The server part of an AF_UNIX domain socket.A selectable channel for stream-oriented listening sockets.Implementation of an AF_UNIX domain socket.Describes anInetSocketAddress
that actually uses AF_UNIX sockets instead of AF_INET.Deprecated.A selectable channel for stream-oriented connecting sockets.AF_UNIX socket credentials.Defines certain methods that all junixsocket AF_UNIX socket implementations share and extend beyond the standard socket API.The base for a SocketFactory that connects to UNIX sockets.A socket factory that handles a custom hostname ("localhost", by default, and configured by the system property "org.newsclub.net.unix.socket.hostname"), forwarding all other requests to the fallbackSocketFactory
.A socket factory that handles a custom hostname ("junixsocket.localhost", by default, and configured by the system property "org.newsclub.net.unix.socket.hostname"), forwarding all other requests to the fallbackSocketFactory
.A socket factory that handles special host names formatted as file:// URIs.AFUNIXSocketPair<T extends AFSomeSocket>A pair of sockets.AnAFSocketAddress
for VSOCK sockets.VSOCK-specific code that resides in the native library.ASocketException
indicating that a socket connection was broken ("broken pipe").CloseablePair<T extends Closeable>A pair of two closeable items.A set ofCloseables
that can be closed at once.ASocketException
indicating that a socket connection was reset.Something that has aFileDescriptor
.Provides object-oriented access to file descriptors viaInputStream
,Socket
, etc., depending on the file descriptor type.Hostname and port.ASocketException
that may be thrown upon some "invalid argument" being passed into native code (i.e., EINVAL is returned).ASocketException
that may be thrown upon some "invalid" state, mostly detected in native code.Thrown when a known Java/JRE/JDK bug was encountered.A "named integer", usually used for constants.Marks a subclass that provides a method"public static T ofValue(int v)"
that allows casting an integer to this type via reflection.Constructor for "undefined" values.NamedIntegerBitmask<T extends NamedIntegerBitmask<T>>Describes a 32-bit bitmask that supports named flags.NamedIntegerBitmask.Constructor<T extends NamedIntegerBitmask<T>>Creates a new instance.ASocketException
that may be thrown upon some "no such device" condition from native code (e.g., ENODEV is returned).ASocketException
indicating that a socket was not bound when attempting to read or write.ASocketException
indicating that a socket was not connected when attempting to read or write.ASocketException
that may be thrown upon some "unsupported operation" condition from native code (e.g., ENOTSUP, EOPNOTSUPP, EPROTONOSUPPORT, ESOCKTNOSUPPORT, EPFNOSUPPORT, EAFNOSUPPORT is returned).A filter that takes aSocketAddress
, and potentially changes it, or throws an exception if certain criteria are met.ASocketException
indicating that a socket was closed or is not open for other reasons.Internal helper class to dump stack traces when deemed appropriate.Helper class to support certain Thread-specific features.Declares some operation "unsafe", which is guarded viaAFSocketCapability.CAPABILITY_UNSAFE
.