Uses of Class
org.newsclub.net.unix.AFUNIXSocketAddress
-
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 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.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.