gov.nist.antd.mpls.mgmt.util
Class TrafficInfo
java.lang.Object
|
+--gov.nist.antd.mpls.mgmt.util.TrafficInfo
- public class TrafficInfo
- extends java.lang.Object
Class TrafficInfo.
This class was developed at the National Institute of Standards and
Technology by employees of the Federal Government and the Towson
University by student in the course of their official duties. Pursuant
to title 17 Section 105 of the United States Code this software is not
subject to copyright protection and is in the public domain.
NIST assumes no responsibility whatsoever for its use by other parties,
and makes no guarantees, expressed or implied, about its quality,
reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING
FROM THE USE OF THIS SOFTWARE.
- Author:
- EunHyuk Lim
, borchert
|
Constructor Summary |
TrafficInfo(java.lang.String id,
double starttime,
int protocolnum,
int clientip,
int serverip,
int serverport)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public java.lang.String ID
clientHostIP
public int clientHostIP
serverHostIP
public int serverHostIP
serverHostPort
public int serverHostPort
protocolNum
public int protocolNum
startTime
public double startTime
delayTime
public double delayTime
PacketCount
public long PacketCount
packetLossCount
public long packetLossCount
AvgDelayTime
public double AvgDelayTime
totalDelayTime
public double totalDelayTime
totalPacketCount
public long totalPacketCount
jitters
public double jitters
receivedBytes
public double receivedBytes
lossBytes
public double lossBytes
TrafficInfo
public TrafficInfo(java.lang.String id,
double starttime,
int protocolnum,
int clientip,
int serverip,
int serverport)
isID
public boolean isID(java.lang.String id)
addInfo
public void addInfo(double recvByte,
double delay,
long packetlosscount,
double packetlossbytes)
resetTrafficInfo
public void resetTrafficInfo(double ctime)
getBandwidth
public double getBandwidth(double ctime)
getReceivedBytes
public double getReceivedBytes()
getDelay
public double getDelay()
getAvgDelay
public double getAvgDelay()
getJitter
public double getJitter()
getPacketLossNumber
public long getPacketLossNumber()
getPacketLossBytes
public double getPacketLossBytes()
getPacketLossRatio
public double getPacketLossRatio()