Class CommandPackage
java.lang.Object
org.eclipse.emf.mwe.internal.core.debug.communication.packages.AbstractPackage
org.eclipse.emf.mwe.internal.core.debug.communication.packages.CommandPackage
The packet to communicate a process or direct command to the runtime process.
-
Field Summary
FieldsFields inherited from class org.eclipse.emf.mwe.internal.core.debug.communication.packages.AbstractPackage
id, refId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fill the packet fields from theDataInputStream
.toString()
void
write the packet fields content to theDataOutputStream
.Methods inherited from class org.eclipse.emf.mwe.internal.core.debug.communication.packages.AbstractPackage
getId, setNextId
-
Field Details
-
command
public int command
-
-
Constructor Details
-
CommandPackage
public CommandPackage(int command)
-
-
Method Details
-
readContent
Description copied from class:AbstractPackage
fill the packet fields from theDataInputStream
. Implementors have to make sure that the data content matches with the writeContent(out) method!!- Specified by:
readContent
in classAbstractPackage
- Parameters:
in
- the DataInputStream- Throws:
IOException
-
writeContent
Description copied from class:AbstractPackage
write the packet fields content to theDataOutputStream
. Implementors have to make sure that the data content matches with the readContent(out) method!!- Specified by:
writeContent
in classAbstractPackage
- Parameters:
out
- the DataOutputStream- Throws:
IOException
-
toString
- Overrides:
toString
in classAbstractPackage
-