|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.verifiers.comm.bridge.FDKWDStruct
public class FDKWDStruct
This class corresponds to the CODE comm FDKWD struct defined in evfcsys.h typedef struct { SHORT length; Length of keyword parameters SHORT numParameter; number of parameters SHORT id; keyword identifier List of keyword parameters } FDKWD; This structure is then following by a list of all associated parameters, each parameter separated from the next one by a null terminator.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
FDKWDStruct(short id)
Constructor for FDKWDStruct Use this constructor if the keyword has no parameter information |
|
FDKWDStruct(short id,
String[] parameters)
Constructor for FDKWDStruct. |
Method Summary | |
---|---|
protected static int |
getFDKWDStructLength()
Returns the size of this structure (fields + parameters) in bytes 6 bytes for the length, numParameter and id fields (3 * 2 bytes) + x bytes for the parameter info |
protected static byte |
getKeywordID(String name)
Given a keyword name, convert it to the short ID equivalent as specified in the OS/400 QDBRTVFD api documentation. |
protected int |
getParameterLength()
Return the length of the parameter string. |
void |
write(JavaToCOutputStream out)
Stream the contents of this structure to the output stream in such a way that the contents can be read by the other socket peer (CODE comm written in C) and memcpy'd into the FDKWD structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public FDKWDStruct(short id)
public FDKWDStruct(short id, String[] parameters)
Method Detail |
---|
public void write(JavaToCOutputStream out) throws IOException
IOException
protected static int getFDKWDStructLength()
protected int getParameterLength()
protected static byte getKeywordID(String name)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |