Module org.newsclub.net.unix.tipc
Package org.newsclub.net.unix.tipc
Class AFTIPCGroupRequest.GroupRequestFlags
java.lang.Object
org.newsclub.net.unix.NamedIntegerBitmask<AFTIPCGroupRequest.GroupRequestFlags>
org.newsclub.net.unix.tipc.AFTIPCGroupRequest.GroupRequestFlags
- All Implemented Interfaces:
Serializable
- Enclosing class:
AFTIPCGroupRequest
public static final class AFTIPCGroupRequest.GroupRequestFlags
extends NamedIntegerBitmask<AFTIPCGroupRequest.GroupRequestFlags>
Some flags used in the group request.
- Author:
- Christian Kohlschütter
- 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 AFTIPCGroupRequest.GroupRequestFlags
Receive copies of sent messages.static final AFTIPCGroupRequest.GroupRequestFlags
Receive membership events.static final AFTIPCGroupRequest.GroupRequestFlags
No flags set. -
Method Summary
Modifier and TypeMethodDescriptionCombines the givenAFTIPCGroupRequest.GroupRequestFlags
instance with another one.ofValue
(int v) Returns aAFTIPCGroupRequest.GroupRequestFlags
instance given an integer value.withFlags
(@NonNull AFTIPCGroupRequest.GroupRequestFlags... flags) Returns aAFTIPCGroupRequest.GroupRequestFlags
instance representing the combination of the given list ofAFTIPCGroupRequest.GroupRequestFlags
flags.Methods inherited from class org.newsclub.net.unix.NamedIntegerBitmask
combineWith, hasFlag, name, resolve, resolve, toString, value
-
Field Details
-
NONE
No flags set. -
GROUP_LOOPBACK
Receive copies of sent messages. -
GROUP_MEMBER_EVTS
Receive membership events.
-
-
Method Details
-
ofValue
Returns aAFTIPCGroupRequest.GroupRequestFlags
instance given an integer value.- Parameters:
v
- The value.- Returns:
- The instance.
-
withFlags
public static AFTIPCGroupRequest.GroupRequestFlags withFlags(@NonNull AFTIPCGroupRequest.GroupRequestFlags... flags) Returns aAFTIPCGroupRequest.GroupRequestFlags
instance representing the combination of the given list ofAFTIPCGroupRequest.GroupRequestFlags
flags.- Parameters:
flags
- The flags (zero or more values).- Returns:
- The instance.
-
combineWith
Combines the givenAFTIPCGroupRequest.GroupRequestFlags
instance with another one.- Specified by:
combineWith
in classNamedIntegerBitmask<AFTIPCGroupRequest.GroupRequestFlags>
- Parameters:
other
- The other instance.- Returns:
- The combined instance.
-