public static enum StreamMessage.Type extends java.lang.Enum<StreamMessage.Type>
| Enum Constant and Description | 
|---|
| COMPLETE | 
| FILE | 
| KEEP_ALIVE | 
| PREPARE | 
| RECEIVED | 
| RETRY | 
| SESSION_FAILED | 
| Modifier and Type | Field and Description | 
|---|---|
| StreamMessage.Serializer<StreamMessage> | inSerializer | 
| StreamMessage.Serializer<StreamMessage> | outSerializer | 
| int | priority | 
| Modifier and Type | Method and Description | 
|---|---|
| static StreamMessage.Type | get(byte type) | 
| 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
public static final StreamMessage.Type FILE
public static final StreamMessage.Type RECEIVED
public static final StreamMessage.Type RETRY
public static final StreamMessage.Type COMPLETE
public static final StreamMessage.Type SESSION_FAILED
public static final StreamMessage.Type KEEP_ALIVE
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 get(byte type)
Copyright © 2018 The Apache Software Foundation