|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.jtopenlite.command.Parameter
com.ibm.jtopenlite.command.InputOutputParameter
public class InputOutputParameter
Represents a program parameter to be used as both input and output.
| Field Summary |
|---|
| Fields inherited from class com.ibm.jtopenlite.command.Parameter |
|---|
TYPE_INPUT, TYPE_INPUT_OUTPUT, TYPE_NULL, TYPE_OUTPUT |
| Constructor Summary | |
|---|---|
InputOutputParameter(byte[] inputData,
int outputLength)
Constructs a parameter with the provided input data and output length. |
|
| Method Summary | |
|---|---|
byte[] |
getInputData()
Returns the input data. |
int |
getInputLength()
Returns the input length. |
int |
getMaxLength()
Returns the maximum of the output length and input length of this parameter. |
byte[] |
getOutputData()
Returns the output data. |
int |
getOutputLength()
Returns the output length. |
protected void |
setOutputData(byte[] data)
|
| Methods inherited from class com.ibm.jtopenlite.command.Parameter |
|---|
getType, isInput, isOutput, parseInt, parseString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputOutputParameter(byte[] inputData,
int outputLength)
| Method Detail |
|---|
public byte[] getInputData()
getInputData in class Parameterpublic int getInputLength()
getInputLength in class Parameterpublic int getOutputLength()
getOutputLength in class Parameterpublic int getMaxLength()
getMaxLength in class Parameterprotected void setOutputData(byte[] data)
setOutputData in class Parameterpublic byte[] getOutputData()
getOutputData in class Parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||