public class DATSegment extends Segment
ACK_FLAG, CHK_FLAG, EAK_FLAG, FIN_FLAG, NUL_FLAG, RST_FLAG, RUDP_HEADER_LEN, RUDP_VERSION, SYN_FLAG
Constructor and Description |
---|
DATSegment() |
DATSegment(int seqn,
int ackn,
byte[] b,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
byte[] |
get_data() |
byte[] |
getBytes() |
byte[] |
getData() |
int |
length() |
void |
parseBytes(byte[] buffer,
int off,
int len) |
void |
set_data(byte[] _data) |
java.lang.String |
type() |
public DATSegment()
public DATSegment(int seqn, int ackn, byte[] b, int off, int len)