|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdom.Content
org.jdom.Element
verinec.netsim.loggers.events.EventDetail
verinec.netsim.loggers.events.UDPEvent
verinec.netsim.loggers.events.TCPEvent
public class TCPEvent
Creates a TCP Event which is not related with TCP State change (e.g sending and recieving).
| Field Summary |
|---|
| Fields inherited from class verinec.netsim.loggers.events.EventDetail |
|---|
dHeight, dWidth, dx, dy, endX, endY, label, ownerPCNode, startX, startY |
| Fields inherited from class org.jdom.Element |
|---|
additionalNamespaces, name, namespace |
| Fields inherited from class org.jdom.Content |
|---|
parent |
| Constructor Summary | |
|---|---|
TCPEvent(String type)
Creates a new tcp event element type |
|
TCPEvent(String type,
TCPPacket packet)
Creates a new tcp event element type |
|
| Method Summary | |
|---|---|
String |
getAck()
gets the ackfield of a tcp packet logged in this event |
String |
getAge()
gets the agefield of a tcp packet logged in this event |
String |
getFin()
gets the fin flag of a tcp packet logged in this event |
String |
getPsh()
gets the psh flag of a tcp packet logged in this event |
String |
getRst()
gets the rst flag of a tcp packet logged in this event |
String |
getSeq()
gets the sequnce number of a tcp packet logged in this event |
String |
getSyn()
gets the syn flag of a tcp packet logged in this event |
String |
getUrg()
gets the urg flag of a tcp packet logged in this event |
String |
getValid()
gets the validity property of a tcp packet logged in this event |
String |
getWindowsize()
gets the window size field of a tcp packet logged in this event |
void |
setAck(int ack)
logs the ackfield of a tcp packet |
void |
setAge(int age)
logs the agefield of a tcp packet |
void |
setFin(boolean fin)
logs the fin flag of a tcp packet |
void |
setPsh(boolean psh)
logs the psh flag of a tcp packet |
void |
setRst(boolean rst)
logs the rst flag of a tcp packet |
void |
setSeq(int seq)
logs the sequence number field of a tcp packet |
void |
setSyn(boolean syn)
logs the syn flag of a tcp packet |
void |
setUrg(boolean urg)
logs the urg flag of a tcp packet |
void |
setValid(boolean valid)
logs the validity property of a tcp packet |
void |
setWindowsize(int windowsize)
logs the window size field of a tcp packet |
| Methods inherited from class verinec.netsim.loggers.events.UDPEvent |
|---|
createSimEvent, getDstAddress, getDstPort, getSrcAddress, getSrcPort, initializeLabel, setDstPort, setSrcPort, subanimate |
| Methods inherited from class verinec.netsim.loggers.events.EventDetail |
|---|
animate, getType, initAnimation, isAnimationInitialized, setType, toString |
| Methods inherited from class org.jdom.Content |
|---|
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jdom.Parent |
|---|
getDocument, getParent |
| Constructor Detail |
|---|
public TCPEvent(String type,
TCPPacket packet)
type - a type the event type (e.g send or receive)packet - a packet related to this event. this can be a sent or received packetpublic TCPEvent(String type)
type - a type the event type (e.g send or receive)| Method Detail |
|---|
public void setAck(int ack)
ack - the ackfield of a tcp packet logged in this eventpublic String getAck()
public void setAge(int age)
age - the ackfield of a tcp packet logged in this eventpublic String getAge()
public void setWindowsize(int windowsize)
windowsize - the window size of a tcp packet logged in this eventpublic String getWindowsize()
public void setSeq(int seq)
seq - the sequnce number of a tcp packet logged in this eventpublic String getSeq()
public void setFin(boolean fin)
fin - the fin flag of a tcp packet logged in this eventpublic String getFin()
public void setPsh(boolean psh)
psh - the psh flag of a tcp packet logged in this eventpublic String getPsh()
public void setRst(boolean rst)
rst - the rst flag of a tcp packet logged in this eventpublic String getRst()
public void setUrg(boolean urg)
urg - the urg flag of a tcp packet logged in this eventpublic String getUrg()
public void setSyn(boolean syn)
syn - the syn flag of a tcp packet logged in this eventpublic String getSyn()
public void setValid(boolean valid)
valid - the validity property of a tcp packet logged in this eventpublic String getValid()
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||