public class NakAckHeader2 extends Header
NAKACK2
Modifier and Type | Field and Description |
---|---|
static byte |
HIGHEST_SEQNO |
static byte |
MSG |
static byte |
XMIT_REQ |
static byte |
XMIT_RSP |
Constructor and Description |
---|
NakAckHeader2() |
Modifier and Type | Method and Description |
---|---|
NakAckHeader2 |
copy() |
Supplier<? extends Header> |
create()
Creates an instance of the class implementing this interface
|
static NakAckHeader2 |
createHighestSeqnoHeader(long seqno) |
static NakAckHeader2 |
createMessageHeader(long seqno) |
static NakAckHeader2 |
createXmitRequestHeader(Address orginal_sender) |
static NakAckHeader2 |
createXmitResponseHeader() |
short |
getMagicId()
Returns the magic-ID.
|
Address |
getSender() |
long |
getSeqno() |
byte |
getType() |
void |
readFrom(DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
serializedSize()
Returns the size (in bytes) of the marshalled object
|
String |
toString() |
static String |
type2Str(byte t) |
void |
writeTo(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 final byte HIGHEST_SEQNO
public short getMagicId()
Header
getMagicId
in class Header
public Supplier<? extends Header> create()
Constructable
public static NakAckHeader2 createMessageHeader(long seqno)
public static NakAckHeader2 createXmitRequestHeader(Address orginal_sender)
public static NakAckHeader2 createXmitResponseHeader()
public static NakAckHeader2 createHighestSeqnoHeader(long seqno)
public byte getType()
public long getSeqno()
public Address getSender()
public void writeTo(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
public int serializedSize()
SizeStreamable
public NakAckHeader2 copy()
public static String type2Str(byte t)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.