public static class UNICAST.UnicastHeader extends Header
| DATA | seqno | conn_id | first | | ACK | seqno | | SEND_FIRST_SEQNO |
Modifier and Type | Field and Description |
---|---|
static byte |
ACK |
static byte |
DATA |
static byte |
SEND_FIRST_SEQNO |
Constructor and Description |
---|
UNICAST.UnicastHeader() |
Modifier and Type | Method and Description |
---|---|
UNICAST.UnicastHeader |
copy() |
static UNICAST.UnicastHeader |
createAckHeader(long seqno) |
static UNICAST.UnicastHeader |
createDataHeader(long seqno,
short conn_id,
boolean first) |
static UNICAST.UnicastHeader |
createSendFirstSeqnoHeader() |
long |
getSeqno() |
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 ACK
public static final byte SEND_FIRST_SEQNO
public static UNICAST.UnicastHeader createDataHeader(long seqno, short conn_id, boolean first)
public static UNICAST.UnicastHeader createAckHeader(long seqno)
public static UNICAST.UnicastHeader createSendFirstSeqnoHeader()
public long getSeqno()
public static String type2Str(byte t)
public final int size()
Header
public UNICAST.UnicastHeader 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.