Module org.newsclub.net.unix.tipc
Package org.newsclub.net.unix.tipc
Class AFTIPCTopologySubscription.Flags
java.lang.Object
org.newsclub.net.unix.NamedIntegerBitmask<AFTIPCTopologySubscription.Flags>
org.newsclub.net.unix.tipc.AFTIPCTopologySubscription.Flags
- All Implemented Interfaces:
Serializable
- Enclosing class:
AFTIPCTopologySubscription
public static final class AFTIPCTopologySubscription.Flags
extends NamedIntegerBitmask<AFTIPCTopologySubscription.Flags>
Some flags used in the subscription request.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.newsclub.net.unix.NamedIntegerBitmask
NamedIntegerBitmask.Constructor<T extends NamedIntegerBitmask<T>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AFTIPCTopologySubscription.Flags
No flags set.static final AFTIPCTopologySubscription.Flags
Cancel a subscription.static final AFTIPCTopologySubscription.Flags
Event at each match.static final AFTIPCTopologySubscription.Flags
Event at first up/last down. -
Method Summary
Modifier and TypeMethodDescriptionCombines the givenAFTIPCTopologySubscription.Flags
instance with another one.ofValue
(int v) Returns aAFTIPCTopologySubscription.Flags
instance given an integer value.withFlags
(@NonNull AFTIPCTopologySubscription.Flags... flags) Returns aAFTIPCTopologySubscription.Flags
instance representing the combination of the given list ofAFTIPCTopologySubscription.Flags
flags.Methods inherited from class org.newsclub.net.unix.NamedIntegerBitmask
combineWith, hasFlag, name, resolve, resolve, toString, value
-
Field Details
-
NONE
No flags set. -
TIPC_SUB_PORTS
Event at each match. -
TIPC_SUB_SERVICE
Event at first up/last down. -
TIPC_SUB_CANCEL
Cancel a subscription.
-
-
Method Details
-
ofValue
Returns aAFTIPCTopologySubscription.Flags
instance given an integer value.- Parameters:
v
- The value.- Returns:
- The instance.
-
withFlags
public static AFTIPCTopologySubscription.Flags withFlags(@NonNull AFTIPCTopologySubscription.Flags... flags) Returns aAFTIPCTopologySubscription.Flags
instance representing the combination of the given list ofAFTIPCTopologySubscription.Flags
flags.- Parameters:
flags
- The flags (zero or more values).- Returns:
- The instance.
-
combineWith
Combines the givenAFTIPCTopologySubscription.Flags
instance with another one.- Specified by:
combineWith
in classNamedIntegerBitmask<AFTIPCTopologySubscription.Flags>
- Parameters:
other
- The other instance.- Returns:
- The combined instance.
-