| Enum Constant and Description |
|---|
PROTOCOL_BINARY_REQ
Defines a tap binary request packet.
|
PROTOCOL_BINARY_RES
Defines a tap binary response packet.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getMagic() |
static TapMagic |
getMagicByByte(byte b) |
static TapMagic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TapMagic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TapMagic PROTOCOL_BINARY_REQ
public static final TapMagic PROTOCOL_BINARY_RES
public static TapMagic[] values()
for (TapMagic c : TapMagic.values()) System.out.println(c);
public static TapMagic 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 TapMagic getMagicByByte(byte b)
public byte getMagic()
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.