protected static class FORWARD_TO_COORD.ForwardHeader extends Header
| 限定符和类型 | 字段和说明 |
|---|---|
protected static byte |
ACK |
protected long |
id |
protected static byte |
MSG |
protected static byte |
NOT_COORD |
protected byte |
type |
| 构造器和说明 |
|---|
FORWARD_TO_COORD.ForwardHeader() |
FORWARD_TO_COORD.ForwardHeader(byte type,
long id) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getId() |
byte |
getType() |
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 MSG
protected static final byte ACK
protected static final byte NOT_COORD
protected byte type
protected long id
public FORWARD_TO_COORD.ForwardHeader()
public FORWARD_TO_COORD.ForwardHeader(byte type,
long id)
public long getId()
public byte getType()
public int size()
Headerpublic void writeTo(java.io.DataOutput out)
throws java.lang.Exception
Streamablejava.lang.Exceptionpublic void readFrom(java.io.DataInput in)
throws java.lang.Exception
Streamablejava.lang.Exceptionprotected static java.lang.String typeToString(byte type)