Uses of Class
org.newsclub.net.unix.AFSocket
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
The junixsocket implementation for Darwin AF_SYSTEM sockets.
Provides code that allows RMI communication over AF_UNIX sockets.
The junixsocket implementation for AF_TIPC sockets.
The junixsocket implementation for AF_VSOCK sockets.
-
Uses of AFSocket in org.newsclub.net.unix
Modifier and TypeClassDescriptionfinal class
Implementation of an AF_UNIX domain socket.Modifier and TypeMethodDescriptionAFServerSocket.accept()
Connect to the socket at the given address.AFSocket.connectHook
(SocketAddressFilter hook) Sets the hook for any subsequent call toconnect(SocketAddress)
orconnect(SocketAddress, int)
to be the given function.static final <A extends AFSocketAddress>
AFSocket<?> AFSocket.connectTo
(@NonNull A addr) Creates a newAFSocket
and connects it to the givenAFSocketAddress
using the default implementation suited for that address type.protected static final <A extends AFSocketAddress>
@NonNull AFSocket<A> AFSocket.connectTo
(AFSocket.Constructor<A> constr, A addr) Creates a newAFSocket
and connects it to the givenAFSocketAddress
.AFSocket.forceConnectAddress
(SocketAddress endpoint) Forces the address to be used for any subsequent call toconnect(SocketAddress)
to be the given one, regardless of what'll be passed there.AFSocketChannel.getAFSocket()
Returns the correspondingAFSocket
.AFSocket
<?> AFSocketAddress.newConnectedSocket()
Creates a new socket connected to this address.AFSocket.Constructor.newInstance
(FileDescriptor fdObj, AFSocketFactory<A> factory) Constructs a newAFSocket
subclass instance.protected static final <A extends AFSocketAddress>
AFSocket<A> AFSocket.newInstance
(AFSocket.Constructor<A> constr, AFSocketFactory<A> factory) Creates a new, unboundAFSocket
.AFSocketChannel.AFSocketSupplier.newInstance()
Returns a newAFSocket
instance.AFSocket
<?> AFAddressFamily.newSocket()
Creates a new, unconnected, unbound socket compatible with this socket address.AFSelectorProvider.newSocket()
Constructs a new socket.AFServerSocket.newSocketInstance()
Returns a newAFSocket
instance.AFSocketChannel.socket()
Modifier and TypeMethodDescriptionAFAddressFamilyConfig.socketClass()
Returns the implementation'sSocket
class.ModifierConstructorDescriptionprotected
AFSocketChannel
(AFSocket<A> socket, AFSelectorProvider<A> sp) Creates a new socket channel for the given socket, using the givenSelectorProvider
. -
Uses of AFSocket in org.newsclub.net.unix.darwin.system
Modifier and TypeClassDescriptionfinal class
Implementation of anAF_SYSTEM
socket.Modifier and TypeMethodDescriptionprotected AFSocket
<AFSYSTEMSocketAddress> AFSYSTEMServerSocket.newSocketInstance()
-
Uses of AFSocket in org.newsclub.net.unix.rmi
Modifier and TypeMethodDescriptionprotected abstract AFSocket
<?> AFRMISocketFactory.newConnectedSocket
(AFSocketAddress addr) Creates a new socket that is connected to the given socket address.protected final AFSocket
<?> AFUNIXRMISocketFactory.newConnectedSocket
(AFSocketAddress addr) -
Uses of AFSocket in org.newsclub.net.unix.tipc
Modifier and TypeMethodDescriptionprotected AFSocket
<AFTIPCSocketAddress> AFTIPCServerSocket.newSocketInstance()
-
Uses of AFSocket in org.newsclub.net.unix.vsock
Modifier and TypeMethodDescriptionAFSocket
<?> AFVSOCKProxySocketConnector.connect
(AFVSOCKSocketAddress vsockAddress) Connects to the given AF_VSOCK address.protected AFSocket
<AFVSOCKSocketAddress> AFVSOCKServerSocket.newSocketInstance()