public static class SEQUENCER.SequencerHeader extends Header
限定符和类型 | 字段和说明 |
---|---|
protected static byte |
BCAST |
protected static byte |
FLUSH |
protected boolean |
flush_ack |
protected static byte |
FORWARD |
protected long |
seqno |
protected byte |
type |
protected static byte |
WRAPPED_BCAST |
构造器和说明 |
---|
SEQUENCER.SequencerHeader() |
SEQUENCER.SequencerHeader(byte type) |
SEQUENCER.SequencerHeader(byte type,
long seqno) |
限定符和类型 | 方法和说明 |
---|---|
long |
getSeqno() |
protected java.lang.String |
printType() |
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.
|
protected static final byte FORWARD
protected static final byte FLUSH
protected static final byte BCAST
protected static final byte WRAPPED_BCAST
protected byte type
protected long seqno
protected boolean flush_ack
public SEQUENCER.SequencerHeader()
public SEQUENCER.SequencerHeader(byte type)
public SEQUENCER.SequencerHeader(byte type, long seqno)
public long getSeqno()
protected final java.lang.String printType()
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
public int size()
Header