public enum TapResponseFlag extends java.lang.Enum<TapResponseFlag>
Enum Constant and Description |
---|
TAP_ACK
This message requires acknowledgment.
|
TAP_FLAG_NETWORK_BYTE_ORDER
This message is sent correctly in network byte order.
|
TAP_NO_VALUE
This message doesn't contain a value.
|
Modifier and Type | Method and Description |
---|---|
short |
getFlags() |
static java.util.List<TapResponseFlag> |
getFlags(short f) |
static TapResponseFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TapResponseFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TapResponseFlag TAP_ACK
public static final TapResponseFlag TAP_NO_VALUE
public static final TapResponseFlag TAP_FLAG_NETWORK_BYTE_ORDER
public static TapResponseFlag[] values()
for (TapResponseFlag c : TapResponseFlag.values()) System.out.println(c);
public static TapResponseFlag 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 java.util.List<TapResponseFlag> getFlags(short f)
public short getFlags()
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.