Uses of Class
org.newsclub.net.unix.AFUNIXSocketAddress
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
Provides code that allows RMI communication over AF_UNIX sockets.
The junixsocket implementation for AF_VSOCK sockets.
-
Uses of AFUNIXSocketAddress in org.newsclub.net.unix
Modifier and TypeMethodDescriptionAFUNIXSocketFactory.FactoryArg.addressFromHost
(String host, int port) AFUNIXSocketFactory.SystemProperty.addressFromHost
(String host, int port) AFUNIXSocketFactory.URIScheme.addressFromHost
(String host, int port) static AFUNIXSocketAddress
AFUNIXSocketAddress.inAbstractNamespace
(String name) Convenience method to create anAFUNIXSocketAddress
in the abstract namespace.static AFUNIXSocketAddress
AFUNIXSocketAddress.inAbstractNamespace
(String name, int port) Convenience method to create anAFUNIXSocketAddress
in the abstract namespace.static AFUNIXSocketAddress
AFUNIXSocketAddress.of
(byte[] socketAddress) Returns anAFUNIXSocketAddress
that points to the AF_UNIX socket specified by the given byte sequence.static AFUNIXSocketAddress
AFUNIXSocketAddress.of
(byte[] socketAddress, int port) Returns anAFUNIXSocketAddress
that points to the AF_UNIX socket specified by the given byte sequence, assigning the given port to it.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
that points to the AF_UNIX socket specified by the given file.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
that points to the AF_UNIX socket specified by the given file, assigning the given port to it.static AFUNIXSocketAddress
AFUNIXSocketAddress.of
(SocketAddress address) Returns anAFUNIXSocketAddress
based on the givenSocketAddress
.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
for the given URI, if possible.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
for the given URI, if possible.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
that points to the AF_UNIX socket specified by the given path.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
that points to the AF_UNIX socket specified by the given path, assigning the given port to it.static AFUNIXSocketAddress
AFUNIXSocketAddress.ofNewTempFile()
Returns anAFUNIXSocketAddress
that points to a temporary, non-existent but accessible path in the file system.static AFUNIXSocketAddress
AFUNIXSocketAddress.ofNewTempPath
(int port) Returns anAFUNIXSocketAddress
that points to a temporary, non-existent but accessible path in the file system, assigning the given port to it.static AFUNIXSocketAddress
Returns anAFUNIXSocketAddress
given a specialInetAddress
hostname that encodes the byte sequence of an AF_UNIX socket address, like those returned byAFSocketAddress.wrapAddress()
.static AFUNIXSocketAddress
AFUNIXSocketAddress.unwrap
(InetAddress address, int port) Returns anAFUNIXSocketAddress
given a specialInetAddress
that encodes the byte sequence of an AF_UNIX socket address, like those returned byAFSocketAddress.wrapAddress()
.static AFUNIXSocketAddress
AFUNIXSocketAddress.unwrap
(SocketAddress address) Returns anAFUNIXSocketAddress
given a genericSocketAddress
.Modifier and TypeMethodDescriptionprotected AFAddressFamily
<@NonNull AFUNIXSocketAddress> AFUNIXSelectorProvider.addressFamily()
static AFAddressFamily
<AFUNIXSocketAddress> AFUNIXSocketAddress.addressFamily()
Returns the correspondingAFAddressFamily
.protected AFDatagramSocket
<AFUNIXSocketAddress> AFUNIXDatagramSocket.newDatagramSocketInstance()
protected AFSocketImpl
<AFUNIXSocketAddress> AFUNIXServerSocket.newImpl
(FileDescriptor fdObj) Modifier and TypeMethodDescriptionstatic AFUNIXServerSocket
AFUNIXServerSocket.bindOn
(AFUNIXSocketAddress addr) Returns a new AF_UNIXServerSocket
that is bound to the givenAFUNIXSocketAddress
.static AFUNIXServerSocket
AFUNIXServerSocket.bindOn
(AFUNIXSocketAddress addr, boolean deleteOnClose) Returns a new AF_UNIXServerSocket
that is bound to the givenAFSocketAddress
.static AFUNIXSocket
AFUNIXSocket.connectTo
(AFUNIXSocketAddress addr) Creates a newAFSocket
and connects it to the givenAFUNIXSocketAddress
.protected AFUNIXSocket
AFUNIXSocketFactory.connectTo
(AFUNIXSocketAddress addr) static AFUNIXServerSocket
AFUNIXServerSocket.forceBindOn
(AFUNIXSocketAddress forceAddr) Returns a new, unbound AF_UNIXServerSocket
that will always bind to the given address, regardless of any socket address used in a call tobind
. -
Uses of AFUNIXSocketAddress in org.newsclub.net.unix.rmi
Modifier and TypeMethodDescriptionprotected AFUNIXSocketAddress
AFUNIXRMISocketFactory.newSocketAddress
(int port) -
Uses of AFUNIXSocketAddress in org.newsclub.net.unix.vsock
Modifier and TypeMethodDescriptionAFVSOCKProxySocketConnector.openFirecrackerStyleConnector
(AFUNIXSocketAddress connectorAddress, int allowedCID) Returns an instance that is configured to support [Firecracker-style](https://github.com/firecracker-microvm/firecracker/blob/main/docs/vsock.md) Unix domain sockets.