Rational Developer for i
7.5.0

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

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

public class PRepGetViews
extends PROTOCOL_Base

View information that is sent back with ERepInitializeDE


Field Summary
 
Fields inherited from class com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
_byteBuffer, DISPLAYDETAIL
 
Constructor Summary
PRepGetViews(byte[] packetBuffer, DataInputStream dataInputStream)
           
PRepGetViews(short viewType, short viewClass, String viewName, byte viewAttr)
           
 
Method Summary
protected static int _fixedLen()
          Return length of fixed portion -- static function
protected  int fixedLen()
          Return length of fixed portion
 boolean hasPrefixArea()
           
 boolean isLineBreakpointCapable()
           
 boolean isMonitorCapable()
           
 short kind()
           
 String name()
           
protected  int toDataStreams(DataOutputStream fixedData, DataOutputStream varData, int baseOffset)
          Output class to data streams according to EPDC protocol
protected  int varLen()
          Return length of variable portion
 String viewAttr()
           
 String viewClass()
           
 String viewType()
           
 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

PRepGetViews

public PRepGetViews(short viewType,
                    short viewClass,
                    String viewName,
                    byte viewAttr)

PRepGetViews

public PRepGetViews(byte[] packetBuffer,
                    DataInputStream dataInputStream)
             throws IOException
Throws:
IOException
Method Detail

name

public String name()

hasPrefixArea

public boolean hasPrefixArea()

kind

public short kind()

viewClass

public String viewClass()

viewType

public String viewType()

viewAttr

public String viewAttr()

isMonitorCapable

public boolean isMonitorCapable()

isLineBreakpointCapable

public boolean isLineBreakpointCapable()

toDataStreams

protected int toDataStreams(DataOutputStream fixedData,
                            DataOutputStream varData,
                            int baseOffset)
                     throws IOException
Output class to data streams according to EPDC protocol

Throws:
IOException - if an I/O error occurs
BadEPDCCommandException - if the EPDC command is structured incorrectly

fixedLen

protected int fixedLen()
Return length of fixed portion


_fixedLen

protected static int _fixedLen()
Return length of fixed portion -- static function


varLen

protected int varLen()
Return length of variable portion


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.