|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.Packet
simnet.TCP_Packet
A packet for the TCP protocol.
| Field Summary | |
int |
ack
Acknowledgement number |
boolean |
ACK
ACK flag |
java.lang.Object |
data
Data |
int |
dest_port
Destination port |
boolean |
FIN
FIN flag |
boolean |
RST
RST flag |
int |
seq
Sequence number |
int |
src_port
Source port |
boolean |
SYN
SYN flag |
| Fields inherited from class simnet.Packet |
cached_size, id |
| Constructor Summary | |
TCP_Packet()
|
|
| Method Summary | |
java.lang.Object |
clone()
Return a copy of this packet. |
boolean |
isAck()
|
boolean |
isFin()
|
boolean |
isRst()
|
boolean |
isSyn()
|
boolean |
isSynAck()
|
java.lang.String |
toString()
Return a string representation of this object. |
| Methods inherited from class simnet.Packet |
getSize |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int src_port
public int dest_port
public int seq
public int ack
public boolean SYN
public boolean ACK
public boolean FIN
public boolean RST
public java.lang.Object data
| Constructor Detail |
public TCP_Packet()
| Method Detail |
public boolean isSyn()
public boolean isSynAck()
public boolean isRst()
public boolean isAck()
public boolean isFin()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||