|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base
com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Reply
public abstract class PROTOCOL_Reply
| Field Summary | |
|---|---|
protected int |
_message_offset
|
protected com.ibm.etools.systems.as400.debug.protocol.PStdString |
_message_text
|
protected int |
_reply_code
|
protected int |
_return_code
|
protected int |
_total_bytes
|
| Fields inherited from class com.ibm.etools.systems.as400.debug.protocol.PROTOCOL_Base |
|---|
_byteBuffer, DISPLAYDETAIL |
| Constructor Summary | |
|---|---|
protected |
PROTOCOL_Reply()
|
protected |
PROTOCOL_Reply(byte[] packetBuffer,
DataInputStream dataInputStream,
PROTOCOL_EngineSession engineSession)
Used to process an incoming reply packet |
| Method Summary | |
|---|---|
boolean |
anyChanged()
returns true if any changed bits are on |
static PROTOCOL_Reply |
decodeReplyStream(InputStream inputStream,
PROTOCOL_EngineSession engineSession)
returns a reply object from a buffer based on the reply type default to process the change packets |
static PROTOCOL_Reply |
decodeReplyStream(InputStream inputStream,
PROTOCOL_EngineSession engineSession,
boolean processChgPkts)
returns a reply object from a buffer based on the reply type |
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. |
PECPBreakpoint[] |
getBreakpointChanges()
|
String |
getMessageText()
returns the text of the message if there is any if there is no text then a null string is returned |
int |
getReplyCode()
returns the reply code see ibm.EPDC.EPDC.java for a list of the codes |
int |
getReturnCode()
returns the return code |
boolean |
isBrkPtChgd()
|
boolean |
isFCTChgd()
|
boolean |
isLogChgd()
|
boolean |
isModuleEntryChgd()
|
boolean |
isMonRegsChgd()
|
boolean |
isMonStackChgd()
|
boolean |
isMonStorChgd()
|
boolean |
isMonVariableChgd()
|
boolean |
isPartChgd()
|
boolean |
isPgmStateChgd()
|
String |
returnCodeString()
returns a string that represents the return code |
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 |
| Field Detail |
|---|
protected int _reply_code
protected int _return_code
protected int _message_offset
protected com.ibm.etools.systems.as400.debug.protocol.PStdString _message_text
protected int _total_bytes
| Constructor Detail |
|---|
protected PROTOCOL_Reply()
protected PROTOCOL_Reply(byte[] packetBuffer,
DataInputStream dataInputStream,
PROTOCOL_EngineSession engineSession)
throws IOException
IOException| Method Detail |
|---|
public static PROTOCOL_Reply decodeReplyStream(InputStream inputStream,
PROTOCOL_EngineSession engineSession)
throws IOException
IOException
public static PROTOCOL_Reply decodeReplyStream(InputStream inputStream,
PROTOCOL_EngineSession engineSession,
boolean processChgPkts)
throws IOException
IOExceptionpublic int getReplyCode()
public int getReturnCode()
public String returnCodeString()
public String getMessageText()
public boolean anyChanged()
public boolean isPartChgd()
public boolean isBrkPtChgd()
public boolean isPgmStateChgd()
public boolean isMonVariableChgd()
public boolean isMonStorChgd()
public boolean isMonStackChgd()
public boolean isMonRegsChgd()
public boolean isModuleEntryChgd()
public boolean isFCTChgd()
public boolean isLogChgd()
public void writeFormattedEPDC(DataOutputStream dataOutputStream,
byte formatFlags)
PROTOCOL_Base
writeFormattedEPDC in class PROTOCOL_Basepublic PECPBreakpoint[] getBreakpointChanges()
protected final int fixedLen()
PROTOCOL_Base
fixedLen in class PROTOCOL_Baseprotected final int varLen()
PROTOCOL_Base
varLen in class PROTOCOL_Base
|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||