public class TrafficStatInfo
extends java.lang.Object
Constructor and Description |
---|
TrafficStatInfo()
Constructor for default TrafficStatInfo class.
|
TrafficStatInfo(long ethernetBytes,
long discardedBytes,
long ipPackets,
long totalPackets,
long ipBytes,
int avgPktSize,
int uniqueFlows,
long tcpPackets,
long udpPackets,
double dpiThroughputPps,
double dpiThroughputBps,
double trafficThroughputPps,
double trafficThroughputBps,
double trafficDurationSec,
int guessedFlowProtos)
Constructor for TrafficStatInfo class specified with traffic statistic parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
avgPktSize()
Returns DPI traffic average packet size.
|
long |
discardedBytes()
Returns DPI traffic discarded bytes.
|
double |
dpiThroughputBps()
Returns DPI traffic throughput Bps(Byte per second).
|
double |
dpiThroughputPps()
Returns DPI traffic throughput Pps(Packet per second).
|
long |
ethernetBytes()
Returns DPI traffic ethernet bytes.
|
int |
guessedFlowProtos()
Returns DPI traffic the number of guessed flow protocols.
|
long |
ipBytes()
Returns DPI traffic ip bytes.
|
long |
ipPackets()
Returns DPI traffic ip packets.
|
void |
setAvgPktSize(int avgPktSize) |
void |
setDiscardedBytes(long discardedBytes) |
void |
setDpiThroughputBps(double dpiThroughputBps) |
void |
setDpiThroughputPps(double dpiThroughputPps) |
void |
setEthernetBytes(long ethernetBytes) |
void |
setGuessedFlowProtos(int guessedFlowProtos) |
void |
setIpBytes(long ipBytes) |
void |
setIpPackets(long ipPackets) |
void |
setTcpPackets(long tcpPackets) |
void |
setTotalPackets(long totalPackets) |
void |
setTrafficDurationSec(double trafficDurationSec) |
void |
setTrafficThroughputBps(double trafficThroughputBps) |
void |
setTrafficThroughputPps(double trafficThroughputPps) |
void |
setUdpPackets(long udpPackets) |
void |
setUniqueFlows(int uniqueFlows) |
long |
tcpPackets()
Returns DPI traffic TCP packets.
|
java.lang.String |
toString() |
long |
totalPackets()
Returns DPI traffic total packets.
|
double |
trafficDurationSec()
Returns DPI traffic duration second.
|
double |
trafficThroughputBps()
Returns total traffic throughput Bps(Byte per second).
|
double |
trafficThroughputPps()
Returns total traffic throughput Pps(Packet per second).
|
long |
udpPackets()
Returns DPI traffic UDP packets.
|
int |
uniqueFlows()
Returns DPI traffic the number of unique flows.
|
public TrafficStatInfo()
public TrafficStatInfo(long ethernetBytes, long discardedBytes, long ipPackets, long totalPackets, long ipBytes, int avgPktSize, int uniqueFlows, long tcpPackets, long udpPackets, double dpiThroughputPps, double dpiThroughputBps, double trafficThroughputPps, double trafficThroughputBps, double trafficDurationSec, int guessedFlowProtos)
ethernetBytes
- ethernet byte countdiscardedBytes
- discarded byte countipPackets
- IP packet counttotalPackets
- total packet countipBytes
- total IP byte countavgPktSize
- average packet sizeuniqueFlows
- unique flows counttcpPackets
- TCP packet countudpPackets
- UDP packet counttrafficThroughputPps
- traffic throughput PPStrafficThroughputBps
- traffic throughput BPSdpiThroughputPps
- DPI throughput PPSdpiThroughputBps
- DPI throughput BPStrafficDurationSec
- traffic duration in secondsguessedFlowProtos
- guess flow protocolspublic long ethernetBytes()
public long discardedBytes()
public long ipPackets()
public long totalPackets()
public long ipBytes()
public int avgPktSize()
public int uniqueFlows()
public long tcpPackets()
public long udpPackets()
public double dpiThroughputPps()
public double dpiThroughputBps()
public double trafficThroughputPps()
public double trafficThroughputBps()
public double trafficDurationSec()
public int guessedFlowProtos()
public void setEthernetBytes(long ethernetBytes)
public void setDiscardedBytes(long discardedBytes)
public void setIpPackets(long ipPackets)
public void setTotalPackets(long totalPackets)
public void setIpBytes(long ipBytes)
public void setAvgPktSize(int avgPktSize)
public void setUniqueFlows(int uniqueFlows)
public void setTcpPackets(long tcpPackets)
public void setUdpPackets(long udpPackets)
public void setDpiThroughputPps(double dpiThroughputPps)
public void setDpiThroughputBps(double dpiThroughputBps)
public void setTrafficThroughputPps(double trafficThroughputPps)
public void setTrafficThroughputBps(double trafficThroughputBps)
public void setTrafficDurationSec(double trafficDurationSec)
public void setGuessedFlowProtos(int guessedFlowProtos)
public java.lang.String toString()
toString
in class java.lang.Object