Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept() - Method in class org.newsclub.net.unix.AFDatagramSocket
Accepts a connection to this socket.
accept() - Method in class org.newsclub.net.unix.AFServerSocket
 
accept() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
accept() - Method in class org.newsclub.net.unix.AFUNIXServerSocket
 
accept() - Method in class org.newsclub.net.unix.AFUNIXServerSocketChannel
 
accept() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
 
accept() - Method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
 
accept() - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
 
accept(SocketImpl) - Method in class org.newsclub.net.unix.AFSocketImpl
 
ACCEPT_ANY_HOSTNAME - Static variable in class org.newsclub.net.unix.ssl.SNIHostnameCapture
SNIMatcher that accepts and matches "any hostname".
add(Closeable) - Method in class org.newsclub.net.unix.Closeables
Adds the given closeable.
add(WeakReference<Closeable>) - Method in class org.newsclub.net.unix.Closeables
Adds the given closeable, but only using a weak reference.
addCloseable(Closeable) - Method in class org.newsclub.net.unix.AFServerSocket
Registers a Closeable that should be closed when this socket is closed.
addCloseable(Closeable) - Method in class org.newsclub.net.unix.AFSocket
Registers a Closeable that should be closed when this socket is closed.
addLinkStateSubscription() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for all link state changes.
addPortSubscription() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for all port changes.
addPortSubscription(int) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for port changes of the given port ("port" meaning TIPC port, not TCP).
addPortSubscription(int, int) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for port changes within the given range ("port" meaning TIPC port, not TCP).
addressCharset() - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns the Charset used to encode/decode AFUNIXSocketAddresses.
addressConstructor() - Method in class org.newsclub.net.unix.AFSocketAddressConfig
Returns the implementation's address constructor.
addressFamily() - Method in class org.newsclub.net.unix.AFDatagramSocket
Returns the address family supported by this implementation.
addressFamily() - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns the corresponding AFAddressFamily.
addressFamily() - Method in class org.newsclub.net.unix.AFSelectorProvider
Returns the address family supported by this implementation.
addressFamily() - Method in class org.newsclub.net.unix.AFServerSocket
Returns the address family supported by this implementation.
addressFamily() - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns the corresponding AFAddressFamily.
addressFamily() - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the corresponding AFAddressFamily.
addressFamily() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
addressFamily() - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns the corresponding AFAddressFamily.
addressFamily() - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns the corresponding AFAddressFamily.
addressFamily() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
addressFamily() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
addressFamily() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
addressFromHost(String, int) - Method in interface org.newsclub.net.unix.AFSocketAddressFromHostname
Translates a "host" string (and port) to an AFSocketAddress.
addressFromHost(String, int) - Method in class org.newsclub.net.unix.AFSocketFactory.FixedAddressSocketFactory
 
addressFromHost(String, int) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory.FactoryArg
 
addressFromHost(String, int) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory.SystemProperty
 
addressFromHost(String, int) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory.URIScheme
 
addressFromHost(String, int) - Method in class org.newsclub.net.unix.tipc.AFTIPCSocketFactory.ServiceAddress
 
addressFromHost(String, int) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory.FixedAddress
 
AddressUnavailableSocketException - Exception Class in org.newsclub.net.unix
A SocketException that may be thrown upon some "address unavailable" condition from native code (e.g., EADDRNOTAVAIL is returned).
AddressUnavailableSocketException() - Constructor for exception class org.newsclub.net.unix.AddressUnavailableSocketException
AddressUnavailableSocketException(String) - Constructor for exception class org.newsclub.net.unix.AddressUnavailableSocketException
addServiceSubscription(int) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for service changes of the given service type, matching any instance.
addServiceSubscription(int, int) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for service changes of the given service type, matching only the specified instance.
addServiceSubscription(int, int, int) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Watches for service changes of the given service type and instance range.
AF_INET_PROTOCOL_ICMP - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
The ICMP protocol.
AF_SYS_CONTROL - Static variable in class org.newsclub.net.unix.AFSYSTEMSocketAddress.SysAddr
The sysaddr AF_SYS_CONTROL, also known as AF_SYS_KERN_CONTROL.
AFAddressFamily<A> - Class in org.newsclub.net.unix
Describes an address family supported by junixsocket.
AFAddressFamilyConfig<A> - Class in org.newsclub.net.unix
The implementation-specifics for a given address family implementation.
AFAddressFamilyConfig() - Constructor for class org.newsclub.net.unix.AFAddressFamilyConfig
Constructor.
AFDatagramChannel<A> - Class in org.newsclub.net.unix
A DatagramChannel implementation that works with junixsocket.
AFDatagramChannel(AFSelectorProvider<A>, AFDatagramSocket<A>) - Constructor for class org.newsclub.net.unix.AFDatagramChannel
Creates a new AFDatagramChannel instance.
AFDatagramSocket<A> - Class in org.newsclub.net.unix
A DatagramSocket implementation that works with junixsocket.
AFDatagramSocket(AFDatagramSocketImpl<A>) - Constructor for class org.newsclub.net.unix.AFDatagramSocket
Creates a new AFDatagramSocket instance.
AFDatagramSocket.Constructor<A> - Interface in org.newsclub.net.unix
A reference to the constructor of an AFDatagramSocket subclass.
AFDatagramSocketImpl<A> - Class in org.newsclub.net.unix
A DatagramSocketImpl implemented by junixsocket.
AFDatagramSocketImpl(AFAddressFamily<A>, FileDescriptor, AFSocketType) - Constructor for class org.newsclub.net.unix.AFDatagramSocketImpl
Constructs a new AFDatagramSocketImpl using the given FileDescriptor (or null to create a new one).
AFGenericSocketAddress - Class in org.newsclub.net.unix
An AFSocketAddress for unknown socket types.
AFInputStream - Class in org.newsclub.net.unix
An InputStream for AFSocket, etc.
AFIOSupplier<T> - Interface in org.newsclub.net.unix
A supplier that can throw an IOException.
AFNaming - Class in org.newsclub.net.unix.rmi
The AFSocket-compatible equivalent of Naming.
AFNaming(int, int) - Constructor for class org.newsclub.net.unix.rmi.AFNaming
Creates a new naming instance with the given ports.
AFNamingProvider<T> - Interface in org.newsclub.net.unix.rmi
The key to accessing to AFNaming instances.
AFOutputStream - Class in org.newsclub.net.unix
An OutputStream for AFSocket, etc.
AFPipe - Class in org.newsclub.net.unix
A Pipe, natively implemented.
AFPipe.SinkChannel - Class in org.newsclub.net.unix
A channel representing the writable end of a Pipe, with access to the FileDescriptor.
AFPipe.SourceChannel - Class in org.newsclub.net.unix
A channel representing the readable end of a Pipe, with access to the FileDescriptor.
AFProtocolFamily - Interface in org.newsclub.net.unix
A junixsocket-based protocol family.
AFRegistry - Class in org.newsclub.net.unix.rmi
A wrapper for RMI registries, both remote and local, to allow for a clean removal of bound resources upon shutdown.
AFRMIService - Interface in org.newsclub.net.unix.rmi
The AFRMIService assigns and keeps track of anonymous ports, among other things.
AFRMISocketFactory - Class in org.newsclub.net.unix.rmi
An RMISocketFactory that supports AFSockets.
AFRMISocketFactory() - Constructor for class org.newsclub.net.unix.rmi.AFRMISocketFactory
Constructor required per definition.
AFRMISocketFactory(AFNaming, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class org.newsclub.net.unix.rmi.AFRMISocketFactory
Creates a new socket factory.
AFRMISocketFactory.PortLease - Class in org.newsclub.net.unix.rmi
A lease on a registered port; closing the lease will return the port.
AFSelectorProvider<A> - Class in org.newsclub.net.unix
Service-provider class for junixsocket selectors and selectable channels.
AFSelectorProvider() - Constructor for class org.newsclub.net.unix.AFSelectorProvider
Constructs a new AFSelectorProvider.
AFServerSocket<A> - Class in org.newsclub.net.unix
The server part of a junixsocket socket.
AFServerSocket() - Constructor for class org.newsclub.net.unix.AFServerSocket
Constructs a new, unconnected instance.
AFServerSocket(FileDescriptor) - Constructor for class org.newsclub.net.unix.AFServerSocket
Constructs a new instance, optionally associated with the given file descriptor.
AFServerSocket.Constructor<A> - Interface in org.newsclub.net.unix
The constructor of the concrete subclass.
AFServerSocketChannel<A> - Class in org.newsclub.net.unix
A selectable channel for stream-oriented listening sockets.
AFServerSocketChannel(AFServerSocket<A>, AFSelectorProvider<A>) - Constructor for class org.newsclub.net.unix.AFServerSocketChannel
Creates a new AFServerSocketChannel instance.
AFServerSocketConnector<A,T> - Interface in org.newsclub.net.unix
Some connector that is able to create AFServerSockets bound to a given AFSocketAddress.
AFSocket<A> - Class in org.newsclub.net.unix
junixsocket's base implementation of a Socket.
AFSocket(AFSocketImpl<A>, AFSocketAddressFromHostname<A>) - Constructor for class org.newsclub.net.unix.AFSocket
Creates a new AFSocket instance.
AFSocket.Constructor<A> - Interface in org.newsclub.net.unix
The reference to the constructor of an AFSocket subclass.
AFSocketAddress - Class in org.newsclub.net.unix
Some SocketAddress that is supported by junixsocket, such as AFUNIXSocketAddress.
AFSocketAddress(int, byte[], ObjectPool.Lease<ByteBuffer>, AFAddressFamily<?>) - Constructor for class org.newsclub.net.unix.AFSocketAddress
Creates a new socket address.
AFSocketAddress.AFSocketAddressConstructor<T> - Interface in org.newsclub.net.unix
A reference to the constructor of an AFSocketAddress subclass.
AFSocketAddressConfig<A> - Class in org.newsclub.net.unix
The implementation-specifics for a given AFSocketAddress subclass implementation.
AFSocketAddressConfig() - Constructor for class org.newsclub.net.unix.AFSocketAddressConfig
Constructor.
AFSocketAddressFromHostname<A> - Interface in org.newsclub.net.unix
Helps converting an internet "hostname" to an AFSocketAddress.
AFSocketCapability - Enum Class in org.newsclub.net.unix
Describes junixsocket capabilities the current environment (system platform, native library, etc.) may or may not support.
AFSocketChannel<A> - Class in org.newsclub.net.unix
A selectable channel for stream-oriented connecting sockets.
AFSocketChannel(AFSocket<A>, AFSelectorProvider<A>) - Constructor for class org.newsclub.net.unix.AFSocketChannel
Creates a new socket channel for the given socket, using the given SelectorProvider.
AFSocketChannel.AFSocketSupplier<A> - Interface in org.newsclub.net.unix
A reference to a method that provides an AFSocket instance.
AFSocketConnector<A,T> - Interface in org.newsclub.net.unix
Some connector that is able to connect to a given AFSocketAddress.
AFSocketExtensions - Interface in org.newsclub.net.unix
Defines certain methods that all junixsocket socket implementations share and extend beyond the standard socket API.
AFSocketFactory<A> - Class in org.newsclub.net.unix
The base for a SocketFactory that connects to UNIX sockets.
AFSocketFactory(Class<? extends AFSocketAddress>) - Constructor for class org.newsclub.net.unix.AFSocketFactory
Creates a new socket factory instance.
AFSocketFactory.FixedAddressSocketFactory - Class in org.newsclub.net.unix
A socket factory that always connects to a fixed socket address, no matter what.
AFSocketImpl<A> - Class in org.newsclub.net.unix
junixsocket-based SocketImpl.
AFSocketImpl(AFAddressFamily<A>, FileDescriptor) - Constructor for class org.newsclub.net.unix.AFSocketImpl
Creates a new AFSocketImpl instance.
AFSocketImplExtensions<A> - Interface in org.newsclub.net.unix
Placeholder for protocol-specific code that resides in the native library.
AFSocketOption<T> - Class in org.newsclub.net.unix
A special socket option supported by some junixsocket-based implementation.
AFSocketOption(String, Class<T>, int, int) - Constructor for class org.newsclub.net.unix.AFSocketOption
Creates a new socket option.
AFSocketPair<T> - Class in org.newsclub.net.unix
A pair of sockets.
AFSocketPair(T, T) - Constructor for class org.newsclub.net.unix.AFSocketPair
Creates a socket pair.
AFSocketPair(T, T, Closeable) - Constructor for class org.newsclub.net.unix.AFSocketPair
Creates a socket pair.
AFSocketProtocol - Enum Class in org.newsclub.net.unix
Describes the "protocol" part of a socket.
AFSocketServer<A> - Class in org.newsclub.net.unix.server
A base implementation for a simple, multi-threaded socket server using AFSockets.
AFSocketServer(A) - Constructor for class org.newsclub.net.unix.server.AFSocketServer
Creates a server using the given SocketAddress.
AFSocketServer(AFServerSocket<? extends A>) - Constructor for class org.newsclub.net.unix.server.AFSocketServer
Creates a server using the given, bound ServerSocket.
AFSocketType - Enum Class in org.newsclub.net.unix
Describes the "type" of a socket.
AFSomeSocket - Interface in org.newsclub.net.unix
Marker interface that combines junixsocket-based SocketChannels, Sockets, DatagramChannels and DatagramSockets.
AFSomeSocketChannel - Interface in org.newsclub.net.unix
Marker interface that combines junixsocket-based SocketChannels, DatagramChannels or ServerSocketChannels.
AFSomeSocketThing - Interface in org.newsclub.net.unix
Marker interface that combines junixsocket-based SocketChannels, Sockets, DatagramChannels and DatagramSockets, as well as ServerSockets and ServerSocketChannels.
AFSYSTEMDatagramChannel - Class in org.newsclub.net.unix.darwin.system
A DatagramChannel implementation that works with AF_SYSTEM sockets.
AFSYSTEMDatagramSocket - Class in org.newsclub.net.unix.darwin.system
A DatagramSocket implementation that works with AF_SYSTEM sockets.
AFSYSTEMProtocolFamily - Enum Class in org.newsclub.net.unix.darwin.system
Describes the protocol families supported by junixsocket-afsystem.
AFSYSTEMSelectorProvider - Class in org.newsclub.net.unix.darwin.system
Service-provider class for junixsocket selectors and selectable channels.
AFSYSTEMServerSocket - Class in org.newsclub.net.unix.darwin.system
The server part of an AF_SYSTEM socket.
AFSYSTEMServerSocketChannel - Class in org.newsclub.net.unix.darwin.system
A selectable channel for stream-oriented listening sockets.
AFSYSTEMSocket - Class in org.newsclub.net.unix.darwin.system
Implementation of an AF_SYSTEM socket.
AFSYSTEMSocketAddress - Class in org.newsclub.net.unix
An AFSocketAddress for AF_SYSTEM sockets.
AFSYSTEMSocketAddress.SysAddr - Class in org.newsclub.net.unix
The AF_SYSTEM system address.
AFSYSTEMSocketChannel - Class in org.newsclub.net.unix.darwin.system
A selectable channel for stream-oriented connecting sockets.
AFSYSTEMSocketExtensions - Interface in org.newsclub.net.unix.darwin.system
Defines certain methods that all junixsocket AF_SYSTEM socket implementations share and extend beyond the standard socket API.
AFSYSTEMSocketFactory - Class in org.newsclub.net.unix.darwin.system
The base for a SocketFactory that connects to AF_SYSTEM sockets.
AFSYSTEMSocketFactory() - Constructor for class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
AFSYSTEMSocketImplExtensions - Class in org.newsclub.net.unix
AF_SYSTEM-specific code that resides in the native library.
AFSYSTEMSocketOptions - Class in org.newsclub.net.unix.darwin.system
AF_SYSTEM-specific socket options.
AFSYSTEMSocketPair<T> - Class in org.newsclub.net.unix.darwin.system
A pair of sockets.
afterHandshake() - Method in class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory
 
AFTIPCDatagramChannel - Class in org.newsclub.net.unix.tipc
A DatagramChannel implementation that works with AF_TIPC sockets.
AFTIPCDatagramSocket - Class in org.newsclub.net.unix.tipc
A DatagramSocket implementation that works with AF_TIPC sockets.
AFTIPCDestName - Class in org.newsclub.net.unix.tipc
The TIPC-specific DestName response that may be included as ancillary data.
AFTIPCDestName(int, int, int) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCDestName
Creates a new instance.
AFTIPCErrInfo - Class in org.newsclub.net.unix.tipc
The TIPC-specific error info response that may be included as ancillary data.
AFTIPCErrInfo(AFTIPCErrInfo.ErrorCode, int) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCErrInfo
Creates a new instance.
AFTIPCErrInfo.ErrorCode - Class in org.newsclub.net.unix.tipc
Some TIPC error code.
AFTIPCGroupRequest - Class in org.newsclub.net.unix.tipc
A TIPC group request.
AFTIPCGroupRequest.GroupRequestFlags - Class in org.newsclub.net.unix.tipc
Some flags used in the group request.
AFTIPCProtocolFamily - Enum Class in org.newsclub.net.unix.tipc
Describes the protocol families supported by junixsocket-tipc.
AFTIPCSelectorProvider - Class in org.newsclub.net.unix.tipc
Service-provider class for junixsocket selectors and selectable channels.
AFTIPCServerSocket - Class in org.newsclub.net.unix.tipc
The server part of an AF_TIPC socket.
AFTIPCServerSocketChannel - Class in org.newsclub.net.unix.tipc
A selectable channel for stream-oriented listening sockets.
AFTIPCSocket - Class in org.newsclub.net.unix.tipc
Implementation of an AF_TIPC socket.
AFTIPCSocketAddress - Class in org.newsclub.net.unix
An AFSocketAddress for TIPC sockets.
AFTIPCSocketAddress.AddressType - Class in org.newsclub.net.unix
The TIPC address type.
AFTIPCSocketAddress.Scope - Class in org.newsclub.net.unix
The TIPC visibility scope.
AFTIPCSocketChannel - Class in org.newsclub.net.unix.tipc
A selectable channel for stream-oriented connecting sockets.
AFTIPCSocketExtensions - Interface in org.newsclub.net.unix.tipc
Defines certain methods that all junixsocket AF_TIPC socket implementations share and extend beyond the standard socket API.
AFTIPCSocketFactory - Class in org.newsclub.net.unix.tipc
The base for a SocketFactory that connects to TIPC sockets.
AFTIPCSocketFactory() - Constructor for class org.newsclub.net.unix.tipc.AFTIPCSocketFactory
AFTIPCSocketFactory.ServiceAddress - Class in org.newsclub.net.unix.tipc
Always connects sockets to the given TIPC type and instance.
AFTIPCSocketImplExtensions - Class in org.newsclub.net.unix
TIPC-specific code that resides in the native library.
AFTIPCSocketOptions - Class in org.newsclub.net.unix.tipc
TIPC-specific socket options.
AFTIPCSocketOptions.MessageImportance - Class in org.newsclub.net.unix.tipc
The TIPC message importance.
AFTIPCSocketPair<T> - Class in org.newsclub.net.unix.tipc
A pair of sockets.
AFTIPCTopologyEvent - Class in org.newsclub.net.unix.tipc
A TIPC topology event received by the AFTIPCTopologyWatcher as a result of an AFTIPCTopologySubscription.
AFTIPCTopologyEvent.Type - Class in org.newsclub.net.unix.tipc
Some TIPC error code.
AFTIPCTopologySubscription - Class in org.newsclub.net.unix.tipc
An "event subscription" to be used with AFTIPCTopologyWatcher.
AFTIPCTopologySubscription(int, int, int, AFTIPCTopologySubscription.Flags) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Creates a new subscription message that does not time out.
AFTIPCTopologySubscription(int, int, int, AFTIPCTopologySubscription.Flags, int) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Creates a new subscription message.
AFTIPCTopologySubscription(int, int, int, AFTIPCTopologySubscription.Flags, int, byte[]) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Creates a new subscription message.
AFTIPCTopologySubscription.Flags - Class in org.newsclub.net.unix.tipc
Some flags used in the subscription request.
AFTIPCTopologyWatcher - Class in org.newsclub.net.unix.tipc
Provides access to the TIPC topology service.
AFTIPCTopologyWatcher() - Constructor for class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Creates an AFTIPCTopologyWatcher whose subscription requests do not time out by default.
AFTIPCTopologyWatcher(int) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Creates an AFTIPCTopologyWatcher whose subscription requests use the given default timeout.
AFUNIXDatabaseSocketFactory - Class in org.newsclub.net.mysql
Connect to mysql databases (and compatibles) using UNIX domain sockets.
AFUNIXDatabaseSocketFactory() - Constructor for class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory
Creates a new instance.
AFUNIXDatabaseSocketFactoryCJ - Class in org.newsclub.net.mysql
Connect to mysql databases (and compatibles) using UNIX domain sockets.
AFUNIXDatabaseSocketFactoryCJ() - Constructor for class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactoryCJ
Creates a new instance.
AFUNIXDatagramChannel - Class in org.newsclub.net.unix
A DatagramChannel implementation that works with AF_UNIX Unix domain sockets.
AFUNIXDatagramSocket - Class in org.newsclub.net.unix
A DatagramSocket implementation that works with AF_UNIX Unix domain sockets.
AFUNIXNaming - Class in org.newsclub.net.unix.rmi
The AFUNIXSocket-compatible equivalent of Naming.
AFUNIXProtocolFamily - Enum Class in org.newsclub.net.unix
Describes the protocol family supported by AFUNIXSocketAddress etc.
AFUNIXRegistry - Class in org.newsclub.net.unix.rmi
A wrapper for RMI registries, both remote and local, to allow for a clean removal of bound resources upon shutdown.
AFUNIXRMISocketFactory - Class in org.newsclub.net.unix.rmi
An RMISocketFactory that supports AFUNIXSockets.
AFUNIXRMISocketFactory() - Constructor for class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
Constructor required per definition.
AFUNIXRMISocketFactory(AFNaming, File) - Constructor for class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
Creates a new socket factory.
AFUNIXRMISocketFactory(AFNaming, File, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
Creates a new socket factory.
AFUNIXRMISocketFactory(AFNaming, File, RMIClientSocketFactory, RMIServerSocketFactory, String, String) - Constructor for class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
Creates a new socket factory.
AFUNIXSelectorProvider - Class in org.newsclub.net.unix
Service-provider class for junixsocket selectors and selectable channels.
AFUNIXServerSocket - Class in org.newsclub.net.unix
The server part of an AF_UNIX domain socket.
AFUNIXServerSocket() - Constructor for class org.newsclub.net.unix.AFUNIXServerSocket
Constructs a new, unconnected instance.
AFUNIXServerSocketChannel - Class in org.newsclub.net.unix
A selectable channel for stream-oriented listening sockets.
AFUNIXSocket - Class in org.newsclub.net.unix
Implementation of an AF_UNIX domain socket.
AFUNIXSocketAddress - Class in org.newsclub.net.unix
Describes an InetSocketAddress that actually uses AF_UNIX sockets instead of AF_INET.
AFUNIXSocketAddress(File) - Constructor for class org.newsclub.net.unix.AFUNIXSocketAddress
Deprecated.
AFUNIXSocketAddress(File, int) - Constructor for class org.newsclub.net.unix.AFUNIXSocketAddress
Deprecated.
AFUNIXSocketCapability - Enum Class in org.newsclub.net.unix
Deprecated.
AFUNIXSocketChannel - Class in org.newsclub.net.unix
A selectable channel for stream-oriented connecting sockets.
AFUNIXSocketCredentials - Class in org.newsclub.net.unix
AF_UNIX socket credentials.
AFUNIXSocketExtensions - Interface in org.newsclub.net.unix
Defines certain methods that all junixsocket AF_UNIX socket implementations share and extend beyond the standard socket API.
AFUNIXSocketFactory - Class in org.newsclub.net.unix
The base for a SocketFactory that connects to UNIX sockets.
AFUNIXSocketFactory() - Constructor for class org.newsclub.net.unix.AFUNIXSocketFactory
AFUNIXSocketFactory.FactoryArg - Class in org.newsclub.net.unix
A socket factory that handles a custom hostname ("localhost", by default, and configured by the system property "org.newsclub.net.unix.socket.hostname"), forwarding all other requests to the fallback SocketFactory.
AFUNIXSocketFactory.SystemProperty - Class in org.newsclub.net.unix
A socket factory that handles a custom hostname ("junixsocket.localhost", by default, and configured by the system property "org.newsclub.net.unix.socket.hostname"), forwarding all other requests to the fallback SocketFactory.
AFUNIXSocketFactory.URIScheme - Class in org.newsclub.net.unix
A socket factory that handles special host names formatted as file:// URIs.
AFUNIXSocketPair<T> - Class in org.newsclub.net.unix
A pair of sockets.
AFUNIXSocketServer - Class in org.newsclub.net.unix.server
Deprecated.
AFUNIXSocketServer(ServerSocket) - Constructor for class org.newsclub.net.unix.server.AFUNIXSocketServer
Deprecated.
Creates a server using the given, bound ServerSocket.
AFUNIXSocketServer(SocketAddress) - Constructor for class org.newsclub.net.unix.server.AFUNIXSocketServer
Deprecated.
Creates a server using the given SocketAddress.
AFVSOCKDatagramChannel - Class in org.newsclub.net.unix.vsock
A DatagramChannel implementation that works with AF_VSOCK sockets.
AFVSOCKDatagramSocket - Class in org.newsclub.net.unix.vsock
A DatagramSocket implementation that works with AF_VSOCK sockets.
AFVSOCKProtocolFamily - Enum Class in org.newsclub.net.unix.vsock
Describes the protocol families supported by junixsocket-vsock.
AFVSOCKProxyServerSocketConnector - Class in org.newsclub.net.unix.vsock
Provides access to AF_VSOCK connections that aren't directly accessible but exposed via a proxying/multiplexing Unix domain socket.
AFVSOCKProxySocketConnector - Class in org.newsclub.net.unix.vsock
Provides access to AF_VSOCK connections that aren't directly accessible but exposed via a proxying/multiplexing Unix domain socket.
AFVSOCKSelectorProvider - Class in org.newsclub.net.unix.vsock
Service-provider class for junixsocket selectors and selectable channels.
AFVSOCKServerSocket - Class in org.newsclub.net.unix.vsock
The server part of an AF_VSOCK socket.
AFVSOCKServerSocketChannel - Class in org.newsclub.net.unix.vsock
A selectable channel for stream-oriented listening sockets.
AFVSOCKSocket - Class in org.newsclub.net.unix.vsock
Implementation of an AF_VSOCK socket.
AFVSOCKSocketAddress - Class in org.newsclub.net.unix
An AFSocketAddress for VSOCK sockets.
AFVSOCKSocketChannel - Class in org.newsclub.net.unix.vsock
A selectable channel for stream-oriented connecting sockets.
AFVSOCKSocketExtensions - Interface in org.newsclub.net.unix.vsock
Defines certain methods that all junixsocket AF_VSOCK socket implementations share and extend beyond the standard socket API.
AFVSOCKSocketFactory - Class in org.newsclub.net.unix.vsock
The base for a SocketFactory that connects to VSOCK sockets.
AFVSOCKSocketFactory() - Constructor for class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
AFVSOCKSocketFactory.FixedAddress - Class in org.newsclub.net.unix.vsock
Always connects sockets to the given VSOCK type and instance.
AFVSOCKSocketImplExtensions - Class in org.newsclub.net.unix
VSOCK-specific code that resides in the native library.
AFVSOCKSocketOptions - Class in org.newsclub.net.unix.vsock
VSOCK-specific socket options.
AFVSOCKSocketPair<T> - Class in org.newsclub.net.unix.vsock
A pair of sockets.
apply(SocketAddress) - Method in interface org.newsclub.net.unix.SocketAddressFilter
Applies the filter on the given address.
apply(T) - Method in interface org.newsclub.net.unix.ssl.SSLFunction
Applies this function to the given argument.
as(Class<K>) - Method in class org.newsclub.net.unix.FileDescriptorCast
Casts this instance to the desired type.
asFileInputStream() - Method in class org.newsclub.net.unix.rmi.RemoteFileInput
Returns a FileInputStream for the given instance.
asFileOutputStream() - Method in class org.newsclub.net.unix.rmi.RemoteFileOutput
Returns a FileOutputStream for the given instance.
available() - Method in class org.newsclub.net.unix.AFSocketImpl
 
availableTypes() - Method in class org.newsclub.net.unix.FileDescriptorCast
Returns a collection of available types this instance can be cast to (using FileDescriptorCast.as(Class)).

B

beforeHandshake() - Method in class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory
 
bind(int, InetAddress) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
bind(A) - Method in interface org.newsclub.net.unix.AFServerSocketConnector
Creates an AFServerSocket bound to the given address.
bind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFRegistry
 
bind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFNaming
Convenience method for getRegistry().bind.
bind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Convenience method for getRegistry().bind.
bind(InetAddress, int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
bind(SocketAddress) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
bind(SocketAddress) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
bind(SocketAddress) - Method in class org.newsclub.net.unix.AFServerSocket
 
bind(SocketAddress) - Method in class org.newsclub.net.unix.AFSocket
Not supported, since it's not necessary for client sockets.
bind(SocketAddress) - Method in class org.newsclub.net.unix.AFSocketChannel
 
bind(SocketAddress, int) - Method in class org.newsclub.net.unix.AFServerSocket
 
bind(SocketAddress, int) - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
bind(AFVSOCKSocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKProxyServerSocketConnector
 
bindHook(SocketAddressFilter) - Method in class org.newsclub.net.unix.AFServerSocket
Sets the hook for any subsequent call to AFServerSocket.bind(SocketAddress) and AFServerSocket.bind(SocketAddress, int) to be the given function.
bindOn(File, boolean) - Static method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new AF_UNIX ServerSocket that is bound to the given path.
bindOn(Path, boolean) - Static method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new AF_UNIX ServerSocket that is bound to the given path.
bindOn(AFServerSocket.Constructor<A>, A, boolean) - Static method in class org.newsclub.net.unix.AFServerSocket
Returns a new ServerSocket that is bound to the given AFSocketAddress.
bindOn(AFServerSocket.Constructor<A>, AFSocketAddress) - Static method in class org.newsclub.net.unix.AFServerSocket
Returns a new ServerSocket that is bound to the given AFSocketAddress.
bindOn(AFSYSTEMSocketAddress) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
Returns a new AF_SYSTEM ServerSocket that is bound to the given AFSYSTEMSocketAddress.
bindOn(AFSYSTEMSocketAddress, boolean) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
Returns a new AF_SYSTEM ServerSocket that is bound to the given AFSocketAddress.
bindOn(AFTIPCSocketAddress) - Static method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
Returns a new AF_TIPC ServerSocket that is bound to the given AFTIPCSocketAddress.
bindOn(AFTIPCSocketAddress, boolean) - Static method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
Returns a new AF_TIPC ServerSocket that is bound to the given AFSocketAddress.
bindOn(AFUNIXSocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new AF_UNIX ServerSocket that is bound to the given AFUNIXSocketAddress.
bindOn(AFUNIXSocketAddress, boolean) - Static method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new AF_UNIX ServerSocket that is bound to the given AFSocketAddress.
bindOn(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
Returns a new AF_VSOCK ServerSocket that is bound to the given AFVSOCKSocketAddress.
bindOn(AFVSOCKSocketAddress, boolean) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
Returns a new AF_VSOCK ServerSocket that is bound to the given AFSocketAddress.
BrokenPipeSocketException - Exception Class in org.newsclub.net.unix
A SocketException indicating that a socket connection was broken ("broken pipe").
BrokenPipeSocketException() - Constructor for exception class org.newsclub.net.unix.BrokenPipeSocketException
Constructs a new BrokenPipeSocketException.
BrokenPipeSocketException(String) - Constructor for exception class org.newsclub.net.unix.BrokenPipeSocketException
Constructs a new BrokenPipeSocketException.
build() - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Builds an SSLContext using the current builder state.
buildAndDestroyBuilder() - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Builds an SSLContext using the current builder state, and destroys the builder's state, to reduce the chance of information leakage.

C

CallbackSNIMatcher - Class in org.newsclub.net.unix.ssl
A wrapping SNIMatcher that calls a callback with the checked SNIServerName and match status (true or false).
CallbackSNIMatcher(SNIMatcher, CallbackSNIMatcher.Callback) - Constructor for class org.newsclub.net.unix.ssl.CallbackSNIMatcher
Constructs a new CallbackSNIMatcher, using the given wrapped SNIMatcher and callback.
CallbackSNIMatcher.Callback - Interface in org.newsclub.net.unix.ssl
Callback that is called upon SNIMatcher.matches(SNIServerName).
cancelSubscription(AFTIPCTopologySubscription) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Cancels a previously added service subscription.
canMap(SocketAddress) - Static method in class org.newsclub.net.unix.AFSocketAddress
Checks if the given SocketAddress can be mapped to an AFSocketAddress.
canMap(SocketAddress, Class<? extends AFSocketAddress>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Checks if the given SocketAddress can be mapped to a specific AFSocketAddress subclass.
CAPABILITY_ABSTRACT_NAMESPACE - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Socket addressing supports the abstract namespace (Linux).
CAPABILITY_ABSTRACT_NAMESPACE - Enum constant in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Socket addressing supports the abstract namespace (Linux).
CAPABILITY_ANCILLARY_MESSAGES - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Socket supports sending and receiving ancillary messages.
CAPABILITY_ANCILLARY_MESSAGES - Enum constant in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Socket supports sending and receiving ancillary messages.
CAPABILITY_DARWIN - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for certain Darwin (macOS Kernel)-specific features, such as the AF_SYSTEM domain.
CAPABILITY_DATAGRAMS - Enum constant in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Support for AF_UNIX datagrams (not on Windows yet).
CAPABILITY_FD_AS_REDIRECT - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
A file descriptor can be converted to ProcessBuilder.Redirect.
CAPABILITY_FILE_DESCRIPTORS - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Socket supports passing file descriptors via ancillary messages.
CAPABILITY_FILE_DESCRIPTORS - Enum constant in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Socket supports passing file descriptors via ancillary messages.
CAPABILITY_LARGE_PORTS - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for port numbers larger than 65535 (0xffff).
CAPABILITY_NATIVE_SOCKETPAIR - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
A pair of interconnected sockets can be created natively as AF_UNIX sockets.
CAPABILITY_NATIVE_SOCKETPAIR - Enum constant in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
A pair of interconnected sockets can be created natively.
CAPABILITY_PEER_CREDENTIALS - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Socket supports retrieving peer credentials.
CAPABILITY_PEER_CREDENTIALS - Enum constant in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Socket supports retrieving peer credentials.
CAPABILITY_TIPC - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for AF_TIPC.
CAPABILITY_UNIX_DATAGRAMS - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for AF_UNIX datagrams.
CAPABILITY_UNIX_DOMAIN - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for AF_UNIX.
CAPABILITY_UNSAFE - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for "unsafe" operations.
CAPABILITY_VSOCK - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for AF_VSOCK.
CAPABILITY_VSOCK_DGRAM - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for AF_VSOCK datagrams (not all platforms/kernel versions or configurations support this).
CAPABILITY_ZERO_LENGTH_SEND - Enum constant in enum class org.newsclub.net.unix.AFSocketCapability
Support for zero-length send(2).
checkClientTrusted(X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.FilterX509TrustManager
 
checkClientTrusted(X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.IgnorantX509TrustManager
 
checkConnectionClosed() - Method in class org.newsclub.net.unix.AFSocket
Probes the status of the socket connection.
checkNotInterruptedOrThrow() - Static method in class org.newsclub.net.unix.ThreadUtil
Checks if the current Thread has been interrupted, without clearing the flag; if interrupted, an InterruptedIOException is thrown, otherwise true is returned.
checkServerTrusted(X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.FilterX509TrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.IgnorantX509TrustManager
 
checksumICMPheader(ByteBuffer, int, int) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
Computes the checksum for an ICMP header, and overwrites any existing checksum with the correct one.
checksumIPv4header(ByteBuffer, int, int) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
Computes the checksum for an IPv4 header, and overwrites any existing checksum with the correct one.
clearReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXDatagramChannel
 
clearReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
clearReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXSocket
 
clearReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXSocketChannel
 
clearReceivedFileDescriptors() - Method in interface org.newsclub.net.unix.AFUNIXSocketExtensions
Clears the queue of incoming FileDescriptors that were sent as ancillary messages.
close() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
close() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
close() - Method in class org.newsclub.net.unix.AFPipe
 
close() - Method in class org.newsclub.net.unix.AFServerSocket
 
close() - Method in class org.newsclub.net.unix.AFSocket
 
close() - Method in class org.newsclub.net.unix.AFSocketImpl
 
close() - Method in class org.newsclub.net.unix.CloseablePair
 
close() - Method in class org.newsclub.net.unix.Closeables
 
close() - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
 
close() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
 
close() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory.PortLease
Closes the lease, returning the port to the AFRMIService it was leased from.
close() - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
close() - Method in interface org.newsclub.net.unix.rmi.RemoteCloseable
Closes the resource on the server-side (i.e., where it was created), and — as long as the wrapped resource returned by RemoteCloseable.get() supports it — locally as well.
close() - Method in class org.newsclub.net.unix.rmi.RemoteCloseableImpl
 
close() - Method in class org.newsclub.net.unix.rmi.RemoteFileDescriptor
 
close() - Method in class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
 
close() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Closes this instance.
close(IOException) - Method in class org.newsclub.net.unix.Closeables
Closes all registered closeables.
CloseablePair<T> - Class in org.newsclub.net.unix
A pair of two closeable items.
CloseablePair(T, T) - Constructor for class org.newsclub.net.unix.CloseablePair
Creates a pair of two items.
CloseablePair(T, T, Closeable) - Constructor for class org.newsclub.net.unix.CloseablePair
Creates a pair of two items.
Closeables - Class in org.newsclub.net.unix
A set of Closeables that can be closed at once.
Closeables() - Constructor for class org.newsclub.net.unix.Closeables
Creates a new Closeables instance.
Closeables(Closeable...) - Constructor for class org.newsclub.net.unix.Closeables
Creates a new Closeables instance, populating it with the given Closeable objects.
com.kohlschutter.junixsocket.nativecommon - module com.kohlschutter.junixsocket.nativecommon
native libraries for common architectures
com.kohlschutter.junixsocket.nativecustom - module com.kohlschutter.junixsocket.nativecustom
native libraries for custom architectures
combineWith(AFTIPCGroupRequest.GroupRequestFlags) - Method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
Combines the given AFTIPCGroupRequest.GroupRequestFlags instance with another one.
combineWith(AFTIPCTopologySubscription.Flags) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
Combines the given AFTIPCTopologySubscription.Flags instance with another one.
combineWith(T) - Method in class org.newsclub.net.unix.NamedIntegerBitmask
Combines two flags / flag sets.
combineWith(T[], T, NamedIntegerBitmask.Constructor<T>, T) - Method in class org.newsclub.net.unix.NamedIntegerBitmask
Combines two flags / flag sets (use this to implement NamedIntegerBitmask.combineWith(NamedIntegerBitmask)).
configure(SSLSocket, SNIMatcher) - Static method in class org.newsclub.net.unix.ssl.SNIHostnameCapture
Configures the given server SSLSocket to match the given hostname pattern.
configure(SSLSocket, SNIMatcher, Supplier<String>) - Static method in class org.newsclub.net.unix.ssl.SNIHostnameCapture
Configures the given server SSLSocket to match the given hostname pattern.
configure(AFSYSTEMSocket) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
Performs some optional configuration on a newly created socket.
configure(AFTIPCSocket) - Method in class org.newsclub.net.unix.tipc.AFTIPCSocketFactory
Performs some optional configuration on a newly created socket.
configure(AFVSOCKSocket) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
Performs some optional configuration on a newly created socket.
configureBlocking(boolean) - Method in interface org.newsclub.net.unix.AFSomeSocketChannel
Adjusts this channel's blocking mode.
connect(A) - Method in interface org.newsclub.net.unix.AFSocketConnector
Connect to the socket at the given address.
connect(String, int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
connect(String, int, PropertySet, int) - Method in class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactoryCJ
 
connect(String, int, Properties) - Method in class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory
 
connect(InetAddress, int) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
connect(InetAddress, int) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
connect(InetAddress, int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.AFSocket
 
connect(SocketAddress) - Method in class org.newsclub.net.unix.AFSocketChannel
 
connect(SocketAddress, int) - Method in class org.newsclub.net.unix.AFSocket
 
connect(SocketAddress, int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
connect(AFVSOCKSocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKProxySocketConnector
Connects to the given AF_VSOCK address.
connectHook(SocketAddressFilter) - Method in class org.newsclub.net.unix.AFSocket
Sets the hook for any subsequent call to AFSocket.connect(SocketAddress) or AFSocket.connect(SocketAddress, int) to be the given function.
ConnectionResetSocketException - Exception Class in org.newsclub.net.unix
A SocketException indicating that a socket connection was reset.
ConnectionResetSocketException() - Constructor for exception class org.newsclub.net.unix.ConnectionResetSocketException
ConnectionResetSocketException(String) - Constructor for exception class org.newsclub.net.unix.ConnectionResetSocketException
connectTo(A) - Static method in class org.newsclub.net.unix.AFSocket
Creates a new AFSocket and connects it to the given AFSocketAddress using the default implementation suited for that address type.
connectTo(A) - Method in class org.newsclub.net.unix.AFSocketFactory
Creates a new AFSocket, connected to the given address.
connectTo(AFSocket.Constructor<A>, A) - Static method in class org.newsclub.net.unix.AFSocket
Creates a new AFSocket and connects it to the given AFSocketAddress.
connectTo(AFSocketAddress) - Method in class org.newsclub.net.unix.AFSocketFactory.FixedAddressSocketFactory
 
connectTo(AFSYSTEMSocketAddress) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
Creates a new AFSocket and connects it to the given AFSYSTEMSocketAddress.
connectTo(AFSYSTEMSocketAddress) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
 
connectTo(AFTIPCSocketAddress) - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Creates a new AFSocket and connects it to the given AFTIPCSocketAddress.
connectTo(AFTIPCSocketAddress) - Method in class org.newsclub.net.unix.tipc.AFTIPCSocketFactory
 
connectTo(AFUNIXSocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXSocket
Creates a new AFSocket and connects it to the given AFUNIXSocketAddress.
connectTo(AFUNIXSocketAddress) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory
 
connectTo(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
Creates a new AFSocket and connects it to the given AFVSOCKSocketAddress.
connectTo(AFVSOCKSocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
 
CONTENT_FILTER - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.content-filter.
covers(AFSocketAddress) - Method in class org.newsclub.net.unix.AFSocketAddress
Checks if the given address could cover another address.
covers(AFSocketAddress) - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Checks if the given address could cover another address.
create() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
create(boolean) - Method in class org.newsclub.net.unix.AFSocketImpl
 
createRegistry() - Method in class org.newsclub.net.unix.rmi.AFNaming
Creates a new RMI Registry.
createRegistry() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
createServerSocket(int) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
 
createServerSocket(int) - Method in class org.newsclub.net.unix.rmi.DefaultRMIServerSocketFactory
 
createSocket() - Method in class org.newsclub.net.unix.AFSocketFactory
 
createSocket() - Method in class org.newsclub.net.unix.AFSocketFactory.FixedAddressSocketFactory
 
createSocket() - Method in class org.newsclub.net.unix.AFUNIXSocketFactory
 
createSocket() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
 
createSocket() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocketFactory
 
createSocket() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
 
createSocket(String, int) - Method in class org.newsclub.net.unix.AFSocketFactory
 
createSocket(String, int) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
 
createSocket(String, int) - Method in class org.newsclub.net.unix.rmi.DefaultRMIClientSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.newsclub.net.unix.AFSocketFactory
 
createSocket(InetAddress, int) - Method in class org.newsclub.net.unix.AFSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class org.newsclub.net.unix.AFSocketFactory
 
CRITICAL - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions.MessageImportance
Critical importance.

D

datagramChannelClass() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's DatagramChannel class.
datagramSocketClass() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's DatagramSocket class.
datagramSocketConstructor() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's DatagramSocket constructor.
DEFAULT - Enum constant in enum class org.newsclub.net.unix.AFSocketProtocol
The "default" protocol.
DefaultRMIClientSocketFactory - Class in org.newsclub.net.unix.rmi
An implementation of RMIClientSocketFactory.
DefaultRMIServerSocketFactory - Class in org.newsclub.net.unix.rmi
An implementation of RMIServerSocketFactory.
DefaultRMIServerSocketFactory() - Constructor for class org.newsclub.net.unix.rmi.DefaultRMIServerSocketFactory
DemoMainClass - Class in org.newsclub.net.unix.demo.jpackagejlink
The entrypoint class for the jpackage or jlink demo binary.
destroy() - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Destroys the state of this builder and all key-/trust-related settings specified.
disableCipherSuites(SSLParameters, String...) - Static method in class org.newsclub.net.unix.ssl.SSLParametersUtil
Removes the given cipher suites from the set of cipher suites specified in an SSLParameters instance.
disableProtocols(SSLParameters, String...) - Static method in class org.newsclub.net.unix.ssl.SSLParametersUtil
Removes the given protocols from the set of protocols specified in an SSLParameters instance.
disconnect() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
disconnect() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
DOMAIN_AF_INET - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
The identifier for AF_INET (at least on Darwin).
DOMAIN_HEADER_LENGTH - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
The length (in bytes) of the "domain" header used in loopback packet systems like UTUN_CONTROL.
domainId() - Method in class org.newsclub.net.unix.AFSelectorProvider
Returns the domain ID for the supported protocol, as specified by NativeUnixSocket.
doServeSocket(S) - Method in class org.newsclub.net.unix.server.SocketServer
Called when a socket is ready to be served.
doSocketClose(S) - Method in class org.newsclub.net.unix.server.SocketServer
Called upon closing a socket after serving the connection.
duplicating(FileDescriptor) - Static method in class org.newsclub.net.unix.FileDescriptorCast
Creates a FileDescriptorCast using a duplicate of the given file descriptor.

E

ensureAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
ensureAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
ensureAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFSocket
 
ensureAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFSocketChannel
 
ensureAncillaryReceiveBufferSize(int) - Method in interface org.newsclub.net.unix.AFSocketExtensions
Ensures a minimum ancillary receive buffer size.
ensureSupported() - Static method in class org.newsclub.net.unix.AFSocket
Checks if AFSockets are supported by the current Java VM.
ensureUnsafeSupported() - Static method in class org.newsclub.net.unix.AFSocket
Checks if the current environment (system platform, native library, etc.) supports "unsafe" operations (as controlled via the AFSocketCapability.CAPABILITY_UNSAFE capability).
equals(Object) - Method in class org.newsclub.net.unix.NamedInteger
 
equals(Object) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
 
equals(Object) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
 
equals(Object) - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
 
equals(Object) - Method in class org.newsclub.net.unix.HostAndPort
 
equals(Object) - Method in interface org.newsclub.net.unix.rmi.AFNamingProvider
 
equals(Object) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
equals(Object) - Method in class org.newsclub.net.unix.rmi.DefaultRMIClientSocketFactory
 
equals(Object) - Method in class org.newsclub.net.unix.rmi.DefaultRMIServerSocketFactory
 
equals(Object) - Method in class org.newsclub.net.unix.tipc.AFTIPCErrInfo
 
exportAndBind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFNaming
Exports and binds the given Remote object to the given name, using the given AFNaming setup.
exportAndRebind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFNaming
Exports and re-binds the given Remote object to the given name, using the given AFNaming setup.
exportObject(Remote, RMISocketFactory) - Static method in class org.newsclub.net.unix.rmi.AFNaming
Exports the given Remote object, using the given socket factory and a randomly assigned port.

F

FactoryArg(File) - Constructor for class org.newsclub.net.unix.AFUNIXSocketFactory.FactoryArg
Constructs a new AFUNIXSocketFactory.FactoryArg factory using the given socket path.
FactoryArg(String) - Constructor for class org.newsclub.net.unix.AFUNIXSocketFactory.FactoryArg
Constructs a new AFUNIXSocketFactory.FactoryArg factory using the given socket path.
FileDescriptorAccess - Interface in org.newsclub.net.unix
Something that has a FileDescriptor.
FileDescriptorCast - Class in org.newsclub.net.unix
Provides object-oriented access to file descriptors via InputStream, Socket, etc., depending on the file descriptor type.
FILEUTIL_KEXT_STATEFUL_CTL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.fileutil.kext.stateful.ctl.
FILEUTIL_KEXT_STATELESS_CTL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.fileutil.kext.stateless.ctl.
FilterX509TrustManager - Class in org.newsclub.net.unix.ssl
An X509TrustManager that may intercept CertificateExceptions.
FilterX509TrustManager(X509TrustManager) - Constructor for class org.newsclub.net.unix.ssl.FilterX509TrustManager
Constructs this instance with the given wrapped X509TrustManager.
finalize() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Deprecated.
finishConnect() - Method in class org.newsclub.net.unix.AFSocketChannel
 
FixedAddress(int, int) - Constructor for class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory.FixedAddress
Creates an AFVSOCKSocketFactory that always uses the given VSOCK address.
FixedAddress(AFVSOCKSocketAddress) - Constructor for class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory.FixedAddress
Creates an AFVSOCKSocketFactory that always uses the given VSOCK address.
FixedAddressSocketFactory(SocketAddress) - Constructor for class org.newsclub.net.unix.AFSocketFactory.FixedAddressSocketFactory
FLOW_DIVERT - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.flow-divert.
forceBindAddress(SocketAddress) - Method in class org.newsclub.net.unix.AFServerSocket
Forces the address to be used for any subsequent call to AFServerSocket.bind(SocketAddress) to be the given one, regardless of what'll be passed to AFServerSocket.bind(SocketAddress, int), but doesn't bind yet.
forceBindOn(AFServerSocket.Constructor<A>, A) - Static method in class org.newsclub.net.unix.AFServerSocket
Returns a new, unbound ServerSocket that will always bind to the given address, regardless of any socket address used in a call to bind.
forceBindOn(AFSYSTEMSocketAddress) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
Returns a new, unbound AF_SYSTEM ServerSocket that will always bind to the given address, regardless of any socket address used in a call to bind.
forceBindOn(AFTIPCSocketAddress) - Static method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
Returns a new, unbound AF_TIPC ServerSocket that will always bind to the given address, regardless of any socket address used in a call to bind.
forceBindOn(AFUNIXSocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new, unbound AF_UNIX ServerSocket that will always bind to the given address, regardless of any socket address used in a call to bind.
forceBindOn(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
Returns a new, unbound AF_VSOCK ServerSocket that will always bind to the given address, regardless of any socket address used in a call to bind.
forceConnectAddress(SocketAddress) - Method in class org.newsclub.net.unix.AFSocket
Forces the address to be used for any subsequent call to AFSocket.connect(SocketAddress) to be the given one, regardless of what'll be passed there.
forClient() - Static method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Creates an SSLContextBuilder to be used in a client context.
formatTIPCInt(int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress.AddressType
Formats an integer as an unsigned, zero-padded 32-bit hexadecimal number.
forServer() - Static method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Creates an SSLContextBuilder to be used in a server context.

G

get() - Method in interface org.newsclub.net.unix.AFIOSupplier
Gets a result.
get() - Method in interface org.newsclub.net.unix.rmi.RemoteCloseable
Returns the resource (or the Remote instance of it).
get() - Method in class org.newsclub.net.unix.rmi.RemoteCloseableImpl
 
get() - Method in interface org.newsclub.net.unix.ssl.SSLSupplier
Gets a result.
getAcceptedIssuers() - Method in class org.newsclub.net.unix.ssl.FilterX509TrustManager
 
getAcceptedIssuers() - Method in class org.newsclub.net.unix.ssl.IgnorantX509TrustManager
 
getAddress() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
The corresponding socket address.
getAddressFamily() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
Returns the address family supported by this implementation.
getAddressFamily() - Method in class org.newsclub.net.unix.AFSocketAddress
Returns the corresponding AFAddressFamily.
getAFSocket() - Method in class org.newsclub.net.unix.AFDatagramChannel
Returns the corresponding Socket.
getAFSocket() - Method in class org.newsclub.net.unix.AFSocketChannel
Returns the corresponding AFSocket.
getAncillaryReceiveBufferSize() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getAncillaryReceiveBufferSize() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
getAncillaryReceiveBufferSize() - Method in class org.newsclub.net.unix.AFSocket
 
getAncillaryReceiveBufferSize() - Method in class org.newsclub.net.unix.AFSocketChannel
 
getAncillaryReceiveBufferSize() - Method in interface org.newsclub.net.unix.AFSocketExtensions
Returns the size of the receive buffer for ancillary messages (in bytes).
getBytes() - Method in class org.newsclub.net.unix.AFSocketAddress
Returns the (non-native) byte-level representation of this address.
getChannel() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
getChannel() - Method in class org.newsclub.net.unix.AFServerSocket
 
getChannel() - Method in class org.newsclub.net.unix.AFSocket
 
getChannel() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
getChannel() - Method in class org.newsclub.net.unix.AFUNIXServerSocket
 
getChannel() - Method in class org.newsclub.net.unix.AFUNIXSocket
 
getChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
 
getChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
 
getChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
 
getChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
getChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
 
getChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocket
 
getChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
 
getChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
 
getChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
 
getConnectionInfo(Remote) - Static method in class org.newsclub.net.unix.rmi.RemotePeerInfo
Returns the connection information (RMISocketFactory, hostname and port) used for the given Remote object, or null if no custom RMISocketFactory was specified.
getControlName() - Method in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
Returns the control name identifier.
getDataLength() - Method in class org.newsclub.net.unix.tipc.AFTIPCErrInfo
The length of the corresponding data.
getDefaultSocketDirectory() - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns the directory where RMI sockets are stored by default.
getDestName() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramChannel
 
getDestName() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
getDestName() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocket
 
getDestName() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocketChannel
 
getDestName() - Method in interface org.newsclub.net.unix.tipc.AFTIPCSocketExtensions
Returns the TIPC "DestName" information from the ancillary receive buffer (if any was set), or null if no DestName was retrieved.
getErrInfo() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramChannel
 
getErrInfo() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
getErrInfo() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocket
 
getErrInfo() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocketChannel
 
getErrInfo() - Method in interface org.newsclub.net.unix.tipc.AFTIPCSocketExtensions
Returns the TIPC "ErrInfo" information from the ancillary receive buffer (if any was set), or null if no error was retrieved.
getErrorCode() - Method in class org.newsclub.net.unix.tipc.AFTIPCErrInfo
Returns the error code.
getFile() - Method in class org.newsclub.net.unix.AFGenericSocketAddress
 
getFile() - Method in class org.newsclub.net.unix.AFSocketAddress
Returns the File corresponding with this address, if possible.
getFile() - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
 
getFile() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
 
getFile() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
getFile() - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFPipe.SinkChannel
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFPipe.SourceChannel
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFServerSocket
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFSocket
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFSocketChannel
 
getFileDescriptor() - Method in class org.newsclub.net.unix.AFSocketImpl
 
getFileDescriptor() - Method in interface org.newsclub.net.unix.FileDescriptorAccess
Returns the corresponding FileDescriptor.
getFileDescriptor() - Method in class org.newsclub.net.unix.FileDescriptorCast
 
getFileDescriptor() - Method in class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
Returns the file descriptor.
getFirst() - Method in class org.newsclub.net.unix.CloseablePair
Returns the pair's first item.
getFlags() - Method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
Returns the group request flags.
getFlags() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns the flags.
getFoundLower() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
The found range's lower value.
getFoundUpper() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
The found range's upper value.
getGid() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Returns the primary "gid" (group ID), or -1 if it could not be retrieved.
getGids() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Returns all "gid" values (group IDs), or null if they could not be retrieved.
getHost() - Method in class org.newsclub.net.unix.rmi.RemotePeerInfo
The hostname.
getHostname() - Method in class org.newsclub.net.unix.HostAndPort
Returns the hostname.
getHostname() - Method in class org.newsclub.net.unix.ssl.SNIHostnameCapture
Returns the hostname (either the retrieved one, or a fallback), which could also be null.
getId() - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns the "id" part of the address.
getImplExtensions() - Method in class org.newsclub.net.unix.AFDatagramSocket
Returns the internal helper instance for address-specific extensions.
getImplExtensions() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
Returns the internal helper instance for address-specific extensions.
getImplExtensions() - Method in class org.newsclub.net.unix.AFSocket
Returns the internal helper instance for address-specific extensions.
getImplExtensions() - Method in class org.newsclub.net.unix.AFSocketImpl
Returns the internal helper instance for address-specific extensions.
getImplExtensions() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
 
getInetAddress() - Method in class org.newsclub.net.unix.AFServerSocket
 
getInetAddress() - Method in class org.newsclub.net.unix.AFSocketAddress
Wraps this address as an InetAddress.
getInetAddress() - Method in class org.newsclub.net.unix.AFSocketImpl
 
getInetAddress(FileDescriptor, boolean, AFAddressFamily<?>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Wraps the socket name/peer name of a file descriptor as an InetAddress.
getInetAddress(AFAddressFamily<?>) - Method in class org.newsclub.net.unix.AFSocketAddress
Wraps an address as an InetAddress.
getInputStream() - Method in class org.newsclub.net.unix.AFSocket
 
getInputStream() - Method in class org.newsclub.net.unix.AFSocketImpl
 
getInstance() - Static method in class org.newsclub.net.unix.AFUNIXSelectorProvider
Returns the singleton instance.
getInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
Returns the singleton instance.
getInstance() - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns the default instance of AFUNIXNaming.
getInstance() - Static method in class org.newsclub.net.unix.rmi.DefaultRMIClientSocketFactory
Returns the singleton instance for DefaultRMIClientSocketFactory.
getInstance() - Static method in class org.newsclub.net.unix.rmi.DefaultRMIServerSocketFactory
Returns the singleton instance for DefaultRMIServerSocketFactory.
getInstance() - Static method in class org.newsclub.net.unix.ssl.IgnorantX509TrustManager
Returns the singleton instance.
getInstance() - Method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
Returns the group instance.
getInstance() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
Returns the singleton instance.
getInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
Returns the singleton instance.
getInstance(File) - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns a AFUNIXNaming instance which support several socket files that can be stored under the same, given directory.
getInstance(File, int) - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns a AFUNIXNaming instance which support several socket files that can be stored under the same, given directory.
getInstance(File, int, String, String) - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns a AFUNIXNaming instance which support several socket files that can be stored under the same, given directory.
getKernelControlId(FileDescriptor, String) - Method in class org.newsclub.net.unix.AFSYSTEMSocketImplExtensions
Retrieves the kernel control ID given a kernel control name.
getLinkName() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns the link name for a link state event requested by AFTIPCTopologySubscription.TIPC_LINK_STATE or AFTIPCTopologyWatcher.addLinkStateSubscription().
getLinkName(int, int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Retrieves the link name given a node hash and a bearer ID.
getListenAddress() - Method in class org.newsclub.net.unix.server.SocketServer
Returns the address the server listens to.
getLoadedLibrary() - Static method in class org.newsclub.net.unix.AFSocket
Returns an identifier of the loaded native library, or null if the library hasn't been loaded yet.
getLocalAddress() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getLocalAddress() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
getLocalAddress() - Method in class org.newsclub.net.unix.AFSocketChannel
 
getLocalCID() - Method in class org.newsclub.net.unix.AFVSOCKSocketImplExtensions
Returns the local CID.
getLocalCID() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
Returns the local CID.
getLocalPort() - Method in class org.newsclub.net.unix.AFServerSocket
 
getLocalSocketAddress() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getLocalSocketAddress() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
getLocalSocketAddress() - Method in class org.newsclub.net.unix.AFServerSocket
 
getLocalSocketAddress() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
getLocalSocketAddress() - Method in class org.newsclub.net.unix.AFSocket
 
getLocalSocketAddress() - Method in class org.newsclub.net.unix.AFSocketChannel
 
getLocalSocketAddress() - Method in interface org.newsclub.net.unix.AFSomeSocketThing
Returns the socket's local socket address, or null if unavailable or if there was a problem retrieving it.
getLower() - Method in class org.newsclub.net.unix.tipc.AFTIPCDestName
Returns the "lower" value of the service range (or the service "instance" if identical to the upper value).
getLower() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns the lower instance value.
getMagicValue() - Method in class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
Returns the "magic value" for this type of file descriptor.
getMaxConcurrentConnections() - Method in class org.newsclub.net.unix.server.SocketServer
Returns the maximum number of concurrent connections.
getNaming() - Method in class org.newsclub.net.unix.rmi.AFRegistry
Returns the AFNaming instance responsible for this registry.
getNaming() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
The naming instance.
getNodeIdentity(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Retrieves the 16-byte node ID given a node hash.
getNodeIdentity(String) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
Retrieves the kernel control ID given a kernel control name.
getNodeIdentity(AFTIPCSocketAddress) - Method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Retrieves the TIPC node identity given the node hash of the given address.
getNodeIdentity(WellKnownKernelControlNames) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
Retrieves the kernel control ID given a kernel control name.
getNodeIdHexString(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Retrieves the node ID given a node hash, as a hexadecimal string.
getOption(int) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
getOption(int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFServerSocket
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFSocketChannel
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFSocketImpl
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
 
getOption(AFSocketOption<T>) - Method in class org.newsclub.net.unix.AFDatagramSocket
Returns the value of a junixsocket socket option.
getOptionLenient(int) - Method in class org.newsclub.net.unix.AFSocketImpl
Like AFSocketImpl.getOption(int), but ignores exceptions for certain option IDs.
getOutputStream() - Method in class org.newsclub.net.unix.AFSocket
 
getOutputStream() - Method in class org.newsclub.net.unix.AFSocketImpl
 
getPath() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns the path to the UNIX domain socket, as a human-readable string using the default encoding.
getPathAsBytes() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns the path to the UNIX domain socket, as bytes.
getPeerCredentials() - Method in class org.newsclub.net.unix.AFUNIXDatagramChannel
 
getPeerCredentials() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
getPeerCredentials() - Method in class org.newsclub.net.unix.AFUNIXSocket
 
getPeerCredentials() - Method in class org.newsclub.net.unix.AFUNIXSocketChannel
 
getPeerCredentials() - Method in interface org.newsclub.net.unix.AFUNIXSocketExtensions
Retrieves the "peer credentials" for this connection.
getPeerCredentials() - Method in class org.newsclub.net.unix.rmi.RemotePeerInfo
The remote socket credentials, or null if they could not be retrieved.
getPid() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Returns the "pid" (process ID), or -1 if it could not be retrieved.
getPort() - Method in class org.newsclub.net.unix.HostAndPort
Returns the port, or -1 for "no port specified".
getPort() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory.PortLease
Returns the port number.
getPort() - Method in class org.newsclub.net.unix.rmi.RemotePeerInfo
The port.
getReceiveBufferSize() - Method in class org.newsclub.net.unix.AFServerSocket
 
getReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXDatagramChannel
 
getReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
getReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXSocket
 
getReceivedFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXSocketChannel
 
getReceivedFileDescriptors() - Method in interface org.newsclub.net.unix.AFUNIXSocketExtensions
Retrieves an array of incoming FileDescriptors that were sent as ancillary messages, along with a call to InputStream.read(), etc.
getRegistry() - Method in class org.newsclub.net.unix.rmi.AFNaming
 
getRegistry() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
getRegistry(boolean) - Method in class org.newsclub.net.unix.rmi.AFNaming
Returns a reference to the RMI registry, or null.
getRegistry(boolean) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
getRegistry(long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFNaming
Returns a reference to the existing RMI registry.
getRegistry(long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
getRegistryPort() - Method in class org.newsclub.net.unix.rmi.AFNaming
Returns the registry port.
getRegistrySocketDir() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns the directory in which sockets used by this registry are located.
getRegistrySocketFile() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns the socket file which is used to control the RMI registry.
getRemoteAddress() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getRemoteAddress() - Method in class org.newsclub.net.unix.AFSocketChannel
 
getRemoteSocketAddress() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
getRemoteSocketAddress() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
getRemoteSocketAddress() - Method in class org.newsclub.net.unix.AFSocket
 
getRemoteSocketAddress() - Method in class org.newsclub.net.unix.AFSocketChannel
 
getRemoteSocketAddress() - Method in interface org.newsclub.net.unix.AFSomeSocket
Returns the socket's remote socket address, or null if unavailable/not connected, or if there was a problem retrieving it.
getReuseAddress() - Method in class org.newsclub.net.unix.AFServerSocket
 
getRmiService() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory.PortLease
Returns the service the port was leased from.
getScope() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the scope of this address.
getScope() - Method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
Returns the group scope.
getSecond() - Method in class org.newsclub.net.unix.CloseablePair
Returns the pair's second item.
getSelectorProvider() - Method in class org.newsclub.net.unix.AFAddressFamily
Returns the SelectorProvider associated with this address family, or null if no such instance is registered.
getServerBusyTimeout() - Method in class org.newsclub.net.unix.server.SocketServer
Returns the server-busy timeout (in milliseconds).
getServerTimeout() - Method in class org.newsclub.net.unix.server.SocketServer
Returns the server timeout (in milliseconds).
getSingleFileInstance(File) - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns an AFUNIXNaming instance which only supports one file.
getSocket1() - Method in class org.newsclub.net.unix.AFSocketPair
Returns the first socket of the pair.
getSocket2() - Method in class org.newsclub.net.unix.AFSocketPair
Returns the second socket of the pair.
getSocketAddress(FileDescriptor, boolean, int, AFAddressFamily<A>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Gets the socket name/peer name of a file descriptor as an AFSocketAddress.
getSocketDir() - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
The directory in which socket files are stored.
getSocketFactory() - Method in class org.newsclub.net.unix.rmi.AFNaming
Returns the AFRMISocketFactory associated with this instance.
getSocketFactory() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
getSocketFactory() - Method in class org.newsclub.net.unix.rmi.RemotePeerInfo
The socket factory used to establish connections.
getSocketTimeout() - Method in class org.newsclub.net.unix.server.SocketServer
Returns the socket timeout (in milliseconds).
getSoTimeout() - Method in class org.newsclub.net.unix.AFServerSocket
 
getSubscription() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
The corresponding subscription that found this event.
getSysAddr() - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns the "SysAddr" part of the address.
getTimeout() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns the timeout, in seconds (or AFTIPCTopologySubscription.TIPC_WAIT_FOREVER for "never timeout").
getTimeToLive() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
getTIPCDestName() - Method in class org.newsclub.net.unix.AFTIPCSocketImplExtensions
Returns the TIPC "DestName" data from the ancillary receive buffer.
getTIPCDomain() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC domain part of this address.
getTIPCErrInfo() - Method in class org.newsclub.net.unix.AFTIPCSocketImplExtensions
Returns the TIPC "ErrInfo" data from the ancillary receive buffer.
getTIPCInstance() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC instance part of this address.
getTIPCLinkName(int, int) - Method in class org.newsclub.net.unix.AFTIPCSocketImplExtensions
Retrieves the TIPC link name given a node hash and bearer Id.
getTIPCLower() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC lower instance of this address.
getTIPCNodeHash() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC node hash of this address.
getTIPCNodeId(int) - Method in class org.newsclub.net.unix.AFTIPCSocketImplExtensions
Retrieves the 16-byte TIPC node identity given a node hash.
getTIPCRef() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC ref of this address.
getTIPCType() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC type part of this address.
getTIPCUpper() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns the TIPC upper instance of this address.
getTTL() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
Deprecated.
getType() - Method in class org.newsclub.net.unix.tipc.AFTIPCDestName
Returns the "type" value.
getType() - Method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
Returns the group type.
getType() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
The event type.
getType() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns the service type.
getUid() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Returns the "uid" (user ID), or -1 if it could not be retrieved.
getUnit() - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns the "unit" part of the address.
getUpper() - Method in class org.newsclub.net.unix.tipc.AFTIPCDestName
Returns the "upper" value of the service range (or the service "instance" if identical to the lower value).
getUpper() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns the upper instance value.
getUsrHandle() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns the 8-byte user handle.
getUUID() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Returns the process' unique identifier, or null if no such identifier could be retrieved.
getVersion() - Static method in class org.newsclub.net.unix.AFSocket
Returns the version of the junixsocket library, as a string, for debugging purposes.
getVSOCKCID() - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns the "VSOCK CID" part of this address.
getVSOCKPort() - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns the "VSOCK port" part of this address.
getVSOCKReserved1() - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns the "VSOCK reserved1" part of this address.
GROUP_LOOPBACK - Static variable in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
Receive copies of sent messages.
GROUP_MEMBER_EVTS - Static variable in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
Receive membership events.

H

hasFilename() - Method in class org.newsclub.net.unix.AFGenericSocketAddress
 
hasFilename() - Method in class org.newsclub.net.unix.AFSocketAddress
Checks if the address can be resolved to a File.
hasFilename() - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
 
hasFilename() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
 
hasFilename() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
hasFilename() - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
 
hasFlag(T) - Method in class org.newsclub.net.unix.NamedIntegerBitmask
Checks if the given flag is set.
hashCode() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
 
hashCode() - Method in class org.newsclub.net.unix.HostAndPort
 
hashCode() - Method in class org.newsclub.net.unix.NamedInteger
 
hashCode() - Method in interface org.newsclub.net.unix.rmi.AFNamingProvider
 
hashCode() - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
hashCode() - Method in class org.newsclub.net.unix.rmi.DefaultRMIClientSocketFactory
 
hashCode() - Method in class org.newsclub.net.unix.rmi.DefaultRMIServerSocketFactory
 
hashCode() - Method in class org.newsclub.net.unix.tipc.AFTIPCErrInfo
 
hashCode() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
 
hashCode() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
 
hasOutboundFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXDatagramChannel
 
hasOutboundFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
hasOutboundFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXSocket
 
hasOutboundFileDescriptors() - Method in class org.newsclub.net.unix.AFUNIXSocketChannel
 
hasOutboundFileDescriptors() - Method in interface org.newsclub.net.unix.AFUNIXSocketExtensions
Returns true if there are pending file descriptors to be sent as part of an ancillary message.
hello() - Method in interface org.newsclub.net.unix.demo.rmi.services.HelloWorld
Returns "Hello".
HelloWorld - Interface in org.newsclub.net.unix.demo.rmi.services
A very simple "hello world" service.
HIGH - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions.MessageImportance
High importance.
HostAndPort - Class in org.newsclub.net.unix
Hostname and port.
HostAndPort(String, int) - Constructor for class org.newsclub.net.unix.HostAndPort
Creates a new hostname and port combination.

I

IgnorantX509TrustManager - Class in org.newsclub.net.unix.ssl
An ignorant X509TrustManager that doesn't check certificates at all.
implCloseSelectableChannel() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
implCloseSelectableChannel() - Method in class org.newsclub.net.unix.AFPipe.SinkChannel
 
implCloseSelectableChannel() - Method in class org.newsclub.net.unix.AFPipe.SourceChannel
 
implCloseSelectableChannel() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
implCloseSelectableChannel() - Method in class org.newsclub.net.unix.AFSocketChannel
 
implConfigureBlocking(boolean) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
implConfigureBlocking(boolean) - Method in class org.newsclub.net.unix.AFPipe.SinkChannel
 
implConfigureBlocking(boolean) - Method in class org.newsclub.net.unix.AFPipe.SourceChannel
 
implConfigureBlocking(boolean) - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
implConfigureBlocking(boolean) - Method in class org.newsclub.net.unix.AFSocketChannel
 
inAbstractNamespace(String) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Convenience method to create an AFUNIXSocketAddress in the abstract namespace.
inAbstractNamespace(String, int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Convenience method to create an AFUNIXSocketAddress in the abstract namespace.
init(T[]) - Static method in class org.newsclub.net.unix.NamedInteger
Ensures that the VALUES array is configured correctly.
initRegistryPrerequisites() - Method in class org.newsclub.net.unix.rmi.AFNaming
Called by AFNaming.createRegistry() right before creating/setting the registry.
initRegistryPrerequisites() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
initSocketFactory() - Method in class org.newsclub.net.unix.rmi.AFNaming
Creates or returns the AFRMISocketFactory to be used with this instance.
initSocketFactory() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
InvalidArgumentSocketException - Exception Class in org.newsclub.net.unix
A SocketException that may be thrown upon some "invalid argument" being passed into native code (i.e., EINVAL is returned).
InvalidArgumentSocketException() - Constructor for exception class org.newsclub.net.unix.InvalidArgumentSocketException
InvalidArgumentSocketException(String) - Constructor for exception class org.newsclub.net.unix.InvalidArgumentSocketException
InvalidSocketException - Exception Class in org.newsclub.net.unix
A SocketException that may be thrown upon some "invalid" state, mostly detected in native code.
InvalidSocketException() - Constructor for exception class org.newsclub.net.unix.InvalidSocketException
Constructs a new InvalidSocketException.
InvalidSocketException(String) - Constructor for exception class org.newsclub.net.unix.InvalidSocketException
Constructs a new InvalidSocketException.
IPSEC_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.net.ipsec_control.
IPUtil - Class in org.newsclub.net.unix.darwin.system
Some IP protocol-related helper methods.
IPV4_DEFAULT_HEADER_SIZE - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
The length (in bytes) of an IPv4 header without options.
isAvailable(Class<?>) - Method in class org.newsclub.net.unix.FileDescriptorCast
Checks if the instance can be cast as the given desired type (using FileDescriptorCast.as(Class)).
isBlocking() - Method in interface org.newsclub.net.unix.AFSomeSocketChannel
Checks if the channel is configured blocking.
isBound() - Method in class org.newsclub.net.unix.AFDatagramChannel
Returns the binding state of the socket.
isBound() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
isBound() - Method in class org.newsclub.net.unix.AFServerSocket
 
isBound() - Method in class org.newsclub.net.unix.AFSocket
 
isCancellation() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns true iff the subscription has the AFTIPCTopologySubscription.Flags.TIPC_SUB_CANCEL flag set.
isCancellationRequest() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns true iff the corresponding subscription has the AFTIPCTopologySubscription.Flags.TIPC_SUB_CANCEL flag set.
isClosed() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
isClosed() - Method in class org.newsclub.net.unix.AFServerSocket
 
isClosed() - Method in class org.newsclub.net.unix.AFSocket
 
isClosed() - Method in class org.newsclub.net.unix.Closeables
Checks if this instance has been closed already.
isComplete() - Method in class org.newsclub.net.unix.ssl.SNIHostnameCapture
Checks if a hostname can be returned by calling SNIHostnameCapture.getHostname() (which most likely means the handshake is complete).
isComplete(long, TimeUnit) - Method in class org.newsclub.net.unix.ssl.SNIHostnameCapture
Checks if a hostname can be returned by calling SNIHostnameCapture.getHostname() (which most likely means the handshake is complete), optionally waiting up to the given time interval if not yet complete.
isConnected() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
isConnected() - Method in class org.newsclub.net.unix.AFDatagramSocket
 
isConnected() - Method in class org.newsclub.net.unix.AFSocket
 
isConnected() - Method in class org.newsclub.net.unix.AFSocketChannel
 
isConnectionPending() - Method in class org.newsclub.net.unix.AFSocketChannel
 
isDeleteOnClose() - Method in class org.newsclub.net.unix.AFDatagramChannel
Checks if this DatagramSocket's bound filename should be removed upon AbstractInterruptibleChannel.close().
isDeleteOnClose() - Method in class org.newsclub.net.unix.AFDatagramSocket
Checks if this AFDatagramSocket's bound filename should be removed upon AFDatagramSocket.close().
isDeleteOnClose() - Method in class org.newsclub.net.unix.AFServerSocket
Checks if this AFServerSocket's file should be removed upon AFServerSocket.close().
isDeleteOnClose() - Method in class org.newsclub.net.unix.AFServerSocketChannel
Checks if this AFServerSocketChannel's file should be removed upon AbstractInterruptibleChannel.close().
isEmpty() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Checks if neither of the possible peer credentials are set.
isHostnameSupported(String) - Method in interface org.newsclub.net.unix.AFSocketAddressFromHostname
Checks whether the given hostname is supported by this socket factory.
isHostnameSupported(String) - Method in class org.newsclub.net.unix.AFSocketFactory.FixedAddressSocketFactory
 
isHostnameSupported(String) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory.FactoryArg
 
isHostnameSupported(String) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory.SystemProperty
 
isHostnameSupported(String) - Method in class org.newsclub.net.unix.AFUNIXSocketFactory.URIScheme
 
isInAbstractNamespace() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
Checks if the address is in the abstract namespace (or, for Haiku OS, in the internal namespace).
isInetAddressSupported(InetAddress) - Method in class org.newsclub.net.unix.AFSocketFactory
Checks whether the given InetAddress is supported by this socket factory.
isLocal() - Method in class org.newsclub.net.unix.rmi.AFRegistry
Returns true if the wrapped Registry instance is locally created.
isLocalServer(int) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
Checks if the given port refers to a local server port.
isLocalSocketAddressValid() - Method in class org.newsclub.net.unix.AFServerSocket
Checks if the local socket address returned by AFServerSocket.getLocalSocketAddress() is still valid.
isLocalSocketAddressValid() - Method in class org.newsclub.net.unix.AFServerSocketChannel
Checks if the local socket address returned by AFServerSocketChannel.getLocalAddress() is still valid.
isPort() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns true iff the corresponding subscription has the AFTIPCTopologySubscription.Flags.TIPC_SUB_PORTS flag set.
isPort() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns true iff the subscription has the AFTIPCTopologySubscription.Flags.TIPC_SUB_PORTS flag set.
isPublished() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns true iff the event type is AFTIPCTopologyEvent.Type.TIPC_PUBLISHED.
isReady() - Method in class org.newsclub.net.unix.server.SocketServer
Checks if the server is running and accepting new connections.
isRemoteServer() - Method in class org.newsclub.net.unix.rmi.AFRegistry
Deprecated.
isRemoteShutdownAllowed() - Method in class org.newsclub.net.unix.rmi.AFNaming
Checks if this AFNaming instance can be shut down remotely.
isRunning() - Method in class org.newsclub.net.unix.server.SocketServer
Checks if the server is running.
isRunning() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Checks if the watcher run loop is running.
isRunningOnAndroid() - Static method in class org.newsclub.net.unix.AFSocket
Checks if we're running on Android (as far as junixsocket is concerned).
isService() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns true iff the corresponding subscription has the AFTIPCTopologySubscription.Flags.TIPC_SUB_SERVICE flag set.
isService() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Returns true iff the subscription has the AFTIPCTopologySubscription.Flags.TIPC_SUB_SERVICE flag set.
isServiceRange() - Method in class org.newsclub.net.unix.tipc.AFTIPCDestName
Checks if this DestName describes a service range (as opposed to a service) address.
isShutdownAllowed() - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Indicates whether a remote-shutdown of the RMI registry is allowed.
isSupported() - Static method in class org.newsclub.net.unix.AFServerSocket
Checks whether everything is setup to support junixsocket sockets.
isSupported() - Static method in class org.newsclub.net.unix.AFSocket
Returns true iff AFSockets are supported by the current Java VM.
isSupported() - Static method in class org.newsclub.net.unix.AFUNIXSocket
Returns true iff AFUNIXSockets are supported by the current Java VM.
isSupported() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
Returns true iff AFSYSTEMSockets (sockets of type "AF_SYSTEM") are supported by the current Java VM and the kernel.
isSupported() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Returns true iff AFTIPCSockets (sockets of type "AF_TIPC") are supported by the current Java VM and the kernel.
isSupported() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
Returns true iff AFVSOCKSockets (sockets of type "AF_VSOCK") are supported by the current Java VM and the kernel.
isSupportedAddress(InetAddress) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Checks if an InetAddress can be unwrapped to an AFGenericSocketAddress.
isSupportedAddress(InetAddress) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Checks if an InetAddress can be unwrapped to an AFSYSTEMSocketAddress.
isSupportedAddress(InetAddress) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Checks if an InetAddress can be unwrapped to an AFTIPCSocketAddress.
isSupportedAddress(InetAddress) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Checks if an InetAddress can be unwrapped to an AFUNIXSocketAddress.
isSupportedAddress(InetAddress) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Checks if an InetAddress can be unwrapped to an AFVSOCKSocketAddress.
isSupportedAddress(InetAddress, AFAddressFamily<?>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Checks if the given address is supported by this address family.
isSupportedAddress(SocketAddress) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Checks if a SocketAddress can be unwrapped to an AFGenericSocketAddress.
isSupportedAddress(SocketAddress) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Checks if a SocketAddress can be unwrapped to an AFSYSTEMSocketAddress.
isSupportedAddress(SocketAddress) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Checks if a SocketAddress can be unwrapped to an AFTIPCSocketAddress.
isSupportedAddress(SocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Checks if a SocketAddress can be unwrapped to an AFUNIXSocketAddress.
isSupportedAddress(SocketAddress) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Checks if a SocketAddress can be unwrapped to an AFVSOCKSocketAddress.
isTimeout() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns true iff the event type is AFTIPCTopologyEvent.Type.TIPC_SUBSCR_TIMEOUT.
isUseDeserializationForInit() - Static method in class org.newsclub.net.unix.AFSocketAddress
Checks if AFSocketAddress instantiation should be performed via deserialization.
isVirtualThread() - Static method in class org.newsclub.net.unix.ThreadUtil
Checks if the current Thread is to be considered a virtual thread.
isVirtualThreadSupported() - Static method in class org.newsclub.net.unix.ThreadUtil
Checks if virtual threads are considered to be supported (and therefore if special support should be enabled).
isWithdrawn() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Returns true iff the event type is AFTIPCTopologyEvent.Type.TIPC_WITHDRAWN.

J

join(InetAddress) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
join(InetAddress, NetworkInterface) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
join(InetAddress, NetworkInterface, InetAddress) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
joinGroup(SocketAddress, NetworkInterface) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 

K

KnownJavaBugIOException - Exception Class in org.newsclub.net.unix
Thrown when a known Java/JRE/JDK bug was encountered.
KnownJavaBugIOException() - Constructor for exception class org.newsclub.net.unix.KnownJavaBugIOException
Constructs an KnownJDKBugIOException with null as its error detail message.
KnownJavaBugIOException(String) - Constructor for exception class org.newsclub.net.unix.KnownJavaBugIOException
Constructs an IOException with the specified detail message.
KnownJavaBugIOException(String, Throwable) - Constructor for exception class org.newsclub.net.unix.KnownJavaBugIOException
Constructs an IOException with the specified detail message and cause.
KnownJavaBugIOException(Throwable) - Constructor for exception class org.newsclub.net.unix.KnownJavaBugIOException
Constructs an IOException with the specified cause and null as its error detail message.

L

leave(InetAddress) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
leaveGroup(SocketAddress, NetworkInterface) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
list() - Method in class org.newsclub.net.unix.rmi.AFRegistry
 
list() - Method in class org.newsclub.net.unix.rmi.AFNaming
Convenience method for getRegistry().list.
list() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Convenience method for getRegistry().list.
listen(int) - Method in class org.newsclub.net.unix.AFDatagramSocket
Sets this socket into "listen" state, which allows subsequent calls to AFDatagramSocket.accept() receive any connection attempt.
listen(int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
lookup(String) - Method in class org.newsclub.net.unix.rmi.AFRegistry
 
lookup(String) - Method in class org.newsclub.net.unix.rmi.AFNaming
Convenience method for getRegistry().lookup.
lookup(String) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Convenience method for getRegistry().lookup.
lookup(String, long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFRegistry
Returns the remote reference bound to the specified name in this registry.
lookup(String, long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFNaming
Convenience method for getRegistry().lookup.
lookup(String, long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Convenience method for getRegistry().lookup.
LOW - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions.MessageImportance
Low importance (the default).

M

main(String[]) - Static method in class org.newsclub.net.unix.AFUNIXSocket
Very basic self-test function.
main(String[]) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
Very basic self-test function.
main(String[]) - Static method in class org.newsclub.net.unix.demo.jpackagejlink.DemoMainClass
The entrypoint method for the jpackage or jlink demo binary.
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.fd.StreamClient
StreamClient command-line tool.
main(String[]) - Static method in class org.newsclub.net.unix.demo.rmi.fd.StreamServer
StreamServer command-line tool.
main(String[]) - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Very basic self-test function.
main(String[]) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
Very basic self-test function.
mapOrFail(SocketAddress) - Static method in class org.newsclub.net.unix.AFSocketAddress
Maps the given address to an AFSocketAddress.
mapOrFail(SocketAddress, Class<A>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Maps the given address to a specific AFSocketAddress type.
matches(SNIServerName) - Method in class org.newsclub.net.unix.ssl.CallbackSNIMatcher
 
mayRead(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
Checks if the given path may be accessed for reading.
mayWrite(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
Checks if the given path may be accessed for writing.
MCX_KERNCTL_ALR - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.mcx.kernctl.alr.
MEDIUM - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions.MessageImportance
Medium importance.

N

name() - Method in class org.newsclub.net.unix.AFSocketOption
 
name() - Method in class org.newsclub.net.unix.NamedInteger
Returns the name.
name() - Method in class org.newsclub.net.unix.NamedIntegerBitmask
Returns the name of the flag / flag set.
NamedInteger - Class in org.newsclub.net.unix
A "named integer", usually used for constants.
NamedInteger(int) - Constructor for class org.newsclub.net.unix.NamedInteger
Creates a new NamedInteger instance, without actually naming it.
NamedInteger(String, int) - Constructor for class org.newsclub.net.unix.NamedInteger
Creates a new NamedInteger instance.
NamedInteger.HasOfValue - Interface in org.newsclub.net.unix
Marks a subclass that provides a method "public static T ofValue(int v)" that allows casting an integer to this type via reflection.
NamedInteger.UndefinedValueConstructor<T> - Interface in org.newsclub.net.unix
Constructor for "undefined" values.
NamedIntegerBitmask<T> - Class in org.newsclub.net.unix
Describes a 32-bit bitmask that supports named flags.
NamedIntegerBitmask(String, int) - Constructor for class org.newsclub.net.unix.NamedIntegerBitmask
Creates a new named flag.
NamedIntegerBitmask.Constructor<T> - Interface in org.newsclub.net.unix
Creates a new instance.
NarMetadata - Class in org.newsclub.lib.junixsocket.common
Marker class to find native libraries in the classpath.
NarMetadata - Class in org.newsclub.lib.junixsocket.custom
Marker class to find native libraries in the classpath.
NECP_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.net.necp_control.
NET_NETAGENT - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.net.netagent.
NET_RVI_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.net.rvi_control.
NETSRC - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.netsrc.
NETWORK_ADVISORY - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.network.advisory.
NETWORK_STATISTICS - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.network.statistics.
NETWORK_TCP_CCDEBUG - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.network.tcp_ccdebug.
newAFRegistry(Registry) - Method in class org.newsclub.net.unix.rmi.AFNaming
Creates a new AFRegistry given a Registry implementation.
newAFRegistry(Registry) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
newAFSocketAddress(int, byte[], ObjectPool.Lease<ByteBuffer>) - Method in interface org.newsclub.net.unix.AFSocketAddress.AFSocketAddressConstructor
Constructs a new AFSocketAddress instance.
newBoundServerSocket() - Method in class org.newsclub.net.unix.AFSocketAddress
Creates a new server socket bound to this address.
newBoundServerSocket() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
newChannel() - Method in class org.newsclub.net.unix.AFDatagramSocket
Creates a new DatagramChannel that is associated with this socket.
newChannel() - Method in class org.newsclub.net.unix.AFServerSocket
Creates a new AFServerSocketChannel for this socket.
newChannel() - Method in class org.newsclub.net.unix.AFSocket
Creates a new AFSocketChannel for this socket.
newChannel() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
newChannel() - Method in class org.newsclub.net.unix.AFUNIXServerSocket
 
newChannel() - Method in class org.newsclub.net.unix.AFUNIXSocket
 
newChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
 
newChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
 
newChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
 
newChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
newChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
 
newChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCSocket
 
newChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
 
newChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
 
newChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
 
newConnectedSocket() - Method in class org.newsclub.net.unix.AFSocketAddress
Creates a new socket connected to this address.
newConnectedSocket() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
newConnectedSocket(AFSocketAddress) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
Creates a new socket that is connected to the given socket address.
newConnectedSocket(AFSocketAddress) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
newDatagramSocketInstance() - Method in class org.newsclub.net.unix.AFDatagramSocket
Returns a new AFDatagramSocket instance to be used for AFDatagramSocket.accept(), i.e., no FileDescriptor is associated.
newDatagramSocketInstance() - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
newDatagramSocketInstance() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
 
newDatagramSocketInstance() - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
newDatagramSocketInstance() - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
 
newDeserializedAFSocketAddress(int, byte[], ObjectPool.Lease<ByteBuffer>, AFAddressFamily<A>, AFSocketAddress.AFSocketAddressConstructor<A>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Returns a new AFSocketAddress instance via deserialization.
newForceBoundServerSocket() - Method in class org.newsclub.net.unix.AFSocketAddress
Creates a new server socket force-bound to this address (i.e., any additional call to ServerSocket.bind(SocketAddress) will ignore the passed address and use this one instead.
newForceBoundServerSocket() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.AFServerSocket
Creates a new AFSocketImpl.
newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.AFUNIXServerSocket
 
newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
 
newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
 
newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
 
newInputStream() - Method in class org.newsclub.net.unix.AFSocketImpl
Creates a new InputStream for this socket.
newInstance() - Method in interface org.newsclub.net.unix.AFSocketChannel.AFSocketSupplier
Returns a new AFSocket instance.
newInstance() - Static method in class org.newsclub.net.unix.AFUNIXDatagramSocket
Returns a new AFUNIXDatagramSocket instance.
newInstance() - Static method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new, unbound AF_UNIX ServerSocket.
newInstance() - Static method in class org.newsclub.net.unix.AFUNIXSocket
Creates a new, unbound AFSocket.
newInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
Returns a new AFSYSTEMDatagramSocket instance, using the default AFSocketType.SOCK_DGRAM socket type.
newInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
Returns a new, unbound AF_SYSTEM ServerSocket.
newInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
Creates a new, unbound AFSocket.
newInstance() - Static method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
Returns a new AFTIPCDatagramSocket instance, using the default AFSocketType.SOCK_DGRAM socket type.
newInstance() - Static method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
Returns a new, unbound AF_TIPC ServerSocket.
newInstance() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Creates a new, unbound AFSocket.
newInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
Returns a new AFVSOCKDatagramSocket instance, using the default AFSocketType.SOCK_DGRAM socket type.
newInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
Returns a new, unbound AF_VSOCK ServerSocket.
newInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
Creates a new, unbound AFSocket.
newInstance(int) - Method in interface org.newsclub.net.unix.NamedInteger.UndefinedValueConstructor
Creates a new "undefined" value instance.
newInstance(int) - Method in interface org.newsclub.net.unix.rmi.AFNamingProvider
Creates a new AFNaming instance using the given registry port.
newInstance(FileDescriptor) - Method in interface org.newsclub.net.unix.AFServerSocket.Constructor
Creates a new AFServerSocket instance.
newInstance(FileDescriptor, AFSocketFactory<A>) - Method in interface org.newsclub.net.unix.AFSocket.Constructor
Constructs a new AFSocket subclass instance.
newInstance(String, int) - Method in interface org.newsclub.net.unix.NamedIntegerBitmask.Constructor
Creates a new instance.
newInstance(AFDatagramSocket.Constructor<A>) - Static method in class org.newsclub.net.unix.AFDatagramSocket
Returns a new AFDatagramSocket instance.
newInstance(AFDatagramSocket.Constructor<A>, FileDescriptor, int, int) - Static method in class org.newsclub.net.unix.AFDatagramSocket
Creates a new AFDatagramSocket.
newInstance(AFServerSocket.Constructor<A>) - Static method in class org.newsclub.net.unix.AFServerSocket
Creates a new AFServerSocket instance, using the given subclass constructor.
newInstance(AFServerSocket.Constructor<A>, FileDescriptor, int, int) - Static method in class org.newsclub.net.unix.AFServerSocket
Creates a new AFServerSocket instance, using the given subclass constructor.
newInstance(AFSocket.Constructor<A>, AFSocketFactory<A>) - Static method in class org.newsclub.net.unix.AFSocket
Creates a new, unbound AFSocket.
newInstance(AFSocketType) - Static method in class org.newsclub.net.unix.AFUNIXDatagramSocket
Returns a new AFUNIXDatagramSocket instance for the given socket type.
newInstance(AFSocketType) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
Returns a new AFSYSTEMDatagramSocket instance for the given socket type.
newInstance(AFSocketType) - Static method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
Returns a new AFTIPCDatagramSocket instance for the given socket type.
newInstance(AFSocketType) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
Returns a new AFVSOCKDatagramSocket instance for the given socket type.
newKeyStorePKCS12() - Static method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Returns a new PKCS12 KeyStoreException instance.
newOutputStream() - Method in class org.newsclub.net.unix.AFSocketImpl
Creates a new OutputStream for this socket.
newPort() - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Registers a new anonymous port and returns it.
newPort() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
newPortLease() - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
Returns a new free port.
newPrivateInstance() - Static method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Returns a new private instance that resides in a custom location, to avoid any collisions with existing instances.
newServerSocket() - Method in class org.newsclub.net.unix.AFAddressFamily
Creates a new, unconnected, unbound server socket compatible with this socket address.
newServerSocket() - Method in class org.newsclub.net.unix.server.AFSocketServer
 
newServerSocket() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
Deprecated.
 
newServerSocket() - Method in class org.newsclub.net.unix.server.SocketServer
Returns a new server socket.
newServerSocketChannel() - Method in class org.newsclub.net.unix.AFAddressFamily
Creates a new, unconnected, unbound ServerSocketChannel compatible with this socket address.
newSocket() - Method in class org.newsclub.net.unix.AFAddressFamily
Creates a new, unconnected, unbound socket compatible with this socket address.
newSocket() - Method in class org.newsclub.net.unix.AFSelectorProvider
Constructs a new socket.
newSocket() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
newSocket() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
newSocket() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
newSocket() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
newSocket(FileDescriptor) - Method in interface org.newsclub.net.unix.AFDatagramSocket.Constructor
Constructs a new DatagramSocket instance.
newSocketAddress(int) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
Creates a new socket address for the given RMI port.
newSocketAddress(int) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
newSocketChannel() - Method in class org.newsclub.net.unix.AFAddressFamily
Creates a new, unconnected, unbound SocketChannel compatible with this socket address.
newSocketInstance() - Method in class org.newsclub.net.unix.AFServerSocket
Returns a new AFSocket instance.
newSocketInstance() - Method in class org.newsclub.net.unix.AFUNIXServerSocket
Returns a new AFSocket instance.
newSocketInstance() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
 
newSocketInstance() - Method in class org.newsclub.net.unix.tipc.AFTIPCServerSocket
 
newSocketInstance() - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
 
newSocketPair(P, P) - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
newSocketPair(P, P) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
Constructs a new socket pair from two sockets.
newSocketPair(P, P) - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
Constructs a new socket pair from two sockets.
newSocketPair(P, P) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
Constructs a new socket pair from two sockets.
newSocketPair(Y, Y) - Method in class org.newsclub.net.unix.AFSelectorProvider
Constructs a new socket pair from two sockets.
newStrictInstance() - Static method in class org.newsclub.net.unix.AFUNIXSocket
Creates a new, unbound, "strict" AFSocket.
newStrictInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
Creates a new, unbound, "strict" AFSocket.
newStrictInstance() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocket
Creates a new, unbound, "strict" AFSocket.
newStrictInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
Creates a new, unbound, "strict" AFSocket.
newVirtualThreadPerTaskExecutor() - Static method in class org.newsclub.net.unix.ThreadUtil
Returns a new "virtual thread per task executor".
NKE_SOCKWALL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.nke.sockwall.
NKE_WEBCONTENTFILTER - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.nke.webcontentfilter.
NONE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
No flags set.
NONE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
"No group".
NONE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
No flags set.
NoSuchDeviceSocketException - Exception Class in org.newsclub.net.unix
A SocketException that may be thrown upon some "no such device" condition from native code (e.g., ENODEV is returned).
NoSuchDeviceSocketException() - Constructor for exception class org.newsclub.net.unix.NoSuchDeviceSocketException
Constructs a new NoSuchDeviceSocketException.
NoSuchDeviceSocketException(String) - Constructor for exception class org.newsclub.net.unix.NoSuchDeviceSocketException
Constructs a new NoSuchDeviceSocketException.
NotBoundSocketException - Exception Class in org.newsclub.net.unix
A SocketException indicating that a socket was not bound when attempting to read or write.
NotBoundSocketException() - Constructor for exception class org.newsclub.net.unix.NotBoundSocketException
Constructs a new NotBoundSocketException.
NotConnectedSocketException - Exception Class in org.newsclub.net.unix
A SocketException indicating that a socket was not connected when attempting to read or write.
NotConnectedSocketException() - Constructor for exception class org.newsclub.net.unix.NotConnectedSocketException
Constructs a new NotConnectedSocketException.
NotConnectedSocketException(String) - Constructor for exception class org.newsclub.net.unix.NotConnectedSocketException
Constructs a new NotConnectedSocketException.
nullBindAddress() - Method in class org.newsclub.net.unix.AFAddressFamily
Returns an appropriate SocketAddress to be used when calling bind with a null argument.
nullBindAddress() - Method in class org.newsclub.net.unix.AFSocketAddressConfig
Returns an appropriate SocketAddress to be used when calling bind with a null argument.

O

of(byte[]) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to the AF_UNIX socket specified by the given byte sequence.
of(byte[], int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to the AF_UNIX socket specified by the given byte sequence, assigning the given port to it.
of(File) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to the AF_UNIX socket specified by the given file.
of(File, int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to the AF_UNIX socket specified by the given file, assigning the given port to it.
of(SocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress based on the given SocketAddress.
of(URI) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns an AFGenericSocketAddress for the given URI, if possible.
of(URI) - Static method in class org.newsclub.net.unix.AFSocketAddress
Tries to parse the given URI and return a corresponding AFSocketAddress for it.
of(URI) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress for the given URI, if possible.
of(URI) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress for the given URI, if possible.
of(URI) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress for the given URI, if possible.
of(URI) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress for the given URI, if possible.
of(URI, int) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns an AFGenericSocketAddress for the given URI, if possible.
of(URI, int) - Static method in class org.newsclub.net.unix.AFSocketAddress
Tries to parse the given URI and return a corresponding AFSocketAddress for it.
of(URI, int) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress for the given URI, if possible.
of(URI, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress for the given URI, if possible.
of(URI, int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress for the given URI, if possible.
of(URI, int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress for the given URI, if possible.
of(Path) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to the AF_UNIX socket specified by the given path.
of(Path, int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to the AF_UNIX socket specified by the given path, assigning the given port to it.
ofAnyHostPort() - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress, especially useful for binding, that refers to "any" port on the host; the "java port" is set to -1.
ofAnyHypervisorPort() - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress, especially useful for binding, that refers to "any" port on the hypervisor; the "java port" is set to -1.
ofAnyLocalPort() - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress, especially useful for binding, that refers to "any" port with the local/loopback CID; the "java port" is set to -1.
ofAnyPort() - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress, especially useful for binding, that refers to "any" port and CID; the "java port" is set to -1.
ofHostPort(int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress that refers to a given VSOCK port on the host; the "java port" is set to -1.
ofHypervisorPort(int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress that refers to a given VSOCK port on the hypervisor; the "java port" is set to -1.
ofLocalPort(int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress that refers to the given port with the local/loopback CID; the "java port" is set to -1.
ofNewTempFile() - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to a temporary, non-existent but accessible path in the file system.
ofNewTempPath(int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress that points to a temporary, non-existent but accessible path in the file system, assigning the given port to it.
ofPortAndCID(int, int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress that refers to a given VSOCK port and CID; the "java port" is set to -1.
ofPortAndCID(int, int, int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress that refers to a given port and CID.
ofPortWithAnyCID(int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress, especially useful for binding, that refers to the given port with "any CID"; the "java port" is set to -1.
ofService(int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service type and instance, implicitly using cluster scope (AFTIPCSocketAddress.Scope.SCOPE_CLUSTER).
ofService(int, AFTIPCSocketAddress.Scope, int, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service type and instance, using the given scope and the given lookup domain.
ofService(AFTIPCSocketAddress.Scope, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service type and instance, using the given scope.
ofService(AFTIPCSocketAddress.Scope, int, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service type and instance, using the given scope and the given lookup domain.
ofServiceRange(int, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service range type and instance boundaries (lower/upper values), implicitly using cluster scope (AFTIPCSocketAddress.Scope.SCOPE_CLUSTER).
ofServiceRange(int, AFTIPCSocketAddress.Scope, int, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service range type and instance boundaries (lower/upper values), implicitly using cluster scope (AFTIPCSocketAddress.Scope.SCOPE_CLUSTER).
ofServiceRange(AFTIPCSocketAddress.Scope, int, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given service range type and instance boundaries (lower/upper values), using the given scope.
ofSocket(int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given TIPC socket address (i.e., referring to a particular socket instance instead of a service address).
ofSocket(int, int, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to a given TIPC socket address (i.e., referring to a particular socket instance instead of a service address).
ofSysAddrIdUnit(int, AFSYSTEMSocketAddress.SysAddr, int, int) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress that refers to a given AF_SYSTEM socket address (i.e., referring to a particular socket instance instead of a service address).
ofSysAddrIdUnit(AFSYSTEMSocketAddress.SysAddr, int, int) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress that refers to a given AF_SYSTEM socket address (i.e., referring to a particular socket instance instead of a service address).
ofTopologyService() - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress that refers to the topology service.
ofValue(int) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress.SysAddr
Returns a AFSYSTEMSocketAddress.SysAddr for the given custom value.
ofValue(int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress.Scope
Returns a AFTIPCSocketAddress.Scope instance given an integer value.
ofValue(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
Returns an AFTIPCErrInfo.ErrorCode instance given an integer.
ofValue(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
Returns a AFTIPCGroupRequest.GroupRequestFlags instance given an integer value.
ofValue(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions.MessageImportance
Returns a AFTIPCSocketOptions.MessageImportance instance for the given value.
ofValue(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent.Type
Returns an AFTIPCTopologyEvent.Type instance given an integer.
ofValue(int) - Static method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
Returns a AFTIPCTopologySubscription.Flags instance given an integer value.
ofValue(T[], NamedInteger.UndefinedValueConstructor<T>, int) - Static method in class org.newsclub.net.unix.NamedInteger
Returns an instance given an integer value.
onAfterServingSocket(S) - Method in class org.newsclub.net.unix.server.SocketServer
Called after the socket has been served.
onBeforeServingSocket(S) - Method in class org.newsclub.net.unix.server.SocketServer
Called before serving the socket.
onCertificateException(boolean, CertificateException, X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.FilterX509TrustManager
Called whenever the wrapped X509TrustManager throws an exception when checking client or server certificate chains.
onCertificateException(boolean, CertificateException, X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.ValidatingX509TrustManager
 
onCertificateTrusted(boolean, X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.FilterX509TrustManager
Called whenever the wrapped X509TrustManager trusted a given client or server certificate chains.
onCertificateTrusted(boolean, X509Certificate[], String) - Method in class org.newsclub.net.unix.ssl.ValidatingX509TrustManager
 
onClose() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
onEvent(AFTIPCTopologyEvent) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Called for every event encountered by the run loop.
onListenException(Exception) - Method in class org.newsclub.net.unix.server.SocketServer
onListenException(Throwable) - Method in class org.newsclub.net.unix.server.SocketServer
Called when an exception was thrown while listening on the server socket.
onMatch(SNIServerName, boolean) - Method in interface org.newsclub.net.unix.ssl.CallbackSNIMatcher.Callback
Called upon SNIMatcher.matches(SNIServerName), along with the result.
onServerBound(A) - Method in class org.newsclub.net.unix.server.SocketServer
Called when the server has been bound to a socket.
onServerBusy(long) - Method in class org.newsclub.net.unix.server.SocketServer
Called when the server is busy / not ready to accept a new connection.
onServerReady(int) - Method in class org.newsclub.net.unix.server.SocketServer
Called when the server is ready to accept a new connection.
onServerShuttingDown() - Method in class org.newsclub.net.unix.server.SocketServer
Called when the server is shutting down.
onServerStarting() - Method in class org.newsclub.net.unix.server.SocketServer
Called when the server is starting up.
onServerStopped(V) - Method in class org.newsclub.net.unix.server.SocketServer
Called when the server has been stopped.
onServingException(S, Exception) - Method in class org.newsclub.net.unix.server.SocketServer
onServingException(S, Throwable) - Method in class org.newsclub.net.unix.server.SocketServer
Called when a throwable was thrown while serving a socket.
onSocketExceptionAfterAccept(S, SocketException) - Method in class org.newsclub.net.unix.server.SocketServer
Called when a SocketException was thrown during "accept".
onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.server.SocketServer
Called when a SocketException was thrown during "accept".
onSubmitted(S, Future<?>) - Method in class org.newsclub.net.unix.server.SocketServer
Called when a socket gets submitted into the process queue.
open() - Static method in class org.newsclub.net.unix.AFPipe
Opens an AFPipe.
open() - Static method in class org.newsclub.net.unix.AFUNIXDatagramChannel
Opens a datagram channel.
open() - Static method in class org.newsclub.net.unix.AFUNIXServerSocketChannel
Opens a server-socket channel.
open() - Static method in class org.newsclub.net.unix.AFUNIXSocketChannel
Opens a socket channel.
open() - Static method in class org.newsclub.net.unix.AFUNIXSocketPair
Opens a socket pair of interconnected channels.
open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramChannel
Opens a datagram channel.
open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocketChannel
Opens a server-socket channel.
open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketChannel
Opens a socket channel.
open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketPair
Opens a socket pair of interconnected channels.
open() - Static method in class org.newsclub.net.unix.tipc.AFTIPCDatagramChannel
Opens a datagram channel.
open() - Static method in class org.newsclub.net.unix.tipc.AFTIPCServerSocketChannel
Opens a server-socket channel.
open() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocketChannel
Opens a datagram channel.
open() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocketPair
Opens a socket pair of interconnected channels.
open() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramChannel
Opens a datagram channel.
open() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocketChannel
Opens a server-socket channel.
open() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocketChannel
Opens a socket channel.
open() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocketPair
Opens a socket pair of interconnected channels.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.AFDatagramChannel
Opens a datagram channel.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.AFServerSocketChannel
Opens a server-socket channel.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.AFSocketChannel
Opens a socket channel.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.AFUNIXDatagramChannel
Opens a datagram channel.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramChannel
Opens a datagram channel.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.tipc.AFTIPCDatagramChannel
Opens a datagram channel.
open(ProtocolFamily) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramChannel
Opens a datagram channel.
open(SocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXSocketChannel
Opens a socket channel, connecting to the given socket address.
open(AFSocketChannel.AFSocketSupplier<A>) - Static method in class org.newsclub.net.unix.AFSocketChannel
Opens a socket channel.
open(AFSocketChannel.AFSocketSupplier<A>, SocketAddress) - Static method in class org.newsclub.net.unix.AFSocketChannel
Opens a socket channel, connecting to the given socket address.
openDatagram() - Static method in class org.newsclub.net.unix.AFUNIXSocketPair
Opens a socket pair of interconnected datagram channels.
openDatagram() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketPair
Opens a socket pair of interconnected datagram channels.
openDatagram() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSocketPair
Opens a socket pair of interconnected datagram channels.
openDatagram() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocketPair
Opens a socket pair of interconnected datagram channels.
openDatagram(AFSocketType) - Static method in class org.newsclub.net.unix.AFUNIXSocketPair
Opens a socket pair of interconnected DatagramChannels, using the given socket type.
openDatagramChannel() - Method in interface org.newsclub.net.unix.AFProtocolFamily
Creates a new datagram channel compatible with this protocol family.
openDatagramChannel() - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openDatagramChannel() - Method in enum class org.newsclub.net.unix.AFUNIXProtocolFamily
 
openDatagramChannel() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openDatagramChannel() - Method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
 
openDatagramChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openDatagramChannel() - Method in enum class org.newsclub.net.unix.tipc.AFTIPCProtocolFamily
 
openDatagramChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openDatagramChannel() - Method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
 
openDatagramChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.AFSelectorProvider
Opens a DatagramChannel using the given socket type.
openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openDatagramChannelPair() - Method in class org.newsclub.net.unix.AFSelectorProvider
Opens a socket pair of interconnected datagram channels.
openDatagramChannelPair() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openDatagramChannelPair() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openDatagramChannelPair() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openDatagramChannelPair() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openDatagramChannelPair(AFSocketType) - Method in class org.newsclub.net.unix.AFSelectorProvider
Opens a socket pair of interconnected DatagramChannels, using the given AFSocketType.
openDatagramChannelPair(AFSocketType) - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openDatagramChannelPair(AFSocketType) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openDatagramChannelPair(AFSocketType) - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openDatagramChannelPair(AFSocketType) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openDirectConnector() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKProxyServerSocketConnector
Returns an instance that is configured to connect directly to the given address.
openDirectConnector() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKProxySocketConnector
Returns an instance that is configured to connect directly to the given address.
openFirecrackerStyleConnector(File, int) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKProxyServerSocketConnector
Returns an instance that is configured to support [Firecracker-style](https://github.com/firecracker-microvm/firecracker/blob/main/docs/vsock.md) Unix domain sockets.
openFirecrackerStyleConnector(AFUNIXSocketAddress, int) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKProxySocketConnector
Returns an instance that is configured to support [Firecracker-style](https://github.com/firecracker-microvm/firecracker/blob/main/docs/vsock.md) Unix domain sockets.
openForReading(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
 
openForReading(File) - Method in interface org.newsclub.net.unix.demo.rmi.services.StreamService
Opens the given file for reading.
openForWriting(File) - Method in class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
 
openForWriting(File) - Method in interface org.newsclub.net.unix.demo.rmi.services.StreamService
Opens the given file for writing.
openPipe() - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openPorts() - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Returns a stream of open ports.
openRegistry(long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFNaming
Tries to access the registry, waiting some time if necessary.
openRegistry(long, TimeUnit) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
openSelector() - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openServerSocketChannel() - Method in interface org.newsclub.net.unix.AFProtocolFamily
Creates a new server socket channel compatible with this protocol family.
openServerSocketChannel() - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openServerSocketChannel() - Method in enum class org.newsclub.net.unix.AFUNIXProtocolFamily
 
openServerSocketChannel() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openServerSocketChannel() - Method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
 
openServerSocketChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openServerSocketChannel() - Method in enum class org.newsclub.net.unix.tipc.AFTIPCProtocolFamily
 
openServerSocketChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openServerSocketChannel() - Method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
 
openServerSocketChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openServerSocketChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.AFSelectorProvider
Opens a server-socket channel bound on the given SocketAddress.
openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openSocketChannel() - Method in interface org.newsclub.net.unix.AFProtocolFamily
Creates a new socket channel compatible with this protocol family.
openSocketChannel() - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openSocketChannel() - Method in enum class org.newsclub.net.unix.AFUNIXProtocolFamily
 
openSocketChannel() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openSocketChannel() - Method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
 
openSocketChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openSocketChannel() - Method in enum class org.newsclub.net.unix.tipc.AFTIPCProtocolFamily
 
openSocketChannel() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openSocketChannel() - Method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
 
openSocketChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openSocketChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.AFSelectorProvider
 
openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.AFSelectorProvider
Opens a socket channel connected to the given SocketAddress.
openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
openSocketChannelPair() - Method in class org.newsclub.net.unix.AFSelectorProvider
Opens a socket pair of interconnected channels.
openSocketChannelPair() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
openSocketChannelPair() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
openSocketChannelPair() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
openSocketChannelPair() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
OperationNotSupportedSocketException - Exception Class in org.newsclub.net.unix
A SocketException that may be thrown upon some "unsupported operation" condition from native code (e.g., ENOTSUP, EOPNOTSUPP, EPROTONOSUPPORT, ESOCKTNOSUPPORT, EPFNOSUPPORT, EAFNOSUPPORT is returned).
OperationNotSupportedSocketException() - Constructor for exception class org.newsclub.net.unix.OperationNotSupportedSocketException
OperationNotSupportedSocketException(String) - Constructor for exception class org.newsclub.net.unix.OperationNotSupportedSocketException
org.newsclub.lib.junixsocket.common - package org.newsclub.lib.junixsocket.common
Helper package to identify the Maven artifact with JNI libraries for common architectures.
org.newsclub.lib.junixsocket.custom - package org.newsclub.lib.junixsocket.custom
Helper package to identify the Maven artifact with JNI libraries for specific architectures.
org.newsclub.net.mysql - module org.newsclub.net.mysql
MySQL-specific code.
org.newsclub.net.mysql - package org.newsclub.net.mysql
Provides code that allows interaction with MySQL databases over AF_UNIX sockets.
org.newsclub.net.unix - module org.newsclub.net.unix
The common junixsocket classes.
org.newsclub.net.unix - package org.newsclub.net.unix
The junixsocket base implementation, including support for AF_UNIX sockets.
org.newsclub.net.unix.darwin - module org.newsclub.net.unix.darwin
The junixsocket implementation for things specific to Darwin (macOS kernel), such as AF_SYSTEM sockets.
org.newsclub.net.unix.darwin.system - package org.newsclub.net.unix.darwin.system
The junixsocket implementation for Darwin AF_SYSTEM sockets.
org.newsclub.net.unix.demo - module org.newsclub.net.unix.demo
Some demo code.
org.newsclub.net.unix.demo.jpackagejlink - module org.newsclub.net.unix.demo.jpackagejlink
jpackage/jlink demo module
org.newsclub.net.unix.demo.jpackagejlink - package org.newsclub.net.unix.demo.jpackagejlink
 
org.newsclub.net.unix.demo.rmi.fd - package org.newsclub.net.unix.demo.rmi.fd
 
org.newsclub.net.unix.demo.rmi.services - package org.newsclub.net.unix.demo.rmi.services
 
org.newsclub.net.unix.rmi - module org.newsclub.net.unix.rmi
RMI support.
org.newsclub.net.unix.rmi - package org.newsclub.net.unix.rmi
Provides code that allows RMI communication over AF_UNIX sockets.
org.newsclub.net.unix.server - module org.newsclub.net.unix.server
Base implementation for junixsocket servers.
org.newsclub.net.unix.server - package org.newsclub.net.unix.server
 
org.newsclub.net.unix.ssl - module org.newsclub.net.unix.ssl
junixsocket-ssl
org.newsclub.net.unix.ssl - package org.newsclub.net.unix.ssl
 
org.newsclub.net.unix.tipc - module org.newsclub.net.unix.tipc
The junixsocket implementation for AF_TIPC sockets.
org.newsclub.net.unix.tipc - package org.newsclub.net.unix.tipc
The junixsocket implementation for AF_TIPC sockets.
org.newsclub.net.unix.vsock - module org.newsclub.net.unix.vsock
The junixsocket implementation for AF_VSOCK sockets.
org.newsclub.net.unix.vsock - package org.newsclub.net.unix.vsock
The junixsocket implementation for AF_VSOCK sockets.

P

PACKET_MANGLER - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.packet-mangler.
parseFrom(URI) - Static method in class org.newsclub.net.unix.HostAndPort
Tries to extract hostname and port information from the given URI.
parseUnsignedInt(String, int) - Static method in class org.newsclub.net.unix.AFSocketAddress
Parses the string argument as an unsigned integer in the radix specified by the second argument.
parseURI(URI, int) - Method in class org.newsclub.net.unix.AFSocketAddressConfig
Tries to parse the given address-specific URI.
peek(DatagramPacket) - Method in class org.newsclub.net.unix.AFDatagramSocket
Reads the next received packet without actually removing it from the queue.
peek(InetAddress) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
peekData(DatagramPacket) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
performTlsHandshake(SocketConnection, ServerSession) - Method in class org.newsclub.net.mysql.AFUNIXDatabaseSocketFactoryCJ
 
printStackTrace(Throwable) - Static method in class org.newsclub.net.unix.StackTraceUtil
Print/Log the stack trace of the given Throwable.
printStackTraceSevere(Throwable) - Static method in class org.newsclub.net.unix.StackTraceUtil
Print/Log the stack trace of the given Throwable, marking this entry as a "severe condition".
protocolFamily() - Method in class org.newsclub.net.unix.AFSelectorProvider
Returns the protocol family supported by this implementation.
protocolFamily() - Method in class org.newsclub.net.unix.AFUNIXSelectorProvider
 
protocolFamily() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
 
protocolFamily() - Method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
 
protocolFamily() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
 
provider() - Static method in class org.newsclub.net.unix.AFSelectorProvider
Returns the singleton instance for an "fallback" provider that supports the methods taking ProtocolFamily, as long as a junixsocket-specific AFProtocolFamily is used.
provider() - Static method in class org.newsclub.net.unix.AFUNIXSelectorProvider
Returns the singleton instance.
provider() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
Returns the singleton instance.
provider() - Static method in class org.newsclub.net.unix.tipc.AFTIPCSelectorProvider
Returns the singleton instance.
provider() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
Returns the singleton instance.
putICMPEchoResponse(ByteBuffer, short, short, ByteBuffer) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
Put (write) an ICMP echo response header to the given byte buffer, using the given parameters.
putIPv4Header(ByteBuffer, int, byte, int, int) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
Put (write) an IPv4 header to the given byte buffer, using the given parameters.

R

read(ByteBuffer) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
read(ByteBuffer) - Method in class org.newsclub.net.unix.AFPipe.SourceChannel
 
read(ByteBuffer) - Method in class org.newsclub.net.unix.AFSocketChannel
 
read(ByteBuffer[]) - Method in class org.newsclub.net.unix.AFPipe.SourceChannel
 
read(ByteBuffer[], int, int) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
read(ByteBuffer[], int, int) - Method in class org.newsclub.net.unix.AFPipe.SourceChannel
 
read(ByteBuffer[], int, int) - Method in class org.newsclub.net.unix.AFSocketChannel
 
readExternal(ObjectInput) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
 
readExternal(ObjectInput) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
readExternal(ObjectInput) - Method in class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
 
readNamingInstance(ObjectInput) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
Deserializes information necessary to instantiate the AFNaming instance.
readNamingInstance(ObjectInput) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
rebind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFRegistry
 
rebind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFNaming
Convenience method for getRegistry().rebind.
rebind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Convenience method for getRegistry().rebind.
receive(DatagramPacket) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
receive(DatagramPacket) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
receive(ByteBuffer) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
registerAddressFamily(String, Class<A>, AFSocketAddressConfig<A>) - Static method in class org.newsclub.net.unix.AFAddressFamily
Registers an address family.
registerAddressFamilyImpl(String, AFAddressFamily<A>, AFAddressFamilyConfig<A>) - Static method in class org.newsclub.net.unix.AFAddressFamily
Registers an implementation.
registerForShutdown(Closeable) - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Adds the given Closeable to the list of instances to be closed upon shutdown of the RMI registry.
RemoteCloseable<T> - Interface in org.newsclub.net.unix.rmi
A resource that can be exposed remotely, and closed locally as well as remotely.
RemoteCloseableImpl<T> - Class in org.newsclub.net.unix.rmi
The default implementation of RemoteCloseable.
RemoteCloseableImpl(RMISocketFactory, T) - Constructor for class org.newsclub.net.unix.rmi.RemoteCloseableImpl
Created a new instance.
RemoteFileDescriptor - Class in org.newsclub.net.unix.rmi
A generic (unspecific) FileDescriptor reference.
RemoteFileDescriptor() - Constructor for class org.newsclub.net.unix.rmi.RemoteFileDescriptor
Creates an uninitialized instance; used for externalization.
RemoteFileDescriptor(AFUNIXRMISocketFactory, FileDescriptor) - Constructor for class org.newsclub.net.unix.rmi.RemoteFileDescriptor
Creates a new RemoteFileOutput instance, encapsulating a generic FileDescriptor so that it can be shared with other processes via RMI.
RemoteFileDescriptorBase<T> - Class in org.newsclub.net.unix.rmi
A wrapper that allows a FileDescriptor be sent via RMI over AF_UNIX sockets.
RemoteFileDescriptorBase() - Constructor for class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
Creates an uninitialized instance; used for externalization.
RemoteFileInput - Class in org.newsclub.net.unix.rmi
A specialized subclass of RemoteFileDescriptorBase, specifically for FileInputStreams.
RemoteFileInput() - Constructor for class org.newsclub.net.unix.rmi.RemoteFileInput
Creates an uninitialized instance; used for externalization.
RemoteFileInput(AFUNIXRMISocketFactory, FileInputStream) - Constructor for class org.newsclub.net.unix.rmi.RemoteFileInput
Creates a new RemoteFileInput instance, encapsulating a FileInputStream so that it can be shared with other processes via RMI.
RemoteFileOutput - Class in org.newsclub.net.unix.rmi
A specialized subclass of RemoteFileDescriptorBase, specifically for FileOutputStreams.
RemoteFileOutput() - Constructor for class org.newsclub.net.unix.rmi.RemoteFileOutput
Creates an uninitialized instance; used for externalization.
RemoteFileOutput(AFUNIXRMISocketFactory, FileOutputStream) - Constructor for class org.newsclub.net.unix.rmi.RemoteFileOutput
Creates a new RemoteFileOutput instance, encapsulating a FileOutputStream so that it can be shared with other processes via RMI.
remotePeerCredentials() - Static method in class org.newsclub.net.unix.AFUNIXSocketCredentials
Returns the AFUNIXSocketCredentials for the currently active remote session, or null if it was not possible to retrieve these credentials.
remotePeerCredentials() - Static method in class org.newsclub.net.unix.rmi.RemotePeerInfo
Returns the AFUNIXSocketCredentials for the currently active remote session (RemoteServer session during a remote method invocation), or null if it was not possible to retrieve these credentials.
remotePeerCredentials(Remote) - Static method in class org.newsclub.net.unix.rmi.RemotePeerInfo
Returns the AFUNIXSocketCredentials for the peer (server) of the given Remote instance, or null if it was not possible to retrieve these credentials.
RemotePeerInfo - Class in org.newsclub.net.unix.rmi
Information about the remote connection.
remove(Closeable) - Method in class org.newsclub.net.unix.Closeables
Removes the given closeable.
removeCloseable(Closeable) - Method in class org.newsclub.net.unix.AFServerSocket
Unregisters a previously registered Closeable.
removeCloseable(Closeable) - Method in class org.newsclub.net.unix.AFSocket
Unregisters a previously registered Closeable.
resolve(T[], T, NamedIntegerBitmask.Constructor<T>, int) - Static method in class org.newsclub.net.unix.NamedIntegerBitmask
Returns a NamedIntegerBitmask instance given a flag value.
resolve(T[], T, NamedIntegerBitmask.Constructor<T>, T[]) - Static method in class org.newsclub.net.unix.NamedIntegerBitmask
Returns a NamedIntegerBitmask instance given a series of flags.
resolveAddress(byte[], int, AFAddressFamily<A>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Resolves a junixsocket-specific byte-array representation of an AFSocketAddress to an actual AFSocketAddress instance, possibly reusing a cached instance.
resource - Variable in class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
An optional, closeable resource that is related to this instance.
returnPort(int) - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Returns a previously registered port.
returnPort(int) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
runLoop() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Runs a receive loop until AFTIPCTopologyWatcher.stopLoop() or AFTIPCTopologyWatcher.close() is called.
runOnSystemThread(Runnable) - Static method in class org.newsclub.net.unix.ThreadUtil
Ensures that the given operation is being executed on a system thread.

S

SAME_PROCESS - Static variable in class org.newsclub.net.unix.AFUNIXSocketCredentials
Special instance, indicating that there is no remote peer, but the referenced object is from the same process.
SCOPE_CLUSTER - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress.Scope
Cluster-wide scope.
SCOPE_NODE - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress.Scope
Node-only scope.
SCOPE_NOT_SPECIFIED - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress.Scope
Scope not specified (for example, when using socket addresses).
selectorProviderClassname() - Method in class org.newsclub.net.unix.AFSocketAddressConfig
Returns the name of the implementation's selector provider class.
send(DatagramPacket) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
send(DatagramPacket) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
send(ByteBuffer, SocketAddress) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
sendMessage(AFTIPCTopologySubscription) - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Sends a manually crafted subscription message to the TIPC topology server.
sendUrgentData(int) - Method in class org.newsclub.net.unix.AFSocketImpl
 
serverSocketChannelClass() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's ServerSocketChannel class.
serverSocketClass() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's ServerSocket class.
serverSocketConstructor() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's ServerSocket constructor.
SERVICE_ADDR - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress.AddressType
Describes a TIPC "service" address.
SERVICE_RANGE - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress.AddressType
Describes a TIPC "service range" address.
ServiceAddress(int, int) - Constructor for class org.newsclub.net.unix.tipc.AFTIPCSocketFactory.ServiceAddress
Creates an AFTIPCSocketFactory that always uses the given TIPC service type and instance, implying cluster scope.
setAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
setAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
setAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFSocket
 
setAncillaryReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFSocketChannel
 
setAncillaryReceiveBufferSize(int) - Method in interface org.newsclub.net.unix.AFSocketExtensions
Sets the size of the receive buffer for ancillary messages (in bytes).
setDeleteOnClose(boolean) - Method in class org.newsclub.net.unix.AFDatagramChannel
Enables/disables deleting this DatagramSocket's bound filename upon AbstractInterruptibleChannel.close().
setDeleteOnClose(boolean) - Method in class org.newsclub.net.unix.AFDatagramSocket
Enables/disables deleting this AFDatagramSocket's bound filename upon AFDatagramSocket.close().
setDeleteOnClose(boolean) - Method in class org.newsclub.net.unix.AFServerSocket
Enables/disables deleting this AFServerSocket's file (or other resource type) upon AFServerSocket.close().
setDeleteOnClose(boolean) - Method in class org.newsclub.net.unix.AFServerSocketChannel
Enables/disables deleting this AFServerSocketChannel's file (or other resource type) upon AbstractInterruptibleChannel.close().
setMaxConcurrentConnections(int) - Method in class org.newsclub.net.unix.server.SocketServer
Sets the maximum number of concurrent connections.
setOption(int, Object) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
setOption(int, Object) - Method in class org.newsclub.net.unix.AFSocketImpl
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFServerSocket
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFSocketChannel
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFSocketImpl
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
 
setOption(AFSocketOption<T>, T) - Method in class org.newsclub.net.unix.AFDatagramSocket
Sets the value of a socket option.
setOptionLenient(int, Object) - Method in class org.newsclub.net.unix.AFSocketImpl
Like AFSocketImpl.setOption(int, Object), but ignores exceptions for certain option IDs.
setOutboundFileDescriptors(FileDescriptor...) - Method in class org.newsclub.net.unix.AFUNIXDatagramChannel
 
setOutboundFileDescriptors(FileDescriptor...) - Method in class org.newsclub.net.unix.AFUNIXDatagramSocket
 
setOutboundFileDescriptors(FileDescriptor...) - Method in class org.newsclub.net.unix.AFUNIXSocket
 
setOutboundFileDescriptors(FileDescriptor...) - Method in class org.newsclub.net.unix.AFUNIXSocketChannel
 
setOutboundFileDescriptors(FileDescriptor...) - Method in interface org.newsclub.net.unix.AFUNIXSocketExtensions
Sets a list of FileDescriptors that should be sent as an ancillary message along with the next write.
setPerformancePreferences(int, int, int) - Method in class org.newsclub.net.unix.AFServerSocket
 
setReceiveBufferSize(int) - Method in class org.newsclub.net.unix.AFServerSocket
 
setRemoteShutdownAllowed(boolean) - Method in class org.newsclub.net.unix.rmi.AFNaming
Controls whether this AFNaming instance can be shut down remotely.
setReuseAddress(boolean) - Method in class org.newsclub.net.unix.AFServerSocket
 
setServerBusyTimeout(int) - Method in class org.newsclub.net.unix.server.SocketServer
Sets the server-busy timeout (in milliseconds).
setServerTimeout(int) - Method in class org.newsclub.net.unix.server.SocketServer
Sets the server timeout (in milliseconds).
setShutdownOnClose(boolean) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
setShutdownOnClose(boolean) - Method in class org.newsclub.net.unix.AFDatagramSocket
 
setShutdownOnClose(boolean) - Method in class org.newsclub.net.unix.AFServerSocket
 
setShutdownOnClose(boolean) - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
setShutdownOnClose(boolean) - Method in class org.newsclub.net.unix.AFSocket
 
setShutdownOnClose(boolean) - Method in class org.newsclub.net.unix.AFSocketChannel
 
setShutdownOnClose(boolean) - Method in interface org.newsclub.net.unix.AFSomeSocketThing
Configures whether the socket should be shutdown upon Closeable.close(), which is the default.
setSNIMatcher(SSLSocket, SNIMatcher) - Static method in class org.newsclub.net.unix.ssl.SSLParametersUtil
Sets an SNIMatcher instance with the parameters of the given SSLSocket (which should be in server mode).
setSNIServerName(SSLSocket, SNIServerName) - Static method in class org.newsclub.net.unix.ssl.SSLParametersUtil
Sets the desired SNI server name with the parameters of the given SSLSocket (which should be in client mode).
setSocketTimeout(int) - Method in class org.newsclub.net.unix.server.SocketServer
Sets the socket timeout (in milliseconds).
setSoTimeout(int) - Method in class org.newsclub.net.unix.AFServerSocket
 
setTimeToLive(int) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
setTreatAsVirtualThread(boolean) - Static method in class org.newsclub.net.unix.ThreadUtil
Marks the current platform Thread to be treated as a virtual thread, if possible.
setTTL(byte) - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
Deprecated.
shutdown() - Method in class org.newsclub.net.unix.AFSocketImpl
Shuts down both input and output at once.
shutdown() - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Asks that this RMI registry gets shut down.
shutdownInput() - Method in class org.newsclub.net.unix.AFSocketChannel
 
shutdownInput() - Method in class org.newsclub.net.unix.AFSocketImpl
 
shutdownOutput() - Method in class org.newsclub.net.unix.AFSocketChannel
 
shutdownOutput() - Method in class org.newsclub.net.unix.AFSocketImpl
 
shutdownRegistry() - Method in class org.newsclub.net.unix.rmi.AFNaming
Shuts this RMI Registry down.
shutdownRegistryFinishingTouches() - Method in class org.newsclub.net.unix.rmi.AFNaming
Called by AFNaming.shutdownRegistry() as the final step.
shutdownRegistryFinishingTouches() - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
 
sink() - Method in class org.newsclub.net.unix.AFPipe
 
SNIHostnameCapture - Class in org.newsclub.net.unix.ssl
Helper class to simplify retrieving the requested SNI hostname sent from an SSL client to an SSL server.
SOCK_DGRAM - Enum constant in enum class org.newsclub.net.unix.AFSocketType
Datagram-oriented socket.
SOCK_RAW - Enum constant in enum class org.newsclub.net.unix.AFSocketType
Raw mode.
SOCK_RDM - Enum constant in enum class org.newsclub.net.unix.AFSocketType
Reliably-delivered datagram messages.
SOCK_SEQPACKET - Enum constant in enum class org.newsclub.net.unix.AFSocketType
Sequential packet socket.
SOCK_STREAM - Enum constant in enum class org.newsclub.net.unix.AFSocketType
Stream-oriented socket.
socket() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
socket() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
socket() - Method in class org.newsclub.net.unix.AFSocketChannel
 
SOCKET_ADDR - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress.AddressType
Describes a TIPC "socket" address.
socketAddressClass() - Method in class org.newsclub.net.unix.AFDatagramSocket
Returns the AFSocketAddress type supported by this socket.
socketAddressClass() - Method in class org.newsclub.net.unix.AFSocket
Returns the AFSocketAddress type supported by this socket.
SocketAddressFilter - Interface in org.newsclub.net.unix
A filter that takes a SocketAddress, and potentially changes it, or throws an exception if certain criteria are met.
socketChannelClass() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's SocketChannel class.
socketClass() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's Socket class.
SocketClosedException - Exception Class in org.newsclub.net.unix
A SocketException indicating that a socket was closed or is not open for other reasons.
SocketClosedException() - Constructor for exception class org.newsclub.net.unix.SocketClosedException
Constructs a new SocketClosedException.
SocketClosedException(String) - Constructor for exception class org.newsclub.net.unix.SocketClosedException
Constructs a new SocketClosedException.
socketConstructor() - Method in class org.newsclub.net.unix.AFAddressFamilyConfig
Returns the implementation's Socket constructor.
SocketServer<A,S,V> - Class in org.newsclub.net.unix.server
A base implementation for a simple, multi-threaded socket server.
SocketServer(A) - Constructor for class org.newsclub.net.unix.server.SocketServer
Creates a server using the given SocketAddress.
SocketServer(V) - Constructor for class org.newsclub.net.unix.server.SocketServer
Creates a server using the given, bound ServerSocket.
source() - Method in class org.newsclub.net.unix.AFPipe
 
SPMI_NFC - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.spmi.nfc.
SSLContextBuilder - Class in org.newsclub.net.unix.ssl
Helper class to simplify building SSLContext instances.
SSLFunction<T,R> - Interface in org.newsclub.net.unix.ssl
SSLParametersUtil - Class in org.newsclub.net.unix.ssl
Utility class to work with SSLParameters.
SSLSupplier<T> - Interface in org.newsclub.net.unix.ssl
StackTraceUtil - Class in org.newsclub.net.unix
Internal helper class to dump stack traces when deemed appropriate.
start() - Method in class org.newsclub.net.unix.server.SocketServer
Starts the server, and returns immediately.
startAndWait(long, TimeUnit) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
startAndWaitToBecomeReady() - Method in class org.newsclub.net.unix.server.SocketServer
Starts the server and waits until it is ready or had to stop due to an error.
startAndWaitToBecomeReady(long, TimeUnit) - Method in class org.newsclub.net.unix.server.SocketServer
Starts the server and waits until it is ready or had to stop due to an error.
startNewDaemonThread(boolean, Runnable) - Static method in class org.newsclub.net.unix.ThreadUtil
Starts a new daemon thread.
startThenStopAfter(long, TimeUnit) - Method in class org.newsclub.net.unix.server.SocketServer
Requests that the server will be stopped after the given time delay.
stop() - Method in class org.newsclub.net.unix.server.SocketServer
Stops the server.
stopLoop() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyWatcher
Stops the run loop.
StreamClient - Class in org.newsclub.net.unix.demo.rmi.fd
Demonstrates how to read files via FileDescriptors that are exchanged via RMI.
StreamServer - Class in org.newsclub.net.unix.demo.rmi.fd
Demonstrates how to read/write files via FileDescriptors that are exchanged via RMI.
StreamService - Interface in org.newsclub.net.unix.demo.rmi.services
The StreamServer's RMI service.
StreamServiceImpl - Class in org.newsclub.net.unix.demo.rmi.fd
An implementation of StreamService.
StreamServiceImpl(AFUNIXRMISocketFactory) - Constructor for class org.newsclub.net.unix.demo.rmi.fd.StreamServiceImpl
Creates a new instance.
supportedOptions() - Method in class org.newsclub.net.unix.AFDatagramChannel
 
supportedOptions() - Method in class org.newsclub.net.unix.AFServerSocket
 
supportedOptions() - Method in class org.newsclub.net.unix.AFServerSocketChannel
 
supportedOptions() - Method in class org.newsclub.net.unix.AFSocketChannel
 
supportedOptions() - Method in class org.newsclub.net.unix.AFSocketImpl
 
supportedOptions() - Method in class org.newsclub.net.unix.AFDatagramSocketImpl
 
supports(AFSocketCapability) - Static method in class org.newsclub.net.unix.AFSocket
Checks if the current environment (system platform, native library, etc.) supports a given junixsocket capability.
supports(AFUNIXSocketCapability) - Static method in class org.newsclub.net.unix.AFSocket
Deprecated.
supportsUrgentData() - Method in class org.newsclub.net.unix.AFSocketImpl
 
SYSTEM - Enum constant in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
SYSTEM.
SystemProperty() - Constructor for class org.newsclub.net.unix.AFUNIXSocketFactory.SystemProperty
Creates a AFUNIXSocketFactory.SystemProperty socket factory.

T

ThreadUtil - Class in org.newsclub.net.unix
Helper class to support certain Thread-specific features.
TIPC - Enum constant in enum class org.newsclub.net.unix.tipc.AFTIPCProtocolFamily
TIPC.
TIPC_CONN_TIMEOUT - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Specifies the number of milliseconds connect() will wait before giving up because of lack of response.
TIPC_DEST_DROPPABLE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
This option governs the handling of a sent message if it cannot be delivered to its destination.
TIPC_ERR_CONN_SHUTDOWN - Static variable in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
Normal connection shutdown occurred.
TIPC_ERR_NO_NAME - Static variable in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
Destination port name is unknown.
TIPC_ERR_NO_NODE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
Destination node is unreachable.
TIPC_ERR_NO_PORT - Static variable in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
Destination port id does not exist.
TIPC_ERR_OVERLOAD - Static variable in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
Destination is congested.
TIPC_GROUP_JOIN - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Join a communication group.
TIPC_GROUP_LEAVE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Leave the previously joined communication group.
TIPC_IMPORTANCE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
This option governs how likely a message sent by the socket is to be affected by congestion.
TIPC_LINK_STATE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
The "link state" cluster connectivity monitor mode.
TIPC_MAX_USER_MSG_SIZE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCDatagramSocket
The maximum size for user messages.
TIPC_MCAST_BROADCAST - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Force datagram multicasts from this socket to be transmitted as bearer broadcast/multicast (instead of replicated unicast) whenever possible..
TIPC_MCAST_REPLICAST - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Force datagram multicasts from this socket to be transmitted as replicated unicast instead of bearer broadcast/multicast..
TIPC_NODE_RECVQ_DEPTH - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Returns the number of messages in the node's receive queue (get only).
TIPC_NODE_STATE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
The "node state" cluster topology monitor mode.
TIPC_NODELAY - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
If enabled, the Nagle algorithm is disabled.
TIPC_OK - Static variable in class org.newsclub.net.unix.tipc.AFTIPCErrInfo.ErrorCode
No error.
TIPC_PUBLISHED - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent.Type
Publication event.
TIPC_RESERVED_TYPES - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress
The lowest user-publishable name type.
TIPC_SOCK_RECVQ_DEPTH - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Returns the number of messages in the socket's receive queue (get only).
TIPC_SOCK_RECVQ_USED - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
When using TIPC_SOCK_RECVQ_DEPTH for getsockopt(), it returns the number of buffers in the receive socket buffer which is not so helpful for user space applications.
TIPC_SRC_DROPPABLE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Controls whether a message should be discarded when link congestion occurs.
TIPC_SUB_CANCEL - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
Cancel a subscription.
TIPC_SUB_PORTS - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
Event at each match.
TIPC_SUB_SERVICE - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
Event at first up/last down.
TIPC_SUBSCR_TIMEOUT - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent.Type
Subscription timeout event.
TIPC_TOP_SRV - Static variable in class org.newsclub.net.unix.AFTIPCSocketAddress
The "topology" service name type.
TIPC_WAIT_FOREVER - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Special timeout value meaning "never timeout".
TIPC_WITHDRAWN - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent.Type
Withdrawal event.
toBuffer() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
Converts this event message to a new ByteBuffer.
toBuffer() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Converts this subscription message to a new ByteBuffer.
toBytes() - Method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns the native representation of this generic address, which is most likely not portable.
toCancellation() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
Creates an AFTIPCTopologySubscription that cancels this subscription.
toSocatAddressString(AFSocketType, AFSocketProtocol) - Method in class org.newsclub.net.unix.AFSocketAddress
Returns a address string that can be used with socat's SOCKET-CONNECT, SOCKET-LISTEN, SOCKET-DATAGRAM, etc., address types, or null if the address type is not natively supported by this platform.
toSocketAddress(AFTIPCSocketAddress.Scope, boolean) - Method in class org.newsclub.net.unix.tipc.AFTIPCDestName
Converts this DestName to a proper AFTIPCSocketAddress, by using the given AFTIPCSocketAddress.Scope (which is otherwise not included).
toString() - Method in class org.newsclub.net.unix.AFGenericSocketAddress
 
toString() - Method in class org.newsclub.net.unix.AFServerSocket
 
toString() - Method in class org.newsclub.net.unix.AFSocket
 
toString() - Method in class org.newsclub.net.unix.AFSocketChannel
 
toString() - Method in class org.newsclub.net.unix.AFSocketImpl
 
toString() - Method in class org.newsclub.net.unix.AFSocketOption
 
toString() - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
 
toString() - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
 
toString() - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
toString() - Method in class org.newsclub.net.unix.AFUNIXSocketCredentials
 
toString() - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
 
toString() - Method in class org.newsclub.net.unix.HostAndPort
 
toString() - Method in class org.newsclub.net.unix.NamedInteger
 
toString() - Method in class org.newsclub.net.unix.NamedIntegerBitmask
 
toString() - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
toString() - Method in class org.newsclub.net.unix.rmi.RemotePeerInfo
 
toString() - Method in class org.newsclub.net.unix.tipc.AFTIPCErrInfo
 
toString() - Method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
 
toString() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent
 
toString() - Method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription
 
toURI(String) - Method in class org.newsclub.net.unix.HostAndPort
Returns a URI with this hostname and port.
toURI(String, String, String, String, String) - Method in class org.newsclub.net.unix.HostAndPort
Returns a URI with this hostname and port, potentially using other URI parameters from the given set of parameters.
toURI(String, URI) - Method in class org.newsclub.net.unix.AFGenericSocketAddress
 
toURI(String, URI) - Method in class org.newsclub.net.unix.AFSocketAddress
Tries to create a URI based on this AFSocketAddress.
toURI(String, URI) - Method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
 
toURI(String, URI) - Method in class org.newsclub.net.unix.AFTIPCSocketAddress
 
toURI(String, URI) - Method in class org.newsclub.net.unix.AFUNIXSocketAddress
 
toURI(String, URI) - Method in class org.newsclub.net.unix.AFVSOCKSocketAddress
 
toURI(String, URI) - Method in class org.newsclub.net.unix.HostAndPort
Returns a URI with this hostname and port, potentially reusing other URI parameters from the given template URI (authority, path, query, fragment).
transferFrom(InputStream) - Method in class org.newsclub.net.unix.AFOutputStream
Reads all bytes from the given input stream and writes the bytes to this output stream in the order that they are read.
type() - Method in class org.newsclub.net.unix.AFSocketOption
 

U

UART_DEBUG_CONSOLE - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.uart.debug-console.
UART_SK_DEBUG_CONSOLE - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.uart.sk.debug-console.
UART_SK_WLAN_DEBUG - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.uart.sk.wlan-debug.
UART_WLAN_DEBUG - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.uart.wlan-debug.
unbind(String) - Method in class org.newsclub.net.unix.rmi.AFRegistry
 
unbind(String) - Method in class org.newsclub.net.unix.rmi.AFNaming
Convenience method for getRegistry().unbind.
unbind(String) - Method in class org.newsclub.net.unix.rmi.AFUNIXNaming
Convenience method for getRegistry().unbind.
UNDEFINED - Static variable in class org.newsclub.net.unix.tipc.AFTIPCTopologyEvent.Type
Undefined.
unexportAndUnbind(String, Remote) - Method in class org.newsclub.net.unix.rmi.AFNaming
Forcibly un-exports the given object, if it exists, and unbinds the object from the registry (otherwise returns without an error).
unexportObject(Remote) - Static method in class org.newsclub.net.unix.rmi.AFNaming
Forcibly un-exports the given object, if it exists (otherwise returns without an error).
UNIX - Enum constant in enum class org.newsclub.net.unix.AFUNIXProtocolFamily
UNIX domain.
unregisterForShutdown(Closeable) - Method in interface org.newsclub.net.unix.rmi.AFRMIService
Removes the given Closeable from the list of instances to be closed upon shutdown of the RMI registry.
Unsafe - Annotation Interface in org.newsclub.net.unix
Declares some operation "unsafe", which is guarded via AFSocketCapability.CAPABILITY_UNSAFE.
unsafeUsing(int) - Static method in class org.newsclub.net.unix.FileDescriptorCast
Creates a FileDescriptorCast using the given native file descriptor value.
unwrap(String, int) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns an AFGenericSocketAddress given a special InetAddress hostname that encodes the byte sequence of an unknown-type socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(String, int) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress given a special InetAddress hostname that encodes the byte sequence of an AF_SYSTEM socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(String, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress given a special InetAddress hostname that encodes the byte sequence of an AF_TIPC socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(String, int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress given a special InetAddress hostname that encodes the byte sequence of an AF_UNIX socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(String, int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress given a special InetAddress hostname that encodes the byte sequence of an AF_VSOCK socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(String, int, AFAddressFamily<A>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Returns an AFSocketAddress given a special InetAddress hostname that encodes the byte sequence of an AF_UNIX etc. socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(InetAddress, int) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns an AFGenericSocketAddress given a special InetAddress that encodes the byte sequence of an unknown-type socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(InetAddress, int) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress given a special InetAddress that encodes the byte sequence of an AF_SYSTEM socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(InetAddress, int) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress given a special InetAddress that encodes the byte sequence of an AF_TIPC socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(InetAddress, int) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress given a special InetAddress that encodes the byte sequence of an AF_UNIX socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(InetAddress, int) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress given a special InetAddress that encodes the byte sequence of an AF_VSOCK socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(InetAddress, int, AFAddressFamily<A>) - Static method in class org.newsclub.net.unix.AFSocketAddress
Returns an AFSocketAddress given a special InetAddress that encodes the byte sequence of an AF_UNIX etc. socket address, like those returned by AFSocketAddress.wrapAddress().
unwrap(SocketAddress) - Static method in class org.newsclub.net.unix.AFGenericSocketAddress
Returns an AFGenericSocketAddress given a generic SocketAddress.
unwrap(SocketAddress) - Static method in class org.newsclub.net.unix.AFSYSTEMSocketAddress
Returns an AFSYSTEMSocketAddress given a generic SocketAddress.
unwrap(SocketAddress) - Static method in class org.newsclub.net.unix.AFTIPCSocketAddress
Returns an AFTIPCSocketAddress given a generic SocketAddress.
unwrap(SocketAddress) - Static method in class org.newsclub.net.unix.AFUNIXSocketAddress
Returns an AFUNIXSocketAddress given a generic SocketAddress.
unwrap(SocketAddress) - Static method in class org.newsclub.net.unix.AFVSOCKSocketAddress
Returns an AFVSOCKSocketAddress given a generic SocketAddress.
URIScheme() - Constructor for class org.newsclub.net.unix.AFUNIXSocketFactory.URIScheme
Creates a AFUNIXSocketFactory.URIScheme socket factory.
uriSchemes() - Static method in class org.newsclub.net.unix.AFAddressFamily
Returns the set of supported URI schemes that can be parsed to some AFSocketAddress.
uriSchemes() - Method in class org.newsclub.net.unix.AFSocketAddressConfig
Returns the set of supported URI schemes that can be parsed via AFSocketAddressConfig.parseURI(URI,int).
USERSPACE_ETHERNET - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.userspace_ethernet.
using(FileDescriptor) - Static method in class org.newsclub.net.unix.FileDescriptorCast
Creates a FileDescriptorCast using the given file descriptor.
UTUN_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
com.apple.net.utun_control.

V

ValidatingX509TrustManager - Class in org.newsclub.net.unix.ssl
A wrapping X509TrustManager that verifies each individual certificate in a chain, in addition to the successful validation by the wrapped X509TrustManager.
ValidatingX509TrustManager(X509TrustManager) - Constructor for class org.newsclub.net.unix.ssl.ValidatingX509TrustManager
Constructs a ValidatingX509TrustManager instance that wraps the given X509TrustManager.
value() - Method in class org.newsclub.net.unix.NamedInteger
Returns the value.
value() - Method in class org.newsclub.net.unix.NamedIntegerBitmask
Returns the value of the flag / flag set.
valueOf(String) - Static method in enum class org.newsclub.net.unix.AFSocketCapability
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.AFSocketProtocol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.AFSocketType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.AFUNIXProtocolFamily
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.tipc.AFTIPCProtocolFamily
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.newsclub.net.unix.AFSocketCapability
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.AFSocketProtocol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.AFSocketType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.AFUNIXProtocolFamily
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.AFUNIXSocketCapability
Deprecated.
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.tipc.AFTIPCProtocolFamily
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
Returns an array containing the constants of this enum class, in the order they are declared.
VMADDR_CID_ANY - Static variable in class org.newsclub.net.unix.AFVSOCKSocketAddress
"Any address for binding".
VMADDR_CID_HOST - Static variable in class org.newsclub.net.unix.AFVSOCKSocketAddress
The well-known address of the host.
VMADDR_CID_HYPERVISOR - Static variable in class org.newsclub.net.unix.AFVSOCKSocketAddress
Reserved for services built into the hypervisor.
VMADDR_CID_LOCAL - Static variable in class org.newsclub.net.unix.AFVSOCKSocketAddress
The well-known address for local communication (loopback).
VMADDR_PORT_ANY - Static variable in class org.newsclub.net.unix.AFVSOCKSocketAddress
Any port number for binding.
VOID - Static variable in class org.newsclub.net.unix.tipc.AFTIPCSocketOptions
Use as value for SocketOptions of type Void.
VOID - Static variable in class org.newsclub.net.unix.vsock.AFVSOCKSocketOptions
Use as value for SocketOptions of type Void.
VSOCK - Enum constant in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
VSOCK.
VSOCK_MAX_USER_MSG_SIZE - Static variable in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
The maximum size for user messages.

W

WellKnownKernelControlNames - Enum Class in org.newsclub.net.unix.darwin.system
Well-known AF_SYSTEM control names.
with(int, int, AFTIPCSocketAddress.Scope, AFTIPCGroupRequest.GroupRequestFlags) - Static method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
Returns an AFTIPCGroupRequest instance using the given parameters.
with(int, int, AFTIPCGroupRequest.GroupRequestFlags) - Static method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest
Returns an AFTIPCGroupRequest instance using the given parameters, implying cluster scope.
withDefaultSSLParameters(Consumer<SSLParameters>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given consumer to configure the default SSL parameters.
withDefaultSSLParameters(Function<SSLParameters, SSLParameters>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given function to configure the default SSL parameters.
withFlags(AFTIPCGroupRequest.GroupRequestFlags...) - Static method in class org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
Returns a AFTIPCGroupRequest.GroupRequestFlags instance representing the combination of the given list of AFTIPCGroupRequest.GroupRequestFlags flags.
withFlags(AFTIPCTopologySubscription.Flags...) - Static method in class org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
Returns a AFTIPCTopologySubscription.Flags instance representing the combination of the given list of AFTIPCTopologySubscription.Flags flags.
withKeyManagers(SSLFunction<KeyManagerFactory, KeyManager[]>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given supplier for {link KeyManager}[].
withKeyStore(File, SSLSupplier<char[]>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given keystore, identified by path and password.
withKeyStore(URL, SSLSupplier<char[]>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given keystore, identified by URL and password.
withKeyStoreSupplier(SSLSupplier<KeyStore>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given supplier to provide KeyStore instances.
withLocalPort(int) - Method in class org.newsclub.net.unix.FileDescriptorCast
Registers the given port number as the "local port" for this file descriptor.
withProtocol(String) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given protocol.
withProvider(String) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given provider, identified by ID, null being the default.
withProvider(Provider) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given provider, null being the default.
withRemotePort(int) - Method in class org.newsclub.net.unix.FileDescriptorCast
Registers the given port number as the "remote port" for this file descriptor.
withSecureRandom(SecureRandom) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given protocol.
withSocketFactory(SocketFactory) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given SocketFactory to create the underlying insecure sockets.
withTrustManagers(SSLFunction<TrustManagerFactory, TrustManager[]>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given supplier for TrustManager[].
withTrustStore(File, SSLSupplier<char[]>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given truststore, identified by path and password.
withTrustStore(URL, SSLSupplier<char[]>) - Method in class org.newsclub.net.unix.ssl.SSLContextBuilder
Configures this builder to use the given truststore, identified by path and password.
world() - Method in interface org.newsclub.net.unix.demo.rmi.services.HelloWorld
Returns "World" (or something else?).
world() - Method in interface org.newsclub.net.unix.demo.rmi.services.World
Returns "World" (or something else?).
World - Interface in org.newsclub.net.unix.demo.rmi.services
A very simple "world" service.
wrapAddress() - Method in class org.newsclub.net.unix.AFSocketAddress
Returns a "special" InetAddress that contains information about this AFSocketAddress.
wrapIOExceptionIfJDKBug(IOException) - Static method in class org.newsclub.net.unix.ssl.SSLContextBuilder
For a given IOException thrown from within SSLContextBuilder, check if it is due to a known JDK bug, and if so, wrap that exception in a KnownJavaBugIOException with a proper explanation.
write(ByteBuffer) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
write(ByteBuffer) - Method in class org.newsclub.net.unix.AFPipe.SinkChannel
 
write(ByteBuffer) - Method in class org.newsclub.net.unix.AFSocketChannel
 
write(ByteBuffer[]) - Method in class org.newsclub.net.unix.AFPipe.SinkChannel
 
write(ByteBuffer[], int, int) - Method in class org.newsclub.net.unix.AFDatagramChannel
 
write(ByteBuffer[], int, int) - Method in class org.newsclub.net.unix.AFPipe.SinkChannel
 
write(ByteBuffer[], int, int) - Method in class org.newsclub.net.unix.AFSocketChannel
 
writeExternal(ObjectOutput) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
 
writeExternal(ObjectOutput) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
writeExternal(ObjectOutput) - Method in class org.newsclub.net.unix.rmi.RemoteFileDescriptorBase
 
writeNamingInstance(ObjectOutput, AFNaming) - Method in class org.newsclub.net.unix.rmi.AFRMISocketFactory
Serializes information necessary to instantiate the given AFNaming instance.
writeNamingInstance(ObjectOutput, AFNaming) - Method in class org.newsclub.net.unix.rmi.AFUNIXRMISocketFactory
 
writeNativeAddressTo(ByteBuffer) - Method in class org.newsclub.net.unix.AFSocketAddress
Writes the native (system-level) representation of this address to the given buffer.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form