public enum Type extends Enum<Type>
Type defines the type of message. Type is a 1-byte unsigned char.
| Enum Constant and Description |
|---|
ATTENTION |
BULK_LOAD_DATA |
FED_AUTH_TOKEN |
PRE_LOGIN |
PRE_TDS7_LOGIN |
RPC |
SQL_BATCH |
SSPI |
TABULAR_RESULT |
TDS7_LOGIN |
TX_MGR |
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue() |
static Type |
valueOf(byte value)
Resolve header
value into Type. |
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type SQL_BATCH
public static final Type PRE_TDS7_LOGIN
public static final Type RPC
public static final Type TABULAR_RESULT
public static final Type ATTENTION
public static final Type BULK_LOAD_DATA
public static final Type FED_AUTH_TOKEN
public static final Type TX_MGR
public static final Type TDS7_LOGIN
public static final Type SSPI
public static final Type PRE_LOGIN
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Type valueOf(byte value)
value into Type.value - packet type identifier.Type.public byte getValue()
Copyright © 2023. All rights reserved.