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