|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectisc.sensor.IPSumBean
public class IPSumBean
IP Summary Structure
Field Summary | |
---|---|
java.lang.String |
dstAddr
destination address |
java.lang.Integer |
dstPort
destination port - here for optimization |
java.sql.Timestamp |
firstPacketTime
Time the first packet arrived |
java.util.Vector |
flags
IP flags field |
java.lang.Integer |
ident
IP ident field |
java.sql.Timestamp |
lastPacketTime
Time the last packet arrived |
java.lang.Integer |
maxPktLen
the maximum size of a packet in this flow |
java.lang.Integer |
maxTTL
The maximum TTL in this flow |
java.lang.Long |
numPackets
The number of packets in this flow |
java.lang.String |
packetInterface
the Interface name that recieved this packet |
java.util.Vector |
packetTimes
array listing each packet time offset from the start |
java.lang.String |
protoName
protocol name |
java.lang.String |
sensorName
the sensor that recieved this packt |
java.lang.String |
srcAddr
source address |
java.lang.Integer |
srcPort
source port - here for optimization |
protected int |
tempi
|
java.lang.Long |
totalPktLen
the totol sum of all packet lengths in this flow |
Constructor Summary | |
---|---|
IPSumBean()
Create a new IP summary structure |
|
IPSumBean(IPBean obj)
Create a summary bean from the first IP bean |
Method Summary | |
---|---|
void |
addPacket(IPBean obj)
Add an IPBean to the summary |
java.lang.String |
flagsToString()
Return the string version of the flags |
protected void |
initPacket(IPBean obj)
Initialize a the summary with the first IP bean |
java.lang.String |
packetTimesToString()
Return the string value of the packettime; |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.sql.Timestamp firstPacketTime
public java.sql.Timestamp lastPacketTime
public java.util.Vector packetTimes
public java.lang.String srcAddr
public java.lang.Integer srcPort
public java.lang.String dstAddr
public java.lang.Integer dstPort
public java.lang.Integer maxPktLen
public java.lang.Long totalPktLen
public java.lang.String protoName
public java.lang.Integer ident
public java.util.Vector flags
public java.lang.Integer maxTTL
public java.lang.Long numPackets
public java.lang.String sensorName
public java.lang.String packetInterface
protected int tempi
Constructor Detail |
---|
public IPSumBean()
public IPSumBean(IPBean obj)
obj
- The IPBeanMethod Detail |
---|
protected void initPacket(IPBean obj)
obj
- public void addPacket(IPBean obj)
obj
- The IPBean to be addedpublic java.lang.String packetTimesToString()
public java.lang.String flagsToString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |