public class NakAckHeader extends Header
构造器和说明 |
---|
NakAckHeader() |
限定符和类型 | 方法和说明 |
---|---|
NakAckHeader |
copy() |
static NakAckHeader |
createMessageHeader(long seqno) |
static NakAckHeader |
createXmitRequestHeader(long low,
long high,
Address orginal_sender) |
static NakAckHeader |
createXmitResponseHeader() |
Range |
getRange() |
Address |
getSender() |
long |
getSeqno() |
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() |
static java.lang.String |
type2Str(byte t) |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte MSG
public static final byte XMIT_REQ
public static final byte XMIT_RSP
public static NakAckHeader createMessageHeader(long seqno)
public static NakAckHeader createXmitRequestHeader(long low, long high, Address orginal_sender)
public static NakAckHeader createXmitResponseHeader()
public byte getType()
public long getSeqno()
public Range getRange()
public Address getSender()
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
public NakAckHeader copy()
public static java.lang.String type2Str(byte t)