|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolMessage
|
+--SSF.OS.UDP.UDP_Header
Simplified UDP Header.
| Field Summary | |
int |
DEST_port
destination port number |
int |
length
UDP payload length |
int |
SOURCE_port
source port number |
| Constructor Summary | |
UDP_Header(int src_port,
int dest_port,
int data_length)
Constructors |
|
| Method Summary | |
int |
bytecount()
total number of bytes in this UDP message |
int |
header_bytecount()
number of bytes in the header of this UDP message |
java.lang.String |
toString()
print out the UDP message |
| Methods inherited from class SSF.OS.ProtocolMessage |
carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, payload, previous, size, tobytes, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int DEST_port
public int SOURCE_port
public int length
| Constructor Detail |
public UDP_Header(int src_port,
int dest_port,
int data_length)
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic int header_bytecount()
header_bytecount in class ProtocolMessagepublic int bytecount()
bytecount in class ProtocolMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||