Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

hsr.ipm.storing
Class AsSequence  view AsSequence download AsSequence.java

java.lang.Object
  extended byhsr.ipm.storing.AsSequence

public class AsSequence
extends java.lang.Object

Structures HopSequences which have same order of Autonomous Systems.

Version:
1.0

Field Summary
private  java.util.ArrayList asLinkRTTs
          List with round trip times between two AS, measures the link in between those ASses.
private  java.util.ArrayList asList
          List contains objects of As to present an AS.
private  float avgRTT
          Average round trip time of all traceroutes within this AsSequence.
private  java.util.ArrayList hopSequences
          List contains all HopSequences belonging to a specific AsSequence.
private  int hopSequencesCount
          Sum of all HopSequences belonging to this AsSequence
private  long id
          Primary key of database
private  float maxRTT
          Maximal round trip time of all traceroutes within this AsSequence.
private  float minRTT
          Minimal round trip time of all traceroutes within this AsSequence.
private  HopSequence preferredHopSequence
          Indicates the preferred HopSequence, thats the HopSequence which is used by the most traces
private  int traceCount
          Sum of all Traces belonging to this AsSequence
 
Constructor Summary
AsSequence()
           
 
Method Summary
 void addHopSequence(HopSequence hopSeq)
          Adds the given HopSequence to the intern List of HopSequences and increments the HopSequence counter.
 java.util.ArrayList getAsLinkRTTs()
           
 java.util.ArrayList getAsList()
           
 float getAvgRTT()
           
 java.util.ArrayList getHopSequences()
           
 int getHopSequencesCount()
           
 long getId()
           
 float getMaxRTT()
           
 float getMinRTT()
           
 HopSequence getPreferredHopSequence()
           
 int getTraceCount()
           
static void main(java.lang.String[] args)
          Test main to test whois parsing.
 void setAsLinkRTTs(java.util.ArrayList list)
           
 void setAsList(java.util.ArrayList list)
           
 void setAvgRTT(float rtt)
           
 void setHopSequences(java.util.ArrayList seq)
           
 void setHopSequencesCount(int value)
           
 void setId(long id)
           
 void setMaxRTT(float rtt)
           
 void setMinRTT(float rtt)
           
 void setPreferredHopSequence(HopSequence in)
           
 void setTraceCount(int in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private long id
Primary key of database


asList

private java.util.ArrayList asList
List contains objects of As to present an AS.


asLinkRTTs

private java.util.ArrayList asLinkRTTs
List with round trip times between two AS, measures the link in between those ASses.


avgRTT

private float avgRTT
Average round trip time of all traceroutes within this AsSequence.


minRTT

private float minRTT
Minimal round trip time of all traceroutes within this AsSequence.


maxRTT

private float maxRTT
Maximal round trip time of all traceroutes within this AsSequence.


hopSequences

private java.util.ArrayList hopSequences
List contains all HopSequences belonging to a specific AsSequence.


hopSequencesCount

private int hopSequencesCount
Sum of all HopSequences belonging to this AsSequence


traceCount

private int traceCount
Sum of all Traces belonging to this AsSequence


preferredHopSequence

private HopSequence preferredHopSequence
Indicates the preferred HopSequence, thats the HopSequence which is used by the most traces

Constructor Detail

AsSequence

public AsSequence()
Method Detail

getId

public long getId()

setId

public void setId(long id)

getAsList

public java.util.ArrayList getAsList()

setAsList

public void setAsList(java.util.ArrayList list)

getAsLinkRTTs

public java.util.ArrayList getAsLinkRTTs()

setAsLinkRTTs

public void setAsLinkRTTs(java.util.ArrayList list)

getAvgRTT

public float getAvgRTT()

setAvgRTT

public void setAvgRTT(float rtt)

getMinRTT

public float getMinRTT()

setMinRTT

public void setMinRTT(float rtt)

getMaxRTT

public float getMaxRTT()

setMaxRTT

public void setMaxRTT(float rtt)

getHopSequences

public java.util.ArrayList getHopSequences()

setHopSequences

public void setHopSequences(java.util.ArrayList seq)

addHopSequence

public void addHopSequence(HopSequence hopSeq)
Adds the given HopSequence to the intern List of HopSequences and increments the HopSequence counter.


getHopSequencesCount

public int getHopSequencesCount()

setHopSequencesCount

public void setHopSequencesCount(int value)

getTraceCount

public int getTraceCount()

setTraceCount

public void setTraceCount(int in)

getPreferredHopSequence

public HopSequence getPreferredHopSequence()

setPreferredHopSequence

public void setPreferredHopSequence(HopSequence in)

main

public static void main(java.lang.String[] args)
Test main to test whois parsing.