public static enum Packet.Type extends Enum<Packet.Type>
Enum Constant and Description |
---|
BIND
The type of a Bind Message packet.
|
EVENT
The type of an Event packet.
|
EXTENDED_BIND
The type of Extended Bind packet, since Hazelcast 3.12.
|
JET
The type of a Jet packet.
|
NULL
Represents "missing packet type", consists of all zeros.
|
OPERATION
The type of an Operation packet.
|
UNDEFINED6
Unused packet type.
|
UNDEFINED7
Unused 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 EXTENDED_BIND
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 © 2021 Hazelcast, Inc.. All Rights Reserved.