public static class STABLE.StableHeader extends Header
| 限定符和类型 | 字段和说明 |
|---|---|
static byte |
STABILITY |
static byte |
STABLE_GOSSIP |
protected byte |
type |
protected ViewId |
view_id |
| 构造器和说明 |
|---|
STABLE.StableHeader() |
STABLE.StableHeader(byte type,
ViewId view_id) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte STABLE_GOSSIP
public static final byte STABILITY
protected byte type
protected ViewId view_id
public STABLE.StableHeader()
public STABLE.StableHeader(byte type,
ViewId view_id)
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.Exception