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(DataInputStream 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.
|
String |
toString() |
static String |
type2Str(byte t) |
void |
writeTo(DataOutputStream 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(DataOutputStream out) throws IOException
Streamable
IOException
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
Streamable
public int size()
Header
public NakAckHeader copy()
public static String type2Str(byte t)
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.