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.
Method Summary |
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 . |
VERSION
public static final int VERSION
VERSION1
public static final int VERSION1
CURRENT_VERSION
public static final int CURRENT_VERSION
USER_NAME
public static final int USER_NAME
SYS_USER_NAME
public static final int SYS_USER_NAME
SYS_USER_NAME_ENC
public static final int SYS_USER_NAME_ENC
PASSWORD
public static final int PASSWORD
PASSWORD_ENC
public static final int PASSWORD_ENC
COMMAND_LINE
public static final int COMMAND_LINE
DBNAME
public static final int DBNAME
VERBOSE
public static final int VERBOSE
OPTIONS
public static final int OPTIONS
CONNECT_TIMEOUT
public static final int CONNECT_TIMEOUT
DUMMY_PACKET_INTERVAL
public static final int DUMMY_PACKET_INTERVAL
SQL_ROLE_NAME
public static final int SQL_ROLE_NAME
addArgument
public void addArgument(int argumentType)
- Set a void (valueless) parameter on this
ServiceParameterBuffer
.
- Parameters:
argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
addArgument
public void addArgument(int argumentType,
java.lang.String value)
- Set a
String
parameter on this
ServiceParameterBuffer
.
- Parameters:
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,
int value)
- Set an
int
paramter on this
ServiceParameterBuffer
.
- Parameters:
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
.
- Parameters:
argumentType
- The parameter to be set, one of the isc_spb_*
constants from ISCConstants
data
- The value to set for the given parameter type
Copyright © 2001 David Jencks and other authors. All rights reserved.