public interface CallServiceProgramParameterFormat
Modifier and Type | Field and Description |
---|---|
static int |
PARAMETER_FORMAT_BY_REFERENCE |
static int |
PARAMETER_FORMAT_BY_VALUE |
Modifier and Type | Method and Description |
---|---|
void |
fillInputData(int index,
byte[] dataBuffer,
int offset)
This method is used to fill an output buffer with the parameter information
before the procedure is called.
|
int |
getParameterCount()
This method is called to get the number of parameters used
by the service program procedure call.
|
int |
getParameterFormat(int index)
This method is used to obtain the format of the specified parameter
|
int |
getParameterLength(int index)
This method is used to obtain the length of the specified parameter
|
void |
setOutputData(int index,
byte[] dataBuffer,
int offset)
This method is used to set the internal value of the parameter from a dataBuffer
|
static final int PARAMETER_FORMAT_BY_VALUE
static final int PARAMETER_FORMAT_BY_REFERENCE
int getParameterCount()
int getParameterLength(int index)
index
- 0-based parameter identifier.int getParameterFormat(int index)
index
- 0-based parameter identifier.void fillInputData(int index, byte[] dataBuffer, int offset)
index
- 0-based parameter identifierdataBuffer
- buffer containing the dataoffset
- offset to where the data should be placedvoid setOutputData(int index, byte[] dataBuffer, int offset)
index
- 0-based parameter identifierdataBuffer
- buffer containing the dataoffset
- offset to where the data should be retrieved