Uses of Class
org.newsclub.net.unix.AFSocketOption
Packages that use 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
Methods in org.newsclub.net.unix with parameters of type AFSocketOptionModifier and TypeMethodDescription<T> TAFDatagramSocket.getOption(AFSocketOption<T> name) Returns the value of a junixsocket socket option.<T> DatagramSocketAFDatagramSocket.setOption(AFSocketOption<T> name, T value) Sets the value of a socket option. -
Uses of AFSocketOption in org.newsclub.net.unix.tipc
Fields in org.newsclub.net.unix.tipc declared as AFSocketOptionModifier and TypeFieldDescriptionstatic final AFSocketOption<Integer> AFTIPCSocketOptions.TIPC_CONN_TIMEOUTSpecifies the number of milliseconds connect() will wait before giving up because of lack of response.static final AFSocketOption<Boolean> AFTIPCSocketOptions.TIPC_DEST_DROPPABLEThis option governs the handling of a sent message if it cannot be delivered to its destination.static final AFSocketOption<AFTIPCGroupRequest> AFTIPCSocketOptions.TIPC_GROUP_JOINJoin a communication group.static final AFSocketOption<Void> AFTIPCSocketOptions.TIPC_GROUP_LEAVELeave the previously joined communication group.static final AFSocketOption<AFTIPCSocketOptions.MessageImportance> AFTIPCSocketOptions.TIPC_IMPORTANCEThis option governs how likely a message sent by the socket is to be affected by congestion.static final AFSocketOption<Boolean> AFTIPCSocketOptions.TIPC_MCAST_BROADCASTForce 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_REPLICASTForce datagram multicasts from this socket to be transmitted as replicated unicast instead of bearer broadcast/multicast..static final AFSocketOption<Integer> AFTIPCSocketOptions.TIPC_NODE_RECVQ_DEPTHReturns the number of messages in the node's receive queue (get only).static final AFSocketOption<Boolean> AFTIPCSocketOptions.TIPC_NODELAYIf enabled, the Nagle algorithm is disabled.static final AFSocketOption<Integer> AFTIPCSocketOptions.TIPC_SOCK_RECVQ_DEPTHReturns the number of messages in the socket's receive queue (get only).static final AFSocketOption<Integer> AFTIPCSocketOptions.TIPC_SOCK_RECVQ_USEDWhen 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_DROPPABLEControls whether a message should be discarded when link congestion occurs.