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 AFSocketOption
<Integer> Specifies the number of milliseconds connect() will wait before giving up because of lack of response.static final AFSocketOption
<Boolean> This option governs the handling of a sent message if it cannot be delivered to its destination.static final AFSocketOption
<AFTIPCGroupRequest> Join a communication group.static final AFSocketOption
<Void> Leave the previously joined communication group.static final AFSocketOption
<AFTIPCSocketOptions.MessageImportance> This option governs how likely a message sent by the socket is to be affected by congestion.static final AFSocketOption
<Boolean> Force datagram multicasts from this socket to be transmitted as bearer broadcast/multicast (instead of replicated unicast) whenever possible..static final AFSocketOption
<Boolean> Force datagram multicasts from this socket to be transmitted as replicated unicast instead of bearer broadcast/multicast..static final AFSocketOption
<Integer> Returns the number of messages in the node's receive queue (get only).static final AFSocketOption
<Boolean> If enabled, the Nagle algorithm is disabled.static final AFSocketOption
<Integer> Returns the number of messages in the socket's receive queue (get only).static final 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 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
This 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
Leave the previously joined communication group. Only valid for setOption. The value is ignored. UseVOID
. -
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
.
-