public static enum StreamMessage.Type extends java.lang.Enum<StreamMessage.Type>
| Enum Constant and Description |
|---|
COMPLETE |
KEEP_ALIVE |
PREPARE_ACK |
PREPARE_SYN |
PREPARE_SYNACK |
RECEIVED |
SESSION_FAILED |
STREAM |
STREAM_INIT |
| Modifier and Type | Field and Description |
|---|---|
int |
id |
StreamMessage.Serializer<StreamMessage> |
inSerializer |
StreamMessage.Serializer<StreamMessage> |
outSerializer |
int |
priority |
| Modifier and Type | Method and Description |
|---|---|
static StreamMessage.Type |
lookupById(int id) |
static StreamMessage.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamMessage.Type PREPARE_SYN
public static final StreamMessage.Type STREAM
public static final StreamMessage.Type RECEIVED
public static final StreamMessage.Type COMPLETE
public static final StreamMessage.Type SESSION_FAILED
public static final StreamMessage.Type KEEP_ALIVE
public static final StreamMessage.Type PREPARE_SYNACK
public static final StreamMessage.Type PREPARE_ACK
public static final StreamMessage.Type STREAM_INIT
public final int id
public final int priority
public final StreamMessage.Serializer<StreamMessage> inSerializer
public final StreamMessage.Serializer<StreamMessage> outSerializer
public static StreamMessage.Type[] values()
for (StreamMessage.Type c : StreamMessage.Type.values()) System.out.println(c);
public static StreamMessage.Type 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 nullpublic static StreamMessage.Type lookupById(int id)
Copyright © 2009-2020 The Apache Software Foundation