public class NakAckHeader extends Header
Modifier and Type | Field and Description |
---|---|
static byte |
MSG |
static byte |
XMIT_REQ |
static byte |
XMIT_RSP |
Constructor and Description |
---|
NakAckHeader() |
Modifier and Type | Method and Description |
---|---|
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)
Copyright © 1998-2020 Red Hat. All Rights Reserved.