java.lang.Object
org.newsclub.net.unix.tipc.AFTIPCGroupRequest
A TIPC group request.
- Author:
- Christian Kohlschütter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Some flags used in the group request. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFlags()
Returns the group request flags.int
Returns the group instance.org.newsclub.net.unix.AFTIPCSocketAddress.Scope
getScope()
Returns the group scope.int
getType()
Returns the group type.toString()
static AFTIPCGroupRequest
with
(int type, int instance, org.newsclub.net.unix.AFTIPCSocketAddress.Scope scope, AFTIPCGroupRequest.GroupRequestFlags flags) Returns anAFTIPCGroupRequest
instance using the given parameters.static AFTIPCGroupRequest
with
(int type, int instance, AFTIPCGroupRequest.GroupRequestFlags flags) Returns anAFTIPCGroupRequest
instance using the given parameters, implying cluster scope.
-
Field Details
-
NONE
"No group".
-
-
Method Details
-
with
public static AFTIPCGroupRequest with(int type, int instance, org.newsclub.net.unix.AFTIPCSocketAddress.Scope scope, AFTIPCGroupRequest.GroupRequestFlags flags) Returns anAFTIPCGroupRequest
instance using the given parameters.- Parameters:
type
- The group type.instance
- The group instance.scope
- The group scope.flags
- The request flags.- Returns:
- The instance.
-
with
public static AFTIPCGroupRequest with(int type, int instance, AFTIPCGroupRequest.GroupRequestFlags flags) Returns anAFTIPCGroupRequest
instance using the given parameters, implying cluster scope.- Parameters:
type
- The group type.instance
- The group instance.flags
- The request flags.- Returns:
- The instance.
-
getType
public int getType()Returns the group type.- Returns:
- The group type.
-
getInstance
public int getInstance()Returns the group instance.- Returns:
- The group instance.
-
getScope
public org.newsclub.net.unix.AFTIPCSocketAddress.Scope getScope()Returns the group scope.- Returns:
- The group scope.
-
getFlags
Returns the group request flags.- Returns:
- The group request flags.
-
toString
-