|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.internal.execution.local.common.CommandElement
public abstract class CommandElement
| Field Summary | |
|---|---|
protected long |
_context
|
protected long |
_tag
|
| Constructor Summary | |
|---|---|
CommandElement()
|
|
| Method Summary | |
|---|---|
long |
getContext()
Return the context of this command element |
int |
getSize()
Return the size of this command in number of bytes |
long |
getTag()
Return the command tag |
int |
readFromBuffer(byte[] buffer,
int offset)
Construct the command by reading the buffer |
void |
setContext(long context)
Set the command's context |
int |
writeToBuffer(byte[] buffer,
int offset)
Serialize the command into the byte buffer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long _tag
protected long _context
| Constructor Detail |
|---|
public CommandElement()
| Method Detail |
|---|
public long getContext()
public int getSize()
public long getTag()
public int readFromBuffer(byte[] buffer,
int offset)
buffer - Buffer containing serialized commandoffset - Start position for reading
public void setContext(long context)
context -
public int writeToBuffer(byte[] buffer,
int offset)
buffer - Buffer containing serialized commandoffset - Start position for reading
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||