public interface BBjBridgeResponse
An instance of BBjBridgeResponse may be obtained by calling JavaBBjBridgeFactory.createBridgeResponse().
Modifier and Type | Method and Description |
---|---|
boolean |
didTimeOut()
indication of whether the response was the result of a timed-out request
|
byte[] |
get(byte[] key)
Retrieves data that was written by the BBjProgram using
a record oriented write with a key.
|
java.lang.String |
get(java.lang.String key)
Retrieves data that was written by the BBjProgram using
a record oriented write with a key.
|
byte[] |
getBytes()
Retrieves data that was written by the BBjProgram using
byte-oriented writes.
|
int |
getExitCode()
Retrieves the exit code of the process that was run.
|
byte[] |
getKey(int p_index)
Returns key at a specified index.
|
int |
getRecordCount()
Accessor for number of records in data.
|
int |
getRecordNumberFromKey(byte[] p_key)
Retrieves the index position of a key.
|
byte[] |
getValue(int p_index)
Returns value at a specified index.
|
boolean |
isRecordOriented()
Indicates whether this response contains record-oriented data.
|
byte[] getBytes()
byte[] get(byte[] key)
java.lang.String get(java.lang.String key)
int getExitCode()
boolean isRecordOriented()
int getRecordCount()
int getRecordNumberFromKey(byte[] p_key)
p_key
- The key of interest.byte[] getKey(int p_index) throws java.lang.ArrayIndexOutOfBoundsException
p_index
- Index of desired key.java.lang.ArrayIndexOutOfBoundsException
byte[] getValue(int p_index) throws java.lang.ArrayIndexOutOfBoundsException
p_index
- Index of desired value.java.lang.ArrayIndexOutOfBoundsException
boolean didTimeOut()