Modifier and Type | Field and Description |
---|---|
static int |
DB_CANDIDATE
Indicates the candidate configuration.
|
static int |
DB_INTENDED
Indicates the intended db.
|
static int |
DB_NONE
Indicates the null db (should not be used).
|
static int |
DB_OPERATIONAL
Indicates the operational db.
|
static int |
DB_PRE_COMMIT_RUNNING
Indicates the pre commit running db.
|
static int |
DB_RUNNING
Indicates the running configuration.
|
static int |
DB_STARTUP
Indicates the startup configuration.
|
static int |
DEBUG_NORMAL
Debug level flag.
|
static int |
DEBUG_PROTO
Debug level flag.
|
static int |
DEBUG_SILENT
Debug level flag.
|
static int |
DEBUG_TRACE
Debug level flag.
|
static int |
IA_CLIENT_HA |
static int |
IA_CLIENT_MAAPI
Internal Acceptor client ids used by both application and
ConfInternal
|
static int |
IA_CLIENT_NCS |
static int |
LIBVSN
Library version.
|
static int |
MODE_READ
Indicates a read only transaction.
|
static int |
MODE_READ_WRITE
Indicates a read and write transaction.
|
static int |
NCS_PORT
Default port number that NCS listens to.
|
static int |
PORT
Default port number that ConfD listens to.
|
static int |
PROTOVSN
Library protocol version.
|
static int |
REPLY_ACCUMULATE
General return value for many of the API methods.
|
static int |
REPLY_ALREADY_LOCKED
General return value for many of the API methods.
|
static int |
REPLY_DELAYED_RESPONSE
General return value for many of the API methods.
|
static int |
REPLY_EOF
General return value for many of the API methods.
|
static int |
REPLY_ERR
General return value for many of the API methods.
|
static int |
REPLY_OK
General return value for many of the API methods.
|
static int |
REPLY_VALIDATION_WARN
General return value for many of the API methods.
|
Constructor and Description |
---|
Conf() |
Modifier and Type | Method and Description |
---|---|
static String |
byteArrayToHexString(byte[] a)
Converts a byte array to a hex string
|
static String |
dbnameToString(int dbname)
Converts a dbname constant into a string
|
static byte[] |
hexStringToByteArray(String s)
Converts a hex string to a byte array
|
static String |
kpToString(ConfObject[] kp)
Converts a keypath Object[] kp into a string.
|
static String |
modeToString(int mode)
Converts a mode constant into a string
|
public static final int LIBVSN
public static final int PROTOVSN
public static final int PORT
public static final int NCS_PORT
public static final int IA_CLIENT_MAAPI
public static final int IA_CLIENT_HA
public static final int IA_CLIENT_NCS
public static final int REPLY_DELAYED_RESPONSE
public static final int REPLY_ACCUMULATE
public static final int REPLY_OK
public static final int REPLY_ERR
public static final int REPLY_EOF
public static final int REPLY_VALIDATION_WARN
public static final int REPLY_ALREADY_LOCKED
public static final int DB_NONE
public static final int DB_CANDIDATE
public static final int DB_RUNNING
public static final int DB_STARTUP
public static final int DB_OPERATIONAL
public static final int DB_PRE_COMMIT_RUNNING
public static final int DB_INTENDED
public static final int DEBUG_SILENT
public static final int DEBUG_NORMAL
public static final int DEBUG_TRACE
public static final int DEBUG_PROTO
public static final int MODE_READ
public static final int MODE_READ_WRITE
public static String dbnameToString(int dbname)
public static String modeToString(int mode)
public static String kpToString(ConfObject[] kp)
kp
- Keypathpublic static byte[] hexStringToByteArray(String s)
public static String byteArrayToHexString(byte[] a)