public enum GossipType extends java.lang.Enum<GossipType>
Enum Constant and Description |
---|
GET_MBRS |
GET_MBRS_RSP |
MESSAGE |
REGISTER |
SUSPECT |
UNREGISTER |
Modifier and Type | Method and Description |
---|---|
static GossipType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GossipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GossipType REGISTER
public static final GossipType UNREGISTER
public static final GossipType GET_MBRS
public static final GossipType GET_MBRS_RSP
public static final GossipType MESSAGE
public static final GossipType SUSPECT
public static GossipType[] values()
for (GossipType c : GossipType.values()) System.out.println(c);
public static GossipType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 1998-2020 Red Hat. All Rights Reserved.