java.lang.Object
org.newsclub.net.unix.NamedInteger
org.newsclub.net.unix.AFTIPCSocketAddress.Scope
- All Implemented Interfaces:
Serializable
- Enclosing class:
AFTIPCSocketAddress
The TIPC visibility scope.
- Author:
- Christian Kohlschütter
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.newsclub.net.unix.NamedInteger
NamedInteger.HasOfValue, NamedInteger.UndefinedValueConstructor<T extends NamedInteger>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AFTIPCSocketAddress.Scope
Cluster-wide scope.static final AFTIPCSocketAddress.Scope
Node-only scope.static final AFTIPCSocketAddress.Scope
Scope not specified (for example, when using socket addresses). -
Method Summary
Modifier and TypeMethodDescriptionstatic AFTIPCSocketAddress.Scope
ofValue
(int v) Returns aAFTIPCSocketAddress.Scope
instance given an integer value.
-
Field Details
-
SCOPE_CLUSTER
Cluster-wide scope. -
SCOPE_NODE
Node-only scope. -
SCOPE_NOT_SPECIFIED
Scope not specified (for example, when using socket addresses).
-
-
Method Details
-
ofValue
Returns aAFTIPCSocketAddress.Scope
instance given an integer value.- Parameters:
v
- The scope value.- Returns:
- The
AFTIPCSocketAddress.Scope
instance.
-