public interface ServiceParameterBuffer
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND_LINE |
static int |
CONNECT_TIMEOUT |
static int |
CURRENT_VERSION |
static int |
DBNAME |
static int |
DUMMY_PACKET_INTERVAL |
static int |
OPTIONS |
static int |
PASSWORD |
static int |
PASSWORD_ENC |
static int |
SQL_ROLE_NAME |
static int |
SYS_USER_NAME |
static int |
SYS_USER_NAME_ENC |
static int |
USER_NAME |
static int |
VERBOSE |
static int |
VERSION |
static int |
VERSION1 |
Modifier and Type | Method and Description |
---|---|
void |
addArgument(int argumentType)
Set a void (valueless) parameter on this
ServiceParameterBuffer . |
void |
addArgument(int argumentType,
byte[] data)
Set an
byte[] paramter on this
ServiceParameterBuffer . |
void |
addArgument(int argumentType,
int value)
Set an
int paramter on this
ServiceParameterBuffer . |
void |
addArgument(int argumentType,
java.lang.String value)
Set a
String parameter on this
ServiceParameterBuffer . |
int |
getArgumentAsInt(int argumentType)
Get argument as int.
|
java.lang.String |
getArgumentAsString(int argumentType)
Get argument as string.
|
boolean |
hasArgument(int argumentType)
Check if this parameter buffer has specified argument.
|
void |
removeArgument(int argumentType)
Remove specified argument.
|
static final int VERSION
static final int VERSION1
static final int CURRENT_VERSION
static final int USER_NAME
static final int SYS_USER_NAME
static final int SYS_USER_NAME_ENC
static final int PASSWORD
static final int PASSWORD_ENC
static final int COMMAND_LINE
static final int DBNAME
static final int VERBOSE
static final int OPTIONS
static final int CONNECT_TIMEOUT
static final int DUMMY_PACKET_INTERVAL
static final int SQL_ROLE_NAME
void addArgument(int argumentType)
ServiceParameterBuffer
.argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
void addArgument(int argumentType, java.lang.String value)
String
parameter on this
ServiceParameterBuffer
.argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
value
- The value to set for the given parameter typevoid addArgument(int argumentType, int value)
int
paramter on this
ServiceParameterBuffer
.argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
value
- The value to set for the given parameter typevoid addArgument(int argumentType, byte[] data)
byte[]
paramter on this
ServiceParameterBuffer
.argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
data
- The value to set for the given parameter typevoid removeArgument(int argumentType)
argumentType
- type of argument to remove.java.lang.String getArgumentAsString(int argumentType)
argumentType
- type of argument to find.null
if nothing found.int getArgumentAsInt(int argumentType)
argumentType
- type of argument to find.0
if nothing found.boolean hasArgument(int argumentType)
argumentType
- type of argument to find.true
if this buffer contains specified argument.Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.