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 |
---|
UNICAST2.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(short conn_id,
long low,
long high) |
static UNICAST2.Unicast2Header |
createXmitReqHeader(long low,
long high) |
short |
getConnId() |
long |
getHighSeqno() |
long |
getSeqno() |
byte |
getType() |
boolean |
isFirst() |
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 |
size()
To be implemented by subclasses.
|
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 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(short conn_id, long low, long high)
public static UNICAST2.Unicast2Header createSendFirstSeqnoHeader(long seqno_received)
public byte getType()
public long getSeqno()
public long getHighSeqno()
public short getConnId()
public boolean isFirst()
public static String type2Str(byte t)
public final int size()
Header
public UNICAST2.Unicast2Header copy()
public void writeTo(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.