Uses of Class
org.newsclub.net.unix.AFTIPCSocketAddress
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
The junixsocket implementation for AF_TIPC sockets.
-
Uses of AFTIPCSocketAddress in org.newsclub.net.unix
Modifier and TypeMethodDescriptionstatic AFTIPCSocketAddress
Returns anAFTIPCSocketAddress
for the given URI, if possible.static AFTIPCSocketAddress
Returns anAFTIPCSocketAddress
for the given URI, if possible.static AFTIPCSocketAddress
AFTIPCSocketAddress.ofService
(int type, int instance) Returns anAFTIPCSocketAddress
that refers to a given service type and instance, implicitly using cluster scope (AFTIPCSocketAddress.Scope.SCOPE_CLUSTER
).static AFTIPCSocketAddress
AFTIPCSocketAddress.ofService
(int javaPort, AFTIPCSocketAddress.Scope scope, int type, int instance, int domain) Returns anAFTIPCSocketAddress
that refers to a given service type and instance, using the given scope and the given lookup domain.static AFTIPCSocketAddress
AFTIPCSocketAddress.ofService
(AFTIPCSocketAddress.Scope scope, int type, int instance) Returns anAFTIPCSocketAddress
that refers to a given service type and instance, using the given scope.static AFTIPCSocketAddress
AFTIPCSocketAddress.ofService
(AFTIPCSocketAddress.Scope scope, int type, int instance, int domain) Returns anAFTIPCSocketAddress
that refers to a given service type and instance, using the given scope and the given lookup domain.static AFTIPCSocketAddress
AFTIPCSocketAddress.ofServiceRange
(int type, int lower, int upper) Returns anAFTIPCSocketAddress
that refers to a given service range type and instance boundaries (lower/upper values), implicitly using cluster scope (AFTIPCSocketAddress.Scope.SCOPE_CLUSTER
).static AFTIPCSocketAddress
AFTIPCSocketAddress.ofServiceRange
(int javaPort, AFTIPCSocketAddress.Scope scope, int type, int lower, int upper) Returns anAFTIPCSocketAddress
that refers to a given service range type and instance boundaries (lower/upper values), implicitly using cluster scope (AFTIPCSocketAddress.Scope.SCOPE_CLUSTER
).static AFTIPCSocketAddress
AFTIPCSocketAddress.ofServiceRange
(AFTIPCSocketAddress.Scope scope, int type, int lower, int upper) Returns anAFTIPCSocketAddress
that refers to a given service range type and instance boundaries (lower/upper values), using the given scope.static AFTIPCSocketAddress
AFTIPCSocketAddress.ofSocket
(int ref, int node) Returns anAFTIPCSocketAddress
that refers to a given TIPC socket address (i.e., referring to a particular socket instance instead of a service address).static AFTIPCSocketAddress
AFTIPCSocketAddress.ofSocket
(int javaPort, int ref, int node) Returns anAFTIPCSocketAddress
that refers to a given TIPC socket address (i.e., referring to a particular socket instance instead of a service address).static AFTIPCSocketAddress
AFTIPCSocketAddress.ofTopologyService()
Returns anAFTIPCSocketAddress
that refers to the topology service.static AFTIPCSocketAddress
Returns anAFTIPCSocketAddress
given a specialInetAddress
hostname that encodes the byte sequence of an AF_TIPC socket address, like those returned byAFSocketAddress.wrapAddress()
.static AFTIPCSocketAddress
AFTIPCSocketAddress.unwrap
(InetAddress address, int port) Returns anAFTIPCSocketAddress
given a specialInetAddress
that encodes the byte sequence of an AF_TIPC socket address, like those returned byAFSocketAddress.wrapAddress()
.static AFTIPCSocketAddress
AFTIPCSocketAddress.unwrap
(SocketAddress address) Returns anAFTIPCSocketAddress
given a genericSocketAddress
.Modifier and TypeMethodDescriptionstatic AFAddressFamily
<AFTIPCSocketAddress> AFTIPCSocketAddress.addressFamily()
Returns the correspondingAFAddressFamily
. -
Uses of AFTIPCSocketAddress in org.newsclub.net.unix.tipc
Modifier and TypeMethodDescriptionfinal AFTIPCSocketAddress
AFTIPCSocketFactory.ServiceAddress.addressFromHost
(String host, int port) AFTIPCTopologyEvent.getAddress()
The corresponding socket address.AFTIPCDestName.toSocketAddress
(AFTIPCSocketAddress.Scope scope, boolean alwaysRange) Converts this DestName to a properAFTIPCSocketAddress
, by using the givenAFTIPCSocketAddress.Scope
(which is otherwise not included).Modifier and TypeMethodDescriptionprotected AFAddressFamily
<@NonNull AFTIPCSocketAddress> AFTIPCSelectorProvider.addressFamily()
protected AFServerSocketChannel
<AFTIPCSocketAddress> AFTIPCServerSocket.newChannel()
protected AFDatagramSocket
<AFTIPCSocketAddress> AFTIPCDatagramSocket.newDatagramSocketInstance()
protected AFSocketImpl
<AFTIPCSocketAddress> AFTIPCServerSocket.newImpl
(FileDescriptor fdObj) protected AFSocket
<AFTIPCSocketAddress> AFTIPCServerSocket.newSocketInstance()
Modifier and TypeMethodDescriptionstatic AFTIPCServerSocket
AFTIPCServerSocket.bindOn
(AFTIPCSocketAddress addr) Returns a new AF_TIPCServerSocket
that is bound to the givenAFTIPCSocketAddress
.static AFTIPCServerSocket
AFTIPCServerSocket.bindOn
(AFTIPCSocketAddress addr, boolean deleteOnClose) Returns a new AF_TIPCServerSocket
that is bound to the givenAFSocketAddress
.static AFTIPCSocket
AFTIPCSocket.connectTo
(AFTIPCSocketAddress addr) Creates a newAFSocket
and connects it to the givenAFTIPCSocketAddress
.protected final AFTIPCSocket
AFTIPCSocketFactory.connectTo
(AFTIPCSocketAddress addr) static AFTIPCServerSocket
AFTIPCServerSocket.forceBindOn
(AFTIPCSocketAddress forceAddr) Returns a new, unbound AF_TIPCServerSocket
that will always bind to the given address, regardless of any socket address used in a call tobind
.byte[]
AFTIPCSocket.getNodeIdentity
(AFTIPCSocketAddress address) Retrieves the TIPC node identity given the node hash of the given address.