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(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 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(DataOutputStream out) throws IOException
Streamable
IOException
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
Streamable
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.