org.eclipse.emf.mwe.internal.core.debug.communication.packages
Class RequireVarPackage

java.lang.Object
  extended by org.eclipse.emf.mwe.internal.core.debug.communication.packages.AbstractPackage
      extended by org.eclipse.emf.mwe.internal.core.debug.communication.packages.RequireVarPackage

public class RequireVarPackage
extends AbstractPackage

The packet to communicate a request for variable from a specific frame and variable id.


Field Summary
 int frameId
           
 int varId
           
 
Fields inherited from class org.eclipse.emf.mwe.internal.core.debug.communication.packages.AbstractPackage
id, refId
 
Constructor Summary
RequireVarPackage(int frameId, int varId)
           
 
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.eclipse.emf.mwe.internal.core.debug.communication.packages.AbstractPackage
getId, setNextId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

frameId

public int frameId

varId

public int varId
Constructor Detail

RequireVarPackage

public RequireVarPackage(int frameId,
                         int varId)
Method Detail

readContent

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

Specified by:
readContent in class AbstractPackage
Parameters:
in - the DataInputStream
Throws:
java.io.IOException

writeContent

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

Specified by:
writeContent in class AbstractPackage
Parameters:
out - the DataOutputStream
Throws:
java.io.IOException

toString

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