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 AFVSOCKSocketAddress
Returns anAFVSOCKSocketAddress
for the given URI, if possible.static AFVSOCKSocketAddress
Returns anAFVSOCKSocketAddress
for the given URI, if possible.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofAnyHostPort()
Returns anAFVSOCKSocketAddress
, especially useful for binding, that refers to "any" port on the host; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofAnyHypervisorPort()
Returns anAFVSOCKSocketAddress
, especially useful for binding, that refers to "any" port on the hypervisor; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.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 AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofAnyPort()
Returns anAFVSOCKSocketAddress
, especially useful for binding, that refers to "any" port and CID; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofHostPort
(int port) Returns anAFVSOCKSocketAddress
that refers to a given VSOCK port on the host; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofHypervisorPort
(int port) Returns anAFVSOCKSocketAddress
that refers to a given VSOCK port on the hypervisor; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofLocalPort
(int port) Returns anAFVSOCKSocketAddress
that refers to the given port with the local/loopback CID; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofPortAndCID
(int port, int cid) Returns anAFVSOCKSocketAddress
that refers to a given VSOCK port and CID; the "java port" is set to -1.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.ofPortAndCID
(int javaPort, int vsockPort, int cid) Returns anAFVSOCKSocketAddress
that refers to a given port and CID.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.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 AFVSOCKSocketAddress
Returns anAFVSOCKSocketAddress
given a specialInetAddress
hostname that encodes the byte sequence of an AF_VSOCK socket address, like those returned byAFSocketAddress.wrapAddress()
.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.unwrap
(InetAddress address, int port) Returns anAFVSOCKSocketAddress
given a specialInetAddress
that encodes the byte sequence of an AF_VSOCK socket address, like those returned byAFSocketAddress.wrapAddress()
.static AFVSOCKSocketAddress
AFVSOCKSocketAddress.unwrap
(SocketAddress address) Returns anAFVSOCKSocketAddress
given 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
.