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
DatagramChannelimplementation that works withAF_VSOCKsockets. - AFVSOCKDatagramSocket - Class in org.newsclub.net.unix.vsock
-
A
DatagramSocketimplementation that works withAF_VSOCKsockets. - AFVSOCKProtocolFamily - Enum in org.newsclub.net.unix.vsock
-
Describes the protocol families supported by junixsocket-vsock.
- 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_VSOCKsocket. - 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_VSOCKsocket. - 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 extends org.newsclub.net.unix.AFSomeSocket> - Class in org.newsclub.net.unix.vsock
-
A pair of sockets.
- AFVSOCKSocketPair(T, T) - Constructor for class org.newsclub.net.unix.vsock.AFVSOCKSocketPair
-
Creates a new socket pair.
B
- bindOn(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
-
Returns a new AF_VSOCK
ServerSocketthat is bound to the givenAFVSOCKSocketAddress. - bindOn(AFVSOCKSocketAddress, boolean) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
-
Returns a new AF_VSOCK
ServerSocketthat 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.
- connectTo(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Creates a new
AFSocketand 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
AFVSOCKSocketFactorythat always uses the given VSOCK address. - FixedAddress(AFVSOCKSocketAddress) - Constructor for class org.newsclub.net.unix.vsock.AFVSOCKSocketFactory.FixedAddress
-
Creates an
AFVSOCKSocketFactorythat always uses the given VSOCK address. - forceBindOn(AFVSOCKSocketAddress) - Static method in class org.newsclub.net.unix.vsock.AFVSOCKServerSocket
-
Returns a new, unbound AF_VSOCK
ServerSocketthat 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.
I
- isSupported() - Static method in class org.newsclub.net.unix.vsock.AFVSOCKSocket
-
Returns
trueiffAFVSOCKSockets (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
- 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
AFVSOCKDatagramSocketinstance, using the defaultAFSocketType.SOCK_DGRAMsocket 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
AFVSOCKDatagramSocketinstance 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.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 class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openDatagramChannelPair() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openServerSocketChannel() - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.vsock.AFVSOCKSelectorProvider
- 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.
V
- valueOf(String) - Static method in enum org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.newsclub.net.unix.vsock.AFVSOCKProtocolFamily
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VOID - Static variable in class org.newsclub.net.unix.vsock.AFVSOCKSocketOptions
-
Use as value for
SocketOptions of typeVoid. - VSOCK - Enum constant in enum 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