Uses of Class
org.newsclub.net.unix.AFSocketOption
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
The junixsocket implementation for AF_TIPC sockets.
-
Uses of AFSocketOption in org.newsclub.net.unix
Modifier and TypeMethodDescription<T> T
AFDatagramSocket.getOption
(AFSocketOption<T> name) Returns the value of a junixsocket socket option.<T> DatagramSocket
AFDatagramSocket.setOption
(AFSocketOption<T> name, T value) Sets the value of a socket option. -
Uses of AFSocketOption in org.newsclub.net.unix.tipc
Modifier and TypeFieldDescriptionstatic final AFSocketOption
<Integer> AFTIPCSocketOptions.TIPC_CONN_TIMEOUT
Specifies the number of milliseconds connect() will wait before giving up because of lack of response.static final AFSocketOption
<Boolean> AFTIPCSocketOptions.TIPC_DEST_DROPPABLE
This option governs the handling of a sent message if it cannot be delivered to its destination.static final AFSocketOption
<AFTIPCGroupRequest> AFTIPCSocketOptions.TIPC_GROUP_JOIN
Join a communication group.static final AFSocketOption
<Void> AFTIPCSocketOptions.TIPC_GROUP_LEAVE
Leave the previously joined communication group.static final AFSocketOption
<AFTIPCSocketOptions.MessageImportance> AFTIPCSocketOptions.TIPC_IMPORTANCE
This option governs how likely a message sent by the socket is to be affected by congestion.static final AFSocketOption
<Boolean> AFTIPCSocketOptions.TIPC_MCAST_BROADCAST
Force datagram multicasts from this socket to be transmitted as bearer broadcast/multicast (instead of replicated unicast) whenever possible..static final AFSocketOption
<Boolean> AFTIPCSocketOptions.TIPC_MCAST_REPLICAST
Force datagram multicasts from this socket to be transmitted as replicated unicast instead of bearer broadcast/multicast..static final AFSocketOption
<Integer> AFTIPCSocketOptions.TIPC_NODE_RECVQ_DEPTH
Returns the number of messages in the node's receive queue (get only).static final AFSocketOption
<Boolean> AFTIPCSocketOptions.TIPC_NODELAY
If enabled, the Nagle algorithm is disabled.static final AFSocketOption
<Integer> AFTIPCSocketOptions.TIPC_SOCK_RECVQ_DEPTH
Returns the number of messages in the socket's receive queue (get only).static final AFSocketOption
<Integer> AFTIPCSocketOptions.TIPC_SOCK_RECVQ_USED
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.static final AFSocketOption
<Boolean> AFTIPCSocketOptions.TIPC_SRC_DROPPABLE
Controls whether a message should be discarded when link congestion occurs.