|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhkl.zw.mkup.rattrap.localizer.tools.ChartData
public class ChartData
ChartData is a utility class created so we don't have to send 4 different arrays to the GUI for graphing. It is used like a C/C++ structure. It has publicly accessable arrays for avg delay times, packet loss, host names, and IP addresses. It also stores the actually output for the traceroute program.
Field Summary | |
---|---|
java.lang.String |
address
|
int[] |
avg
|
int |
hops
|
java.lang.String[] |
hostName
|
java.lang.String[] |
IPNum
|
int[] |
packetLoss
|
boolean |
pingData
|
long |
time
|
java.util.Vector |
trace_out
|
Method Summary | |
---|---|
java.lang.String |
getAddress()
Returns the address (host name) to which the data stored in theis object belongs. |
int |
getLength()
R eturns the length of the internal parallel arrays. |
long |
getTime()
Returns the time of in milliseconds (since Jan 1970) when the data in the object was created. |
void |
setAddress(java.lang.String s)
Sets the address (host name) to which the data stored in this object belongs. |
void |
setTime(long t)
Sets the time of in milliseconds (since Jan 1970) when the data in the object was created. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String address
public int[] avg
public java.lang.String[] hostName
public java.lang.String[] IPNum
public int[] packetLoss
public int hops
public java.util.Vector trace_out
public boolean pingData
public long time
Method Detail |
---|
public int getLength()
public void setAddress(java.lang.String s)
public java.lang.String getAddress()
public void setTime(long t)
public long getTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |