org.firebirdsql.gds
Interface ServiceParameterBuffer
public interface ServiceParameterBuffer
Instance of this interface represents a Service Parameter Buffer from the
Firebird API documentation and specifies the attributes for the Services API
connection.
void | addArgument(int argumentType) - Set a void (valueless) parameter on this
ServiceParameterBuffer .
|
void | addArgument(int argumentType, String value) - Set a
String 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 .
|
COMMAND_LINE
public static final int COMMAND_LINE
CONNECT_TIMEOUT
public static final int CONNECT_TIMEOUT
CURRENT_VERSION
public static final int CURRENT_VERSION
DBNAME
public static final int DBNAME
DUMMY_PACKET_INTERVAL
public static final int DUMMY_PACKET_INTERVAL
OPTIONS
public static final int OPTIONS
PASSWORD
public static final int PASSWORD
PASSWORD_ENC
public static final int PASSWORD_ENC
SQL_ROLE_NAME
public static final int SQL_ROLE_NAME
SYS_USER_NAME
public static final int SYS_USER_NAME
SYS_USER_NAME_ENC
public static final int SYS_USER_NAME_ENC
USER_NAME
public static final int USER_NAME
VERBOSE
public static final int VERBOSE
VERSION
public static final int VERSION
VERSION1
public static final int VERSION1
addArgument
public void addArgument(int argumentType)
Set a void (valueless) parameter on this
ServiceParameterBuffer
.
argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
addArgument
public void addArgument(int argumentType,
String value)
Set a 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 type
addArgument
public void addArgument(int argumentType,
byte[] data)
Set an 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 type
addArgument
public void addArgument(int argumentType,
int value)
Set an 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 type
Copyright B) 2001 David Jencks and other authors. All rights reserved.