Rational Developer for i
7.5.0

com.ibm.etools.systems.as400.debug.protocol
Class PStdView

java.lang.Object
  extended by com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
      extended by com.ibm.etools.systems.as400.debug.protocol.PStdView
All Implemented Interfaces:
Serializable

public class PStdView
extends PROTOCOL_Base
implements Serializable

Class corresponding to EStdView structure

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
_byteBuffer, DISPLAYDETAIL
 
Constructor Summary
PStdView(PStdView view)
           
PStdView(short PPID, short View, int SrcFileIndex, int LineNum)
           
 
Method Summary
protected static int _fixedLen()
           
 boolean equals(PStdView view)
          Return true if and only if the EStdView object is not null and all the elements of the two EStdView objects match.
protected  int fixedLen()
          Return the total length of the fixed component including any base fixed length Each reply/request must implement this to return the "fixed" portion of their protocol.
 int getLineNum()
           
 short getPPID()
           
 int getSrcFileIndex()
           
 short getViewNo()
           
 boolean isComplete()
           
 void setLineNum(int lineNumber)
           
 void setPPID(short partID)
           
protected  int toDataStreams(DataOutputStream fixedData, DataOutputStream varData, int baseOffset)
           
protected  int varLen()
          Return the total length of the variable component including any *base* variable length Return the length of the variable component Each reply/request must implement this to return the length of the variable portion of its protocol e.g.
 void writeFormattedEPDC(DataOutputStream dataOutputStream, byte formatFlags)
          Write to the output stream an XML formatted representation of this EPDC class NOTE: This method should be implemented in all EPDC classes
 
Methods inherited from class com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
bytesAvailable, dumpEPDC, getByteBuffer, getDataInputStream, getEPDCEngineSession, getEPDCVersion, getInternalName, getOffset, getPlatformIdentifier, intAsBytes, markOffset, posBuffer, readChar, readExtString, readInt, readOffset, readShort, readStdString, setEPDCEngineSession, skipBytes, totalBytes, totalBytes, writeChar, writeInt, writeOffset, writeOffsetOrZero, writeShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PStdView

public PStdView(short PPID,
                short View,
                int SrcFileIndex,
                int LineNum)

PStdView

public PStdView(PStdView view)
Method Detail

equals

public boolean equals(PStdView view)
Return true if and only if the EStdView object is not null and all the elements of the two EStdView objects match.


getPPID

public short getPPID()

setPPID

public void setPPID(short partID)

getViewNo

public short getViewNo()

getSrcFileIndex

public int getSrcFileIndex()

getLineNum

public int getLineNum()

isComplete

public boolean isComplete()

setLineNum

public void setLineNum(int lineNumber)

fixedLen

protected int fixedLen()
Description copied from class: PROTOCOL_Base
Return the total length of the fixed component including any base fixed length Each reply/request must implement this to return the "fixed" portion of their protocol. e.g. this.fixedLen() + super.fixedLen()


_fixedLen

protected static int _fixedLen()

toDataStreams

protected int toDataStreams(DataOutputStream fixedData,
                            DataOutputStream varData,
                            int baseOffset)
                     throws IOException
Throws:
IOException

writeFormattedEPDC

public void writeFormattedEPDC(DataOutputStream dataOutputStream,
                               byte formatFlags)
Description copied from class: PROTOCOL_Base
Write to the output stream an XML formatted representation of this EPDC class NOTE: This method should be implemented in all EPDC classes

Specified by:
writeFormattedEPDC in class PROTOCOL_Base

varLen

protected int varLen()
Description copied from class: PROTOCOL_Base
Return the total length of the variable component including any *base* variable length Return the length of the variable component Each reply/request must implement this to return the length of the variable portion of its protocol e.g. this.varLen() + super.varLen()

Specified by:
varLen in class PROTOCOL_Base

Rational Developer for i
7.5.0

Copyright 2009 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.