public static class SEQUENCER2.SequencerHeader extends Header
Modifier and Type | Field and Description |
---|---|
protected static byte |
BCAST |
protected int |
num_seqnos |
protected static byte |
REQUEST |
protected static byte |
RESPONSE |
protected long |
seqno |
protected byte |
type |
Constructor and Description |
---|
SequencerHeader() |
SequencerHeader(byte type) |
SequencerHeader(byte type,
long seqno) |
SequencerHeader(byte type,
long seqno,
int num_seqnos) |
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 REQUEST
protected static final byte BCAST
protected static final byte RESPONSE
protected byte type
protected long seqno
protected int num_seqnos
public SequencerHeader()
public SequencerHeader(byte type)
public SequencerHeader(byte type, long seqno)
public SequencerHeader(byte type, long seqno, int num_seqnos)
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.