public static class SEQUENCER.SequencerHeader extends Header
Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
SequencerHeader() |
SequencerHeader(byte type) |
SequencerHeader(byte type,
long seqno) |
Modifier and Type | Method and Description |
---|---|
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 SequencerHeader()
public SequencerHeader(byte type)
public 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
Copyright © 1998-2020 Red Hat. All Rights Reserved.