Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept() - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
- addressFamily() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- addressFromHost(String, int) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory.FixedAddress
- AFVSOCKDatagramChannel - Class in org.newsclub.net.unix.vsock
-
A
DatagramChannel
implementation that works withAF_VSOCK
sockets. - AFVSOCKDatagramSocket - Class in org.newsclub.net.unix.vsock
-
A
DatagramSocket
implementation that works withAF_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. - 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
-
Creates a
AFVSOCKSocketFactory
. - AFVSOCKSocketFactory.FixedAddress - Class in org.newsclub.net.unix.vsock
-
Always connects sockets to the given VSOCK type and instance.
- 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.
B
- bind(AFVSOCKSocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKProxyServerSocketConnector
- bindOn(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
-
Returns a new AF_VSOCK
ServerSocket
that is bound to the givenAFVSOCKSocketAddress
. - bindOn(AFVSOCKSocketAddress, boolean) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
-
Returns a new AF_VSOCK
ServerSocket
that is bound to the givenAFSocketAddress
.
C
- configure(AFVSOCKSocket) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
-
Performs some optional configuration on a newly created socket.
- connect(AFVSOCKSocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKProxySocketConnector
-
Connects to the given AF_VSOCK address.
- connectTo(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Creates a new
AFSocket
and connects it to the givenAFVSOCKSocketAddress
. - connectTo(AFVSOCKSocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
- createSocket() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory
F
- 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. - 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 tobind
.
G
- 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
- getInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
-
Returns the singleton instance.
- getLocalCID() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Returns the local CID.
- getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
I
- isSupported() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Returns
true
iffAFVSOCKSocket
s (sockets of type "AF_VSOCK") are supported by the current Java VM and the kernel.
M
- main(String[]) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Very basic self-test function.
N
- 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
- newDatagramSocketInstance() - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
- newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
- newInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
-
Returns a new
AFVSOCKDatagramSocket
instance, using the defaultAFSocketType.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(AFSocketType) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
-
Returns a new
AFVSOCKDatagramSocket
instance for the given socket type. - newSocket() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- newSocketInstance() - Method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
- newSocketPair(P, P) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
-
Constructs a new socket pair from two sockets.
- newStrictInstance() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Creates a new, unbound, "strict"
AFSocket
.
O
- 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.vsock.AFVSOCKDatagramChannel
-
Opens a datagram channel.
- openDatagram() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocketPair
-
Opens a socket pair of interconnected datagram channels.
- 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.vsock.AFVSOCKSelectorProvider
- openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openDatagramChannelPair() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- 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.
- openServerSocketChannel() - Method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
- openServerSocketChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openSocketChannel() - Method in enum class org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
- openSocketChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openSocketChannelPair() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- 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
- protocolFamily() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- provider() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
-
Returns the singleton instance.
S
- setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.vsock.AFVSOCKDatagramSocket
V
- 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.vsock.AFVSOCKProtocolFamily
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VOID - Static variable in class org.newsclub.net.unix.vsock.AFVSOCKSocketOptions
-
Use as value for
SocketOption
s of typeVoid
. - 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.
All Classes and Interfaces|All Packages|Constant Field Values