public abstract class PxReqCV extends Object
Constructor | Description |
---|---|
PxReqCV(short type) |
Constructs a PxReqCV object.
|
PxReqCV(short type,
boolean asynchronous) |
Constructs a PxReqCV object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addObjectParm(com.ibm.as400.access.PxTable pxTable,
Object object) |
|
void |
addObjectParm(Object object) |
|
void |
addParm(com.ibm.as400.access.PxParm parameter) |
Appends a parameter to the datastream.
|
void |
clearParms() |
Clears the parameters.
|
Object |
clone() |
Returns a new copy of this datastream.
|
void |
dump(PrintWriter output) |
Dumps the datastream for debugging and tracing.
|
long |
getCorrelationId() |
|
com.ibm.as400.access.PxParm |
getParm(int i) |
Returns a parameter.
|
int |
getParmCount() |
Returns the parameter count.
|
short |
getType() |
Returns the datastream type.
|
void |
readFrom(InputStream input,
com.ibm.as400.access.PxDSFactory factory) |
Loads this datastream by reading from an input stream.
|
String |
toString() |
Returns the String representation of the datastream.
|
void |
writeTo(OutputStream output) |
Writes the contents of the datastream to an output stream.
|
public PxReqCV(short type)
type
- The datastream type. Valid values are listed in
the ProxyConstants class.public PxReqCV(short type, boolean asynchronous)
type
- The datastream type. Valid values are listed in
the ProxyConstants class.asynchronous
- true if asynchronous, false otherwise.public void dump(PrintWriter output)
output
- The print writer.public long getCorrelationId()
public void writeTo(OutputStream output) throws IOException
output
- The output stream.IOException
- If an error occurs.public void addObjectParm(Object object)
public void addObjectParm(com.ibm.as400.access.PxTable pxTable, Object object)
public void addParm(com.ibm.as400.access.PxParm parameter)
parameter
- The parameter.public void clearParms()
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- If the object cannot be cloned.public com.ibm.as400.access.PxParm getParm(int i)
i
- The parameter index (0-based).public int getParmCount()
public void readFrom(InputStream input, com.ibm.as400.access.PxDSFactory factory) throws IOException
input
- The input stream.factory
- The datastream factory. This is sometimes
needed when datastreams are nested.IOException
- If an error occurs.public short getType()
Copyright © 2024. All rights reserved.