protected static class MPerf.MPerfHeader extends Header
Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
MPerfHeader() |
MPerfHeader(byte type) |
MPerfHeader(byte type,
long seqno) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(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.
|
void |
writeTo(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 MPerfHeader()
public MPerfHeader(byte type)
public MPerfHeader(byte type, long seqno)
public int size()
Header
public void writeTo(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.