public enum NtStatus extends java.lang.Enum<NtStatus> implements EnumWithValue<NtStatus>
Subset of the possible values which are useful for SMB2 communication
EnumWithValue.EnumUtils| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
boolean |
isError()
Check whether the 'Sev' bits are set to 0x03.
|
static boolean |
isError(long statusCode)
Check whether the 'Sev' bits are set to 0x03.
|
boolean |
isInformational()
Check whether the 'Sev' bits are set to 0x01.
|
boolean |
isSuccess()
Check whether the 'Sev' bits are set to 0x0.
|
static boolean |
isSuccess(long statusCode)
Check whether the 'Sev' bits are set to 0x0.
|
boolean |
isWarning()
Check whether the 'Sev' bits are set to 0x02.
|
static NtStatus |
valueOf(long statusCode) |
static NtStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NtStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NtStatus STATUS_SUCCESS
public static final NtStatus STATUS_TIMEOUT
public static final NtStatus STATUS_PENDING
public static final NtStatus STATUS_NOTIFY_CLEANUP
public static final NtStatus STATUS_NOTIFY_ENUM_DIR
public static final NtStatus STATUS_BUFFER_OVERFLOW
public static final NtStatus STATUS_NO_MORE_FILES
public static final NtStatus STATUS_STOPPED_ON_SYMLINK
public static final NtStatus STATUS_NOT_IMPLEMENTED
public static final NtStatus STATUS_INVALID_INFO_CLASS
public static final NtStatus STATUS_INFO_LENGTH_MISMATCH
public static final NtStatus STATUS_NO_SUCH_FILE
public static final NtStatus STATUS_INVALID_PARAMETER
public static final NtStatus STATUS_END_OF_FILE
public static final NtStatus STATUS_MORE_PROCESSING_REQUIRED
public static final NtStatus STATUS_ACCESS_DENIED
public static final NtStatus STATUS_BUFFER_TOO_SMALL
public static final NtStatus STATUS_OBJECT_NAME_INVALID
public static final NtStatus STATUS_OBJECT_NAME_NOT_FOUND
public static final NtStatus STATUS_OBJECT_NAME_COLLISION
public static final NtStatus STATUS_OBJECT_PATH_NOT_FOUND
public static final NtStatus STATUS_SHARING_VIOLATION
public static final NtStatus STATUS_DELETE_PENDING
public static final NtStatus STATUS_PRIVILEGE_NOT_HELD
public static final NtStatus STATUS_LOGON_FAILURE
public static final NtStatus STATUS_PASSWORD_EXPIRED
public static final NtStatus STATUS_ACCOUNT_DISABLED
public static final NtStatus STATUS_DISK_FULL
public static final NtStatus STATUS_INSUFFICIENT_RESOURCES
public static final NtStatus STATUS_PIPE_NOT_AVAILABLE
public static final NtStatus STATUS_INVALID_PIPE_STATE
public static final NtStatus STATUS_PIPE_BUSY
public static final NtStatus STATUS_IO_TIMEOUT
public static final NtStatus STATUS_FILE_IS_A_DIRECTORY
public static final NtStatus STATUS_NOT_SUPPORTED
public static final NtStatus STATUS_BAD_NETWORK_PATH
public static final NtStatus STATUS_NETWORK_NAME_DELETED
public static final NtStatus STATUS_BAD_NETWORK_NAME
public static final NtStatus STATUS_REQUEST_NOT_ACCEPTED
public static final NtStatus STATUS_NET_WRITE_FAULT
public static final NtStatus STATUS_NOT_SAME_DEVICE
public static final NtStatus STATUS_FILE_RENAMED
public static final NtStatus STATUS_OPLOCK_NOT_GRANTED
public static final NtStatus STATUS_INTERNAL_ERROR
public static final NtStatus STATUS_UNEXPECTED_IO_ERROR
public static final NtStatus STATUS_DIRECTORY_NOT_EMPTY
public static final NtStatus STATUS_NOT_A_DIRECTORY
public static final NtStatus STATUS_NAME_TOO_LONG
public static final NtStatus STATUS_FILES_OPEN
public static final NtStatus STATUS_CONNECTION_IN_USE
public static final NtStatus STATUS_TOO_MANY_OPENED_FILES
public static final NtStatus STATUS_CANNOT_DELETE
public static final NtStatus STATUS_FILE_DELETED
public static final NtStatus STATUS_FILE_CLOSED
public static final NtStatus STATUS_OPEN_FAILED
public static final NtStatus STATUS_LOGON_TYPE_NOT_GRANTED
public static final NtStatus STATUS_TOO_MANY_SIDS
public static final NtStatus STATUS_USER_SESSION_DELETED
public static final NtStatus STATUS_CONNECTION_DISCONNECTED
public static final NtStatus STATUS_CONNECTION_RESET
public static final NtStatus STATUS_NOT_FOUND
public static final NtStatus STATUS_RETRY
public static final NtStatus STATUS_PATH_NOT_COVERED
public static final NtStatus STATUS_DFS_UNAVAILABLE
public static final NtStatus STATUS_VOLUME_DISMOUNTED
public static final NtStatus STATUS_FILE_ENCRYPTED
public static final NtStatus STATUS_NETWORK_SESSION_EXPIRED
public static final NtStatus STATUS_OTHER
public static NtStatus[] values()
for (NtStatus c : NtStatus.values()) System.out.println(c);
public static NtStatus 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 NtStatus valueOf(long statusCode)
public long getValue()
getValue in interface EnumWithValue<NtStatus>public boolean isSuccess()
public static boolean isSuccess(long statusCode)
public boolean isInformational()
public boolean isWarning()
public boolean isError()
public static boolean isError(long statusCode)