public static class UNICAST2.Unicast2Header extends Header
| DATA | seqno | conn_id | first | | ACK | seqno | | SEND_FIRST_SEQNO | seqno |
| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA |
static byte |
SEND_FIRST_SEQNO |
static byte |
STABLE |
static byte |
XMIT_REQ |
| Constructor and Description |
|---|
Unicast2Header() |
| Modifier and Type | Method and Description |
|---|---|
UNICAST2.Unicast2Header |
copy() |
static UNICAST2.Unicast2Header |
createDataHeader(long seqno,
short conn_id,
boolean first) |
static UNICAST2.Unicast2Header |
createSendFirstSeqnoHeader(long seqno_received) |
static UNICAST2.Unicast2Header |
createStableHeader(long low,
long high) |
static UNICAST2.Unicast2Header |
createXmitReqHeader(long low,
long high) |
long |
getSeqno() |
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 DATA
public static final byte XMIT_REQ
public static final byte SEND_FIRST_SEQNO
public static final byte STABLE
public static UNICAST2.Unicast2Header createDataHeader(long seqno, short conn_id, boolean first)
public static UNICAST2.Unicast2Header createXmitReqHeader(long low, long high)
public static UNICAST2.Unicast2Header createStableHeader(long low, long high)
public static UNICAST2.Unicast2Header createSendFirstSeqnoHeader(long seqno_received)
public long getSeqno()
public static String type2Str(byte t)
public final int size()
Headerpublic UNICAST2.Unicast2Header copy()
public void writeTo(DataOutputStream out) throws IOException
StreamableIOExceptionpublic void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
StreamableCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.