public class SenderTemplateIPv4 extends SenderTemplate
bytes, classNum, cType, length
Constructor and Description |
---|
SenderTemplateIPv4() |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
0 1 2 3
+-------------+-------------+-------------+-------------+
| Length (bytes) | Class-Num | C-Type |
+-------------+-------------+-------------+-------------+
| |
// (Object contents) //
| |
+-------------+-------------+-------------+-------------+
|
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
public void encode()
encode
in interface RSVPElement
encode
in class SenderTemplate
public void decode(byte[] bytes, int offset)
decode
in class SenderTemplate
Copyright © 2016. All rights reserved.