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.

Field Summary

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

Method Summary

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.

Field Details

COMMAND_LINE

public static final int COMMAND_LINE
Field Value:
105

CONNECT_TIMEOUT

public static final int CONNECT_TIMEOUT
Field Value:
57

CURRENT_VERSION

public static final int CURRENT_VERSION
Field Value:
2

DBNAME

public static final int DBNAME
Field Value:
106

DUMMY_PACKET_INTERVAL

public static final int DUMMY_PACKET_INTERVAL
Field Value:
58

OPTIONS

public static final int OPTIONS
Field Value:
108

PASSWORD

public static final int PASSWORD
Field Value:
29

PASSWORD_ENC

public static final int PASSWORD_ENC
Field Value:
30

SQL_ROLE_NAME

public static final int SQL_ROLE_NAME
Field Value:
60

SYS_USER_NAME

public static final int SYS_USER_NAME
Field Value:
19

SYS_USER_NAME_ENC

public static final int SYS_USER_NAME_ENC
Field Value:
31

USER_NAME

public static final int USER_NAME
Field Value:
28

VERBOSE

public static final int VERBOSE
Field Value:
107

VERSION

public static final int VERSION
Field Value:
2

VERSION1

public static final int VERSION1
Field Value:
1

Method Details

addArgument

public void addArgument(int argumentType)
Set a void (valueless) parameter on this ServiceParameterBuffer.

addArgument

public void addArgument(int argumentType,
                        String value)
Set a String parameter on this ServiceParameterBuffer.

addArgument

public void addArgument(int argumentType,
                        byte[] data)
Set an byte[] paramter on this ServiceParameterBuffer.

addArgument

public void addArgument(int argumentType,
                        int value)
Set an int paramter on this ServiceParameterBuffer.

Copyright B) 2001 David Jencks and other authors. All rights reserved.