java.lang.Object
org.newsclub.net.unix.tipc.AFTIPCSocketOptions
TIPC-specific socket options.
- Author:
- Christian Kohlschütter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The TIPC message importance. -
Field Summary
Modifier and TypeFieldDescriptionstatic final org.newsclub.net.unix.AFSocketOption
<Integer> Specifies the number of milliseconds connect() will wait before giving up because of lack of response.static final org.newsclub.net.unix.AFSocketOption
<Boolean> This option governs the handling of a sent message if it cannot be delivered to its destination.static final org.newsclub.net.unix.AFSocketOption
<AFTIPCGroupRequest> Join a communication group.static final org.newsclub.net.unix.AFSocketOption
<Void> Leave the previously joined communication group.static final org.newsclub.net.unix.AFSocketOption
<AFTIPCSocketOptions.MessageImportance> This option governs how likely a message sent by the socket is to be affected by congestion.static final org.newsclub.net.unix.AFSocketOption
<Boolean> Force datagram multicasts from this socket to be transmitted as bearer broadcast/multicast (instead of replicated unicast) whenever possible..static final org.newsclub.net.unix.AFSocketOption
<Boolean> Force datagram multicasts from this socket to be transmitted as replicated unicast instead of bearer broadcast/multicast..static final org.newsclub.net.unix.AFSocketOption
<Integer> Returns the number of messages in the node's receive queue (get only).static final org.newsclub.net.unix.AFSocketOption
<Boolean> If enabled, the Nagle algorithm is disabled.static final org.newsclub.net.unix.AFSocketOption
<Integer> Returns the number of messages in the socket's receive queue (get only).static final org.newsclub.net.unix.AFSocketOption
<Integer> 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 org.newsclub.net.unix.AFSocketOption
<Boolean> Controls whether a message should be discarded when link congestion occurs.static final Void
Use as value forSocketOption
s of typeVoid
. -
Method Summary
-
Field Details
-
VOID
-
TIPC_IMPORTANCE
public static final org.newsclub.net.unix.AFSocketOption<AFTIPCSocketOptions.MessageImportance> TIPC_IMPORTANCEThis option governs how likely a message sent by the socket is to be affected by congestion. A message with higher importance is less likely to be delayed due to link congestion and less likely to be rejected due to receiver congestion.- See Also:
-
TIPC_SRC_DROPPABLE
Controls whether a message should be discarded when link congestion occurs. -
TIPC_DEST_DROPPABLE
This option governs the handling of a sent message if it cannot be delivered to its destination. If set, the message is discarded; otherwise it is returned to the sender. By default, this option is enabled for SOCK_RDM and SOCK_DGRAM sockets, and disabled otherwise. -
TIPC_CONN_TIMEOUT
Specifies the number of milliseconds connect() will wait before giving up because of lack of response. The default value is 8000 ms. -
TIPC_NODE_RECVQ_DEPTH
Returns the number of messages in the node's receive queue (get only). -
TIPC_SOCK_RECVQ_DEPTH
Returns the number of messages in the socket's receive queue (get only). -
TIPC_MCAST_BROADCAST
Force datagram multicasts from this socket to be transmitted as bearer broadcast/multicast (instead of replicated unicast) whenever possible.. -
TIPC_MCAST_REPLICAST
Force datagram multicasts from this socket to be transmitted as replicated unicast instead of bearer broadcast/multicast.. -
TIPC_GROUP_JOIN
Join a communication group. -
TIPC_GROUP_LEAVE
-
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. TIPC_SOCK_RECVQ_USED returns the current allocated bytes of the receive socket buffer. This helps user space applications dimension its buffer usage to avoid buffer overload issue. -
TIPC_NODELAY
If enabled, the Nagle algorithm is disabled. Similar toStandardSocketOptions.TCP_NODELAY
.
-