edu.cmu.emulator.signal
Class LossTrace
java.lang.Object
edu.cmu.emulator.signal.LossTrace
public class LossTrace
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
time
protected double[] time
gain
protected double[] gain
durationMillis
protected long durationMillis
LossTrace
public LossTrace()
getName
public String getName()
getTime
public double[] getTime()
getGain
public double[] getGain()
getDurationMillis
public long getDurationMillis()
parseSubClass
public void parseSubClass(Element lossTraceDef)
-
-21.0
readTrace
public void readTrace(Element traceElement)
throws DeserializationException
- Throws:
DeserializationException
readTraceFile
public static ArrayList readTraceFile(String fileName)
throws IOException
- Throws:
IOException
readTraces
public static ArrayList readTraces(InputStream inStream)
throws IOException
- Throws:
IOException
readLossTraces
public static void readLossTraces(String fileName,
HashMap lossTraces)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.