public enum FrameType extends Enum<FrameType> implements ProtocolCode
| Enum Constant and Description |
|---|
ACK |
COMPRESSED |
DATA |
JSON |
WINDOW_SIZE |
| Modifier and Type | Field and Description |
|---|---|
private int |
code |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get Protocol Code as transmitted over a socket connection
|
static FrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameType ACK
public static final FrameType COMPRESSED
public static final FrameType DATA
public static final FrameType JSON
public static final FrameType WINDOW_SIZE
public static FrameType[] values()
for (FrameType c : FrameType.values()) System.out.println(c);
public static FrameType 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 int getCode()
ProtocolCodegetCode in interface ProtocolCodeCopyright © 2022 Apache NiFi Project. All rights reserved.