public static enum Packet.Type extends Enum<Packet.Type>
| Enum Constant and Description | 
|---|
| BINDThe type of a Bind Message packet. | 
| EVENTThe type of an Event packet. | 
| JETThe type of a Jet packet. | 
| NULLRepresents "missing packet type", consists of all zeros. | 
| OPERATIONThe type of an Operation packet. | 
| UNDEFINED5Unused packet type. | 
| UNDEFINED6Unused packet type. | 
| UNDEFINED7Unused packet type. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | describeFlags(char flags) | 
| static Packet.Type | fromFlags(int flags) | 
| static Packet.Type | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Packet.Type[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Packet.Type NULL
 ordinal = 0
public static final Packet.Type OPERATION
 ordinal = 1
public static final Packet.Type EVENT
 ordinal = 2
public static final Packet.Type JET
 ordinal = 3
public static final Packet.Type BIND
 ordinal = 4
public static final Packet.Type UNDEFINED5
 ordinal = 5
public static final Packet.Type UNDEFINED6
 ordinal = 6
public static final Packet.Type UNDEFINED7
 ordinal = 7
public static Packet.Type[] values()
for (Packet.Type c : Packet.Type.values()) System.out.println(c);
public static Packet.Type 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 nullpublic static Packet.Type fromFlags(int flags)
public String describeFlags(char flags)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.