Rational Developer for i
7.5.0

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

java.lang.Object
  extended by com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
      extended by com.ibm.etools.systems.as400.debug.protocol.PViews

public class PViews
extends PROTOCOL_Base


Field Summary
 
Fields inherited from class com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
_byteBuffer, DISPLAYDETAIL
 
Constructor Summary
PViews(int RecLength, int Startline, int Endline, String Filename, String BaseFilename, int ViewAttr)
           
 
Method Summary
 String baseFileName()
           
 boolean fileNameCanBeOverridden()
           
 int firstLineNumber()
           
protected  int fixedLen()
          Return the length of the fixed component
 byte getAttributes()
          Return the list of attributes for this view
 boolean isVerified()
          Returns 'true' if the debug engine has verified that this file exists in the file system (or wherever) and can therefore be used to build the view containing this file.
 int lastLineNumber()
           
 String name()
           
 int recordLength()
           
 void setAttributes(byte newAttr)
           
protected  int toDataStreams(DataOutputStream fixedData, DataOutputStream varData, int baseOffset)
          Outputs the class into two byte streams for fixed and variable data, corresponding to the EPDC protocol.
protected  int varLen()
          Return the length of the variable component
 boolean verificationAttempted()
           
 boolean verificationAttemptedFE()
           
 boolean verificationLocal()
           
 boolean viewCanBeSwitched()
           
 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

PViews

public PViews(int RecLength,
              int Startline,
              int Endline,
              String Filename,
              String BaseFilename,
              int ViewAttr)
Method Detail

recordLength

public int recordLength()

firstLineNumber

public int firstLineNumber()

lastLineNumber

public int lastLineNumber()

name

public String name()

baseFileName

public String baseFileName()

isVerified

public boolean isVerified()
Returns 'true' if the debug engine has verified that this file exists in the file system (or wherever) and can therefore be used to build the view containing this file.


verificationLocal

public boolean verificationLocal()

verificationAttempted

public boolean verificationAttempted()

verificationAttemptedFE

public boolean verificationAttemptedFE()

fileNameCanBeOverridden

public boolean fileNameCanBeOverridden()

viewCanBeSwitched

public boolean viewCanBeSwitched()

getAttributes

public byte getAttributes()
Return the list of attributes for this view


setAttributes

public void setAttributes(byte newAttr)

toDataStreams

protected int toDataStreams(DataOutputStream fixedData,
                            DataOutputStream varData,
                            int baseOffset)
                     throws IOException
Outputs the class into two byte streams for fixed and variable data, corresponding to the EPDC protocol.

Parameters:
fixedData - output stream for the fixed data
varData - output stream for the variable data
baseOffset - the base offset to add to all offsets
Returns:
total size of written data
Throws:
IOException - if an I/O error occurs
BadEPDCCommandException - if the EPDC command is structured incorrectly

fixedLen

protected int fixedLen()
Return the length of the fixed component


varLen

protected int varLen()
Return the length of the variable component


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

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.