public enum GossipType extends Enum<GossipType>
Enum Constant and Description |
---|
GET_MBRS |
GET_MBRS_RSP |
MESSAGE |
REGISTER |
SUSPECT |
UNREGISTER |
Modifier and Type | Method and Description |
---|---|
static GossipType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 JBoss, a division of Red Hat. All rights reserved.