Module org.newsclub.net.unix.tipc
Package org.newsclub.net.unix.tipc
Class AFTIPCSocketOptions.MessageImportance
java.lang.Object
org.newsclub.net.unix.NamedInteger
org.newsclub.net.unix.tipc.AFTIPCSocketOptions.MessageImportance
- All Implemented Interfaces:
Serializable
,org.newsclub.net.unix.NamedInteger.HasOfValue
- Enclosing class:
AFTIPCSocketOptions
public static final class AFTIPCSocketOptions.MessageImportance
extends org.newsclub.net.unix.NamedInteger
implements org.newsclub.net.unix.NamedInteger.HasOfValue
The TIPC message importance.
Messages with a higher importance have a lower chance of being dropped when congestion occurs.
- Author:
- Christian Kohlschütter
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.newsclub.net.unix.NamedInteger
org.newsclub.net.unix.NamedInteger.HasOfValue, org.newsclub.net.unix.NamedInteger.UndefinedValueConstructor<T extends org.newsclub.net.unix.NamedInteger>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AFTIPCSocketOptions.MessageImportance
Critical importance.static final AFTIPCSocketOptions.MessageImportance
High importance.static final AFTIPCSocketOptions.MessageImportance
Low importance (the default).static final AFTIPCSocketOptions.MessageImportance
Medium importance. -
Method Summary
Modifier and TypeMethodDescriptionofValue
(int v) Returns aAFTIPCSocketOptions.MessageImportance
instance for the given value.Methods inherited from class org.newsclub.net.unix.NamedInteger
equals, hashCode, init, name, ofValue, toString, value
-
Field Details
-
LOW
Low importance (the default). -
MEDIUM
Medium importance. -
HIGH
High importance. -
CRITICAL
Critical importance.
-
-
Method Details
-
ofValue
Returns aAFTIPCSocketOptions.MessageImportance
instance for the given value.- Parameters:
v
- The value.- Returns:
- The instance.
-