public enum PacketType extends java.lang.Enum<PacketType>
Enum Constant and Description |
---|
ATTRS |
CLOSE |
DATA |
EXTENDED |
EXTENDED_REPLY |
FSETSTAT |
FSTAT |
HANDLE |
INIT |
LSTAT |
MKDIR |
NAME |
OPEN |
OPENDIR |
READ |
READDIR |
READLINK |
REALPATH |
REMOVE |
RENAME |
RMDIR |
SETSTAT |
STAT |
STATUS |
SYMLINK |
UNKNOWN |
VERSION |
WRITE |
Modifier and Type | Method and Description |
---|---|
static PacketType |
fromByte(byte b) |
byte |
toByte() |
static PacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketType UNKNOWN
public static final PacketType INIT
public static final PacketType VERSION
public static final PacketType OPEN
public static final PacketType CLOSE
public static final PacketType READ
public static final PacketType WRITE
public static final PacketType LSTAT
public static final PacketType FSTAT
public static final PacketType SETSTAT
public static final PacketType FSETSTAT
public static final PacketType OPENDIR
public static final PacketType READDIR
public static final PacketType REMOVE
public static final PacketType MKDIR
public static final PacketType RMDIR
public static final PacketType REALPATH
public static final PacketType STAT
public static final PacketType RENAME
public static final PacketType READLINK
public static final PacketType SYMLINK
public static final PacketType STATUS
public static final PacketType HANDLE
public static final PacketType DATA
public static final PacketType NAME
public static final PacketType ATTRS
public static final PacketType EXTENDED
public static final PacketType EXTENDED_REPLY
public static PacketType[] values()
for (PacketType c : PacketType.values()) System.out.println(c);
public static PacketType 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 PacketType fromByte(byte b)
public byte toByte()