Uses of Class
org.newsclub.net.unix.AFUNIXSocketAddress
Packages that use 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
Methods in org.newsclub.net.unix that return AFUNIXSocketAddressModifier and TypeMethodDescriptionAFUNIXSocketFactory.FactoryArg.addressFromHost(String host, int port) AFUNIXSocketFactory.SystemProperty.addressFromHost(String host, int port) AFUNIXSocketFactory.URIScheme.addressFromHost(String host, int port) static AFUNIXSocketAddressAFUNIXSocketAddress.inAbstractNamespace(String name) Convenience method to create anAFUNIXSocketAddressin the abstract namespace.static AFUNIXSocketAddressAFUNIXSocketAddress.inAbstractNamespace(String name, int port) Convenience method to create anAFUNIXSocketAddressin the abstract namespace.static AFUNIXSocketAddressAFUNIXSocketAddress.of(byte[] socketAddress) Returns anAFUNIXSocketAddressthat points to the AF_UNIX socket specified by the given byte sequence.static AFUNIXSocketAddressAFUNIXSocketAddress.of(byte[] socketAddress, int port) Returns anAFUNIXSocketAddressthat points to the AF_UNIX socket specified by the given byte sequence, assigning the given port to it.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressthat points to the AF_UNIX socket specified by the given file.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressthat points to the AF_UNIX socket specified by the given file, assigning the given port to it.static AFUNIXSocketAddressAFUNIXSocketAddress.of(SocketAddress address) Returns anAFUNIXSocketAddressbased on the givenSocketAddress.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressfor the given URI, if possible.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressfor the given URI, if possible.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressthat points to the AF_UNIX socket specified by the given path.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressthat points to the AF_UNIX socket specified by the given path, assigning the given port to it.static AFUNIXSocketAddressAFUNIXSocketAddress.ofNewTempFile()Returns anAFUNIXSocketAddressthat points to a temporary, non-existent but accessible path in the file system.static AFUNIXSocketAddressAFUNIXSocketAddress.ofNewTempPath(int port) Returns anAFUNIXSocketAddressthat points to a temporary, non-existent but accessible path in the file system, assigning the given port to it.static AFUNIXSocketAddressReturns anAFUNIXSocketAddressgiven a specialInetAddresshostname that encodes the byte sequence of an AF_UNIX socket address, like those returned byAFSocketAddress.wrapAddress().static AFUNIXSocketAddressAFUNIXSocketAddress.unwrap(InetAddress address, int port) Returns anAFUNIXSocketAddressgiven a specialInetAddressthat encodes the byte sequence of an AF_UNIX socket address, like those returned byAFSocketAddress.wrapAddress().static AFUNIXSocketAddressAFUNIXSocketAddress.unwrap(SocketAddress address) Returns anAFUNIXSocketAddressgiven a genericSocketAddress.Methods in org.newsclub.net.unix that return types with arguments of type AFUNIXSocketAddressModifier 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) Methods in org.newsclub.net.unix with parameters of type AFUNIXSocketAddressModifier and TypeMethodDescriptionstatic AFUNIXServerSocketAFUNIXServerSocket.bindOn(AFUNIXSocketAddress addr) Returns a new AF_UNIXServerSocketthat is bound to the givenAFUNIXSocketAddress.static AFUNIXServerSocketAFUNIXServerSocket.bindOn(AFUNIXSocketAddress addr, boolean deleteOnClose) Returns a new AF_UNIXServerSocketthat is bound to the givenAFSocketAddress.static AFUNIXSocketAFUNIXSocket.connectTo(AFUNIXSocketAddress addr) Creates a newAFSocketand connects it to the givenAFUNIXSocketAddress.protected AFUNIXSocketAFUNIXSocketFactory.connectTo(AFUNIXSocketAddress addr) static AFUNIXServerSocketAFUNIXServerSocket.forceBindOn(AFUNIXSocketAddress forceAddr) Returns a new, unbound AF_UNIXServerSocketthat 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
Methods in org.newsclub.net.unix.rmi that return AFUNIXSocketAddressModifier and TypeMethodDescriptionprotected AFUNIXSocketAddressAFUNIXRMISocketFactory.newSocketAddress(int port) -
Uses of AFUNIXSocketAddress in org.newsclub.net.unix.vsock
Methods in org.newsclub.net.unix.vsock with parameters of type AFUNIXSocketAddressModifier 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.