|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--concast.base.UDPHeader
Class to take UDP header from the incoming packet and put it back on the outgoing packets
Field Summary | |
static int |
FIXED_SIZE
Size of the header |
Constructor Summary | |
UDPHeader()
|
Method Summary | |
byte[] |
getUDPHeader()
Returns the UDP header. |
void |
processIncomingUDPDG(byte[] data)
Retrieve the header |
void |
setCheckSum(int value)
Put checksum, otherwise the receivers kernel just throws it off. |
int |
size()
Returns size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FIXED_SIZE
Constructor Detail |
public UDPHeader()
Method Detail |
public void processIncomingUDPDG(byte[] data)
public byte[] getUDPHeader()
public int size()
public void setCheckSum(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |