protected static class MPerf.MPerfHeader extends Header
限定符和类型 | 字段和说明 |
---|---|
protected static byte |
ACK |
protected static byte |
CLEAR_RESULTS |
protected static byte |
CONFIG_CHANGE |
protected static byte |
CONFIG_REQ |
protected static byte |
CONFIG_RSP |
protected static byte |
DATA |
protected static byte |
EXIT |
protected static byte |
NEW_CONFIG |
protected static byte |
RESULT |
protected static byte |
SENDING_DONE |
protected long |
seqno |
protected static byte |
START_SENDING |
protected byte |
type |
构造器和说明 |
---|
MPerf.MPerfHeader() |
MPerf.MPerfHeader(byte type) |
MPerf.MPerfHeader(byte type,
long seqno) |
限定符和类型 | 方法和说明 |
---|---|
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
To be implemented by subclasses.
|
java.lang.String |
toString() |
protected static java.lang.String |
typeToString(byte type) |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected static final byte DATA
protected static final byte START_SENDING
protected static final byte SENDING_DONE
protected static final byte RESULT
protected static final byte CLEAR_RESULTS
protected static final byte CONFIG_CHANGE
protected static final byte CONFIG_REQ
protected static final byte CONFIG_RSP
protected static final byte EXIT
protected static final byte NEW_CONFIG
protected static final byte ACK
protected byte type
protected long seqno
public MPerf.MPerfHeader()
public MPerf.MPerfHeader(byte type)
public MPerf.MPerfHeader(byte type, long seqno)
public int size()
Header
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
java.lang.Exception
protected static java.lang.String typeToString(byte type)