Uses of Class
org.newsclub.net.unix.AFVSOCKSocketAddress
Packages that use AFVSOCKSocketAddress
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
The junixsocket implementation for AF_VSOCK sockets.
-
Uses of AFVSOCKSocketAddress in org.newsclub.net.unix
Methods in org.newsclub.net.unix that return AFVSOCKSocketAddressModifier and TypeMethodDescriptionstatic AFVSOCKSocketAddressReturns anAFVSOCKSocketAddressfor the given URI, if possible.static AFVSOCKSocketAddressReturns anAFVSOCKSocketAddressfor the given URI, if possible.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofAnyHostPort()Returns anAFVSOCKSocketAddress, especially useful for binding, that refers to "any" port on the host; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofAnyHypervisorPort()Returns anAFVSOCKSocketAddress, especially useful for binding, that refers to "any" port on the hypervisor; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofAnyLocalPort()Returns anAFVSOCKSocketAddress, especially useful for binding, that refers to "any" port with the local/loopback CID; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofAnyPort()Returns anAFVSOCKSocketAddress, especially useful for binding, that refers to "any" port and CID; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofHostPort(int port) Returns anAFVSOCKSocketAddressthat refers to a given VSOCK port on the host; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofHypervisorPort(int port) Returns anAFVSOCKSocketAddressthat refers to a given VSOCK port on the hypervisor; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofLocalPort(int port) Returns anAFVSOCKSocketAddressthat refers to the given port with the local/loopback CID; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofPortAndCID(int port, int cid) Returns anAFVSOCKSocketAddressthat refers to a given VSOCK port and CID; the "java port" is set to -1.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofPortAndCID(int javaPort, int vsockPort, int cid) Returns anAFVSOCKSocketAddressthat refers to a given port and CID.static AFVSOCKSocketAddressAFVSOCKSocketAddress.ofPortWithAnyCID(int port) Returns anAFVSOCKSocketAddress, especially useful for binding, that refers to the given port with "any CID"; the "java port" is set to -1.static AFVSOCKSocketAddressReturns anAFVSOCKSocketAddressgiven a specialInetAddresshostname that encodes the byte sequence of an AF_VSOCK socket address, like those returned byAFSocketAddress.wrapAddress().static AFVSOCKSocketAddressAFVSOCKSocketAddress.unwrap(InetAddress address, int port) Returns anAFVSOCKSocketAddressgiven a specialInetAddressthat encodes the byte sequence of an AF_VSOCK socket address, like those returned byAFSocketAddress.wrapAddress().static AFVSOCKSocketAddressAFVSOCKSocketAddress.unwrap(SocketAddress address) Returns anAFVSOCKSocketAddressgiven a genericSocketAddress.Methods in org.newsclub.net.unix that return types with arguments of type AFVSOCKSocketAddressModifier and TypeMethodDescriptionstatic AFAddressFamily<AFVSOCKSocketAddress> AFVSOCKSocketAddress.addressFamily()Returns the correspondingAFAddressFamily. -
Uses of AFVSOCKSocketAddress in org.newsclub.net.unix.vsock
Methods in org.newsclub.net.unix.vsock that return AFVSOCKSocketAddressModifier and TypeMethodDescriptionAFVSOCKSocketFactory.FixedAddress.addressFromHost(String host, int javaPort) Methods in org.newsclub.net.unix.vsock that return types with arguments of type AFVSOCKSocketAddressModifier and TypeMethodDescriptionprotected AFAddressFamily<@NonNull AFVSOCKSocketAddress> AFVSOCKSelectorProvider.addressFamily()protected AFServerSocketChannel<AFVSOCKSocketAddress> AFVSOCKServerSocket.newChannel()protected AFDatagramSocket<AFVSOCKSocketAddress> AFVSOCKDatagramSocket.newDatagramSocketInstance()protected AFSocketImpl<AFVSOCKSocketAddress> AFVSOCKServerSocket.newImpl(FileDescriptor fdObj) protected AFSocket<AFVSOCKSocketAddress> AFVSOCKServerSocket.newSocketInstance()AFVSOCKProxyServerSocketConnector.openDirectConnector()Returns an instance that is configured to connect directly to the given address.AFVSOCKProxySocketConnector.openDirectConnector()Returns an instance that is configured to connect directly to the given address.AFVSOCKProxyServerSocketConnector.openFirecrackerStyleConnector(File listenAddressPrefix, 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.AFVSOCKProxySocketConnector.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.Methods in org.newsclub.net.unix.vsock with parameters of type AFVSOCKSocketAddressModifier and TypeMethodDescriptionAFVSOCKProxyServerSocketConnector.bind(AFVSOCKSocketAddress addr) static AFVSOCKServerSocketAFVSOCKServerSocket.bindOn(AFVSOCKSocketAddress addr) Returns a new AF_VSOCKServerSocketthat is bound to the givenAFVSOCKSocketAddress.static AFVSOCKServerSocketAFVSOCKServerSocket.bindOn(AFVSOCKSocketAddress addr, boolean deleteOnClose) Returns a new AF_VSOCKServerSocketthat is bound to the givenAFSocketAddress.AFSocket<?> AFVSOCKProxySocketConnector.connect(AFVSOCKSocketAddress vsockAddress) Connects to the given AF_VSOCK address.static AFVSOCKSocketAFVSOCKSocket.connectTo(AFVSOCKSocketAddress addr) Creates a newAFSocketand connects it to the givenAFVSOCKSocketAddress.protected final AFVSOCKSocketAFVSOCKSocketFactory.connectTo(AFVSOCKSocketAddress addr) static AFVSOCKServerSocketAFVSOCKServerSocket.forceBindOn(AFVSOCKSocketAddress forceAddr) Returns a new, unbound AF_VSOCKServerSocketthat will always bind to the given address, regardless of any socket address used in a call tobind.Constructors in org.newsclub.net.unix.vsock with parameters of type AFVSOCKSocketAddressModifierConstructorDescriptionCreates anAFVSOCKSocketFactorythat always uses the given VSOCK address.