org.openarchitectureware.debug.communication.packets
Class EventPacketWithFrames

java.lang.Object
  extended by org.openarchitectureware.debug.communication.packets.AbstractPacket
      extended by org.openarchitectureware.debug.communication.packets.EventPacket
          extended by org.openarchitectureware.debug.communication.packets.EventPacketWithFrames

public class EventPacketWithFrames
extends EventPacket

The packet to communicate an event from the runtime process together with the current stack frame information.

Author:
Clemens Kadura (zAJKa)

Field Summary
 int cleanStackLevel
           
 java.util.List<SyntaxElementTO> frames
           
 
Fields inherited from class org.openarchitectureware.debug.communication.packets.EventPacket
event
 
Fields inherited from class org.openarchitectureware.debug.communication.packets.AbstractPacket
id, refId
 
Constructor Summary
EventPacketWithFrames(int event)
           
 
Method Summary
 void readContent(java.io.DataInputStream in)
          fill the packet fields from the DataInputStream.
 java.lang.String toString()
           
 void writeContent(java.io.DataOutputStream out)
          write the packet fields content to the DataOutputStream.
 
Methods inherited from class org.openarchitectureware.debug.communication.packets.AbstractPacket
getId, setNextId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cleanStackLevel

public int cleanStackLevel

frames

public java.util.List<SyntaxElementTO> frames
Constructor Detail

EventPacketWithFrames

public EventPacketWithFrames(int event)
Method Detail

readContent

public void readContent(java.io.DataInputStream in)
                 throws java.io.IOException
Description copied from class: AbstractPacket
fill the packet fields from the DataInputStream. Implementors have to make sure that the data content matches with the writeContent(out) method!!

Overrides:
readContent in class EventPacket
Parameters:
in - the DataInputStream
Throws:
java.io.IOException

writeContent

public void writeContent(java.io.DataOutputStream out)
                  throws java.io.IOException
Description copied from class: AbstractPacket
write the packet fields content to the DataOutputStream. Implementors have to make sure that the data content matches with the readContent(out) method!!

Overrides:
writeContent in class EventPacket
Parameters:
out - the DataOutputStream
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class EventPacket